Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Setting up without the Internal Web Server
This page assumes
- You are reasonably experienced with the standalone web server you are using.
- You have the standalone web server and CraftBukkit running on the same machine.
- Your Web Server supports PHP. (Only needed for web-to-Minecraft chat)
- If you are on Linux, you should know how to use the terminal and
Change the following:
- class: org.dynmap.InternalClientUpdateComponent sendhealth: true allowwebchat: true webchat-interval: 5 #- class: org.dynmap.JsonFileClientUpdateComponent # writeinterval: 1 # sendhealth: true # allowwebchat: false
#- class: org.dynmap.InternalClientUpdateComponent # sendhealth: true # allowwebchat: true # webchat-interval: 5 - class: org.dynmap.JsonFileClientUpdateComponent writeinterval: 1 sendhealth: true allowwebchat: false
To disable the internal updating mechanism and enable the json-file updating mechanism. This will write to the file
standalone/dynmap_world.json in your web-path at an interval that is specified with
Copy your files in
plugins/dynmap/web to a directory of your webserver. Change configuration.txt so that it points with both
webpath to the paths where you placed the web-files.
# The path where the tile-files are placed. tilespath: /path/to/web/server/dynmap/web/tiles # The path where the web-files are located. webpath: /path/to/web/server/dynmap/web
Or for Windows
# The path where the tile-files are placed. tilespath: c:\\path\\to\\web\\server\\dynmap\\web\\tiles # The path where the web-files are located. webpath: c:\\path\\to\\web\\server\\dynmap\\web
Now restart your Minecraft server. Join your Minecraft server and place a few blocks (randomly) to trigger dynmap to generate tiles for your map.
You can also type
dynmap fullrender worldname in your server console to render the whole world with the name
Now refresh your browser. It should now display online players on http://mywebserver/dynmap/, keeping them up-to-date.
If you don't see any tiles on the map, check the tiles directory to see whether they get actually generated. If there are no tiles, it is likely that Minecraft does not have rights to write the tiles in the web-path directory your chose. Another possibility is that you have not filled in
If you don't see any players or don't see the players moving, go to http://mywebserver/standalone/dynmap_world.json (where world is the name of your world). You should see some code and hitting refresh every few seconds should change that code (the servertime should be updated). If this file is not there or you don't see the file changing, you likely have filled in the wrong
webpath in the configuration.
In Linux, if web-to-mc-chat does not work, you also need to chmod the 'standalone' folder to 775 or 777:
$ chmod -R 775 standalone
This is to allow
sendmessage.php to create the jsonfile. This is needed because its your Web Server creating the file and not the minecraft server.
If web-to-mc-chat does not work on IIS, you likely need to install PHP.