forked from webbukkit/dynmap
-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up Dynamic Map with IIS
lologarithm edited this page Feb 1, 2011
·
15 revisions
This page assumes your root directory of your webserver is found at C:\Inetpub\wwwroot\
. Also, it is required to have Minecraft and your webserver running on the same machine.
- To start, create the directory
C:\Inetpub\wwwroot\dynmap\
. - Create the directory
C:\Inetpub\wwwroot\dynmap\tiles\
. - Copy the contents of the
web
directory found in the repository toC:\Inetpub\wwwroot\dynmap\
.
You should now have the following file: C:\Inetpub\wwwroot\dynmap\up.aspx
.
- Go to
minecraft_server/plugins/dynmap/configuration.txt
and make sure you have the propertytilepath
set toC:\Inetpub\wwwroot\dynmap\tiles\
:
# The path where the tile-files are placed.
tilepath: C:\Inetpub\wwwroot\dynmap\tile
- Restart your Minecraft server.
- Join your Minecraft server and place a few blocks (randomly) to trigger dynmap to generate tiles for your map.
If everything went alright, you should now find some new .png
files in C:\Inetpub\wwwroot\dynmap\tiles\
. You can also go to http://yourwebserver/dynmap/ in your browser. It should display the map, but also display an error not being able to update (player locations and map changes).
Open up C:\Inetpub\wwwroot\dynmap\config.js
in Notepad and change the following line:
updateUrl: 'up/',
To:
updateUrl: 'up.aspx?path=',
Now refresh your browser. It should now display online players on http://mywebserver/dynmap/, keeping them up-to-date.