mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Created page
Created Setting up the Dynamic Map plugin under Linux (markdown)
parent
a239b44d3c
commit
144450213a
27
Setting-up-the-Dynamic-Map-plugin-under-Linux.md
Normal file
27
Setting-up-the-Dynamic-Map-plugin-under-Linux.md
Normal file
@ -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]
|
Loading…
Reference in New Issue
Block a user