mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 11:46:40 +01:00
Add info about disabling the internal webserver, add a little structure using headers
parent
03fa8f048f
commit
ae59a06191
@ -5,47 +5,71 @@ This page assumes
|
||||
* 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 `chmod`.
|
||||
|
||||
#### Disable the internal updating machanism
|
||||
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 `writeinterval`.
|
||||
Change the following:
|
||||
|
||||
- class: org.dynmap.InternalClientUpdateComponent
|
||||
sendhealth: true
|
||||
allowwebchat: true
|
||||
webchat-interval: 5
|
||||
#- class: org.dynmap.JsonFileClientUpdateComponent
|
||||
# writeinterval: 1
|
||||
# sendhealth: true
|
||||
# allowwebchat: false
|
||||
```yaml
|
||||
- class: org.dynmap.InternalClientUpdateComponent
|
||||
sendhealth: true
|
||||
allowwebchat: true
|
||||
webchat-interval: 5
|
||||
#- class: org.dynmap.JsonFileClientUpdateComponent
|
||||
# writeinterval: 1
|
||||
# sendhealth: true
|
||||
# allowwebchat: false
|
||||
```
|
||||
|
||||
To:
|
||||
```yaml
|
||||
#- class: org.dynmap.InternalClientUpdateComponent
|
||||
# sendhealth: true
|
||||
# allowwebchat: true
|
||||
# webchat-interval: 5
|
||||
- class: org.dynmap.JsonFileClientUpdateComponent
|
||||
writeinterval: 1
|
||||
sendhealth: true
|
||||
allowwebchat: false
|
||||
```
|
||||
|
||||
#### Disable the internal webserver
|
||||
|
||||
To disable the internal webserver change the following.
|
||||
|
||||
```yaml
|
||||
# Disables Webserver portion of Dynmap (Advanced users only)
|
||||
disable-webserver: false
|
||||
```
|
||||
|
||||
To:
|
||||
|
||||
#- class: org.dynmap.InternalClientUpdateComponent
|
||||
# sendhealth: true
|
||||
# allowwebchat: true
|
||||
# webchat-interval: 5
|
||||
- class: org.dynmap.JsonFileClientUpdateComponent
|
||||
writeinterval: 1
|
||||
sendhealth: true
|
||||
allowwebchat: false
|
||||
```yaml
|
||||
# Disables Webserver portion of Dynmap (Advanced users only)
|
||||
disable-webserver: true
|
||||
```
|
||||
|
||||
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 `writeinterval`.
|
||||
#### Copying files to your webserver and change paths
|
||||
|
||||
Copy your files in `plugins/dynmap/web` to a directory of your webserver. Change configuration.txt so that it points with both `tilespath` and `webpath` to the paths where you placed the web-files.
|
||||
For *nix
|
||||
|
||||
# The path where the tile-files are placed.
|
||||
tilespath: /path/to/web/server/dynmap/web/tiles
|
||||
```yaml
|
||||
# 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
|
||||
# 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
|
||||
```yaml
|
||||
# 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
|
||||
# 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 `worldname`.
|
||||
|
Loading…
Reference in New Issue
Block a user