From 144450213a3c48b1ab71af1b29aeef0f76d6592d Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Fri, 31 Dec 2010 17:43:18 -0800 Subject: [PATCH] Created page Created Setting up the Dynamic Map plugin under Linux (markdown) --- ...g-up-the-Dynamic-Map-plugin-under-Linux.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Setting-up-the-Dynamic-Map-plugin-under-Linux.md diff --git a/Setting-up-the-Dynamic-Map-plugin-under-Linux.md b/Setting-up-the-Dynamic-Map-plugin-under-Linux.md new file mode 100644 index 0000000..5b82a0a --- /dev/null +++ b/Setting-up-the-Dynamic-Map-plugin-under-Linux.md @@ -0,0 +1,27 @@ +This page assumes your root directory of your webserver is found at `/srv/http/`. + +* To start, create the directory `/srv/http/dynmap/`. +* Copy the contents of the `web` directory found in the repository to `/srv/http/dynmap/`. + +You should now have the following directories: `/srv/http/dynmap/tiles/` and `/srv/http/dynmap/up/`. + +* Go to `server.properties` in your Minecraft-directory and make sure you have the property `map-tilepath` set to `/srv/http/dynmap/tiles/`: + +```cfg +map-tilepath=/srv/http/dynmap/tiles/ +map-colorsetpath=colors.txt +map-signspath=signs.txt +map-serverport=8123 +map-showmarkers=all +map-portraitgeneration=0 +``` + +* Make sure your Minecraft server has write permissions in `/srv/http/dynmap/tiles/`. If you're finding problems with this, you can use `sudo chmod a+rwx /srv/http/dynmap/tiles` to make sure Minecraft (among others) can write there. +* 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 `/srv/http/dynmap/tiles/`. You can also go to *http://mywebserver/dynmap/* in your browser. It should display the map, but also display an error not being able to update (player locations and map changes). + +To fix this, we need to configure the webserver: +[Setting up Dynamic Map with lighttpd under Linux] +[Setting up Dynamic Map with httpd under Linux] \ No newline at end of file