New web config to handle for jsonfile method Modified webclient to handle timestamps to prevent duplication. Removed duplicate code in JsonTimerTask.java
76 lines
1.9 KiB
Text
Executable file
76 lines
1.9 KiB
Text
Executable file
# All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/
|
|
|
|
# How often a tile gets rendered (in seconds).
|
|
renderinterval: 1
|
|
|
|
# The path where the tile-files are placed.
|
|
tilespath: web/tiles
|
|
|
|
# The path where the web-files are located.
|
|
webpath: web
|
|
|
|
# The network-interface the webserver will bind to (0.0.0.0 for all interfaces, 127.0.0.1 for only local access).
|
|
webserver-bindaddress: 0.0.0.0
|
|
|
|
# The TCP-port the webserver will listen on.
|
|
webserver-port: 8123
|
|
|
|
# Disables Webserver portion of Dynmap (Advanced users only)
|
|
disable-webserver: false
|
|
|
|
# Writes JSON to file in the webpath
|
|
jsonfile: false
|
|
|
|
# How often the json file gets written to(in seconds)
|
|
jsonfile-interval: 1000
|
|
|
|
disabledcommands:
|
|
- fullrender
|
|
|
|
# The maptypes Dynmap will use to render.
|
|
maps:
|
|
- class: org.dynmap.kzedmap.KzedMap
|
|
renderers:
|
|
- class: org.dynmap.kzedmap.DefaultTileRenderer
|
|
prefix: t
|
|
maximumheight: 127
|
|
- class: org.dynmap.kzedmap.CaveTileRenderer
|
|
prefix: ct
|
|
maximumheight: 127
|
|
|
|
web:
|
|
# Interval the browser should poll for updates.
|
|
updaterate: 2000
|
|
|
|
# Handles the clientside updates differently only enable if using jsonfile
|
|
jsonfile: false
|
|
|
|
showchatballoons: true
|
|
showplayerfacesonmap: true
|
|
showplayerfacesinmenu: true
|
|
focuschatballoons: false
|
|
|
|
# The clock that is shown alongside the map.
|
|
clock: timeofday
|
|
#clock: digital
|
|
|
|
# The name of the map shown when opening Dynmap's page (must be in menu).
|
|
defaultmap: defaultmap
|
|
|
|
# The maps shown in the menu.
|
|
shownmaps:
|
|
- type: KzedMapType
|
|
name: defaultmap
|
|
prefix: t
|
|
- type: KzedMapType
|
|
name: cavemap
|
|
prefix: ct
|
|
|
|
# The name of the world shown when opening Dynmap's page.
|
|
defaultworld: world
|
|
|
|
# The worlds shown in the menu.
|
|
shownworlds:
|
|
- world
|
|
- nether
|
|
- world_bad
|