mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-13 22:05:12 +01:00
251 lines
7.7 KiB
Plaintext
251 lines
7.7 KiB
Plaintext
# All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/
|
|
|
|
components:
|
|
- class: org.dynmap.ClientConfigurationComponent
|
|
|
|
- class: org.dynmap.InternalClientUpdateComponent
|
|
sendhealth: true
|
|
allowwebchat: true
|
|
webchat-interval: 5
|
|
#- class: org.dynmap.JsonFileClientUpdateComponent
|
|
# writeinterval: 1
|
|
# sendhealth: true
|
|
# allowwebchat: false
|
|
|
|
- class: org.dynmap.SimpleWebChatComponent
|
|
allowchat: true
|
|
#- class: org.dynmap.herochat.HeroWebChatComponent
|
|
# # Control which HeroChat channel messages from web are directed to
|
|
# herochatwebchannel: Global
|
|
# # Control which channels are monitored and reported to the web
|
|
# herochatchannels:
|
|
# - Global
|
|
# #- Trade
|
|
# #- Haggle
|
|
|
|
- class: org.dynmap.ClientComponent
|
|
type: chat
|
|
- class: org.dynmap.ClientComponent
|
|
type: chatballoon
|
|
focuschatballoons: false
|
|
- class: org.dynmap.ClientComponent
|
|
type: chatbox
|
|
showplayerfaces: true
|
|
messagettl: 5
|
|
- class: org.dynmap.ClientComponent
|
|
type: playermarkers
|
|
showplayerfaces: true
|
|
showplayerhealth: true
|
|
#- class: org.dynmap.ClientComponent
|
|
# type: digitalclock
|
|
- class: org.dynmap.ClientComponent
|
|
type: timeofdayclock
|
|
showdigitalclock: true
|
|
#showweather: true
|
|
#- class: org.dynmap.regions.RegionsComponent
|
|
# type: regions
|
|
# name: WorldGuard
|
|
# useworldpath: true
|
|
# filename: regions.yml
|
|
# basenode: regions
|
|
# use3dregions: true
|
|
# infowindow: '<div class="infowindow"><span style="font-size:120%;">%regionname% - %priority% (%parent%)</span><br /> Owners <span style="font-weight:bold;">%playerowners% %groupowners%</span><br />Members <span style="font-weight:bold;">%playermembers% %groupmembers%</span><br />Flags<br /><span style="font-weight:bold;">%flags%</span></div>'
|
|
# regionstyle:
|
|
# strokeColor: "#FF0000"
|
|
# strokeOpacity: 0.8
|
|
# strokeWeight: 3
|
|
# fillColor: "#FF0000"
|
|
# fillOpacity: 0.35
|
|
#- class: org.dynmap.TestComponent
|
|
# stuff: "This is some configuration-value"
|
|
|
|
# Treat hiddenplayers.txt as a whitelist for players to be shown on the map? (Default false)
|
|
display-whitelist: false
|
|
|
|
# How often a tile gets rendered (in seconds).
|
|
renderinterval: 1
|
|
|
|
# Do render on main thread - may generate more server load, but safer and fixes broken tiles
|
|
renderonsync: true
|
|
|
|
render-triggers:
|
|
# - chunkloaded
|
|
# - playermove
|
|
# - playerjoin
|
|
- blockplaced
|
|
- blockbreak
|
|
|
|
# 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
|
|
|
|
# Use timesliced fullrender - takes a bit longer, but much more polite for server
|
|
timeslicerender: true
|
|
|
|
# Period between tile renders for timesliced fullrender, in seconds
|
|
timesliceinterval: 0.5
|
|
|
|
# Interval the browser should poll for updates.
|
|
updaterate: 2000
|
|
|
|
showplayerfacesinmenu: true
|
|
|
|
joinmessage: "%playername% joined"
|
|
quitmessage: "%playername% quit"
|
|
spammessage: "You may only chat once every %interval% seconds."
|
|
|
|
defaultzoom: 0
|
|
defaultworld: world
|
|
|
|
# template world - this is used for worlds that exist but aren't defined in the worlds section.
|
|
# Also, it supplies the "maps" section for worlds lacking a maps section, and the "center"
|
|
# for worlds lacking a "center" section.
|
|
templates:
|
|
# Template for normal world
|
|
normal:
|
|
enabled: true
|
|
center:
|
|
x: 0
|
|
y: 64
|
|
z: 0
|
|
maps:
|
|
- class: org.dynmap.flat.FlatMap
|
|
name: flat
|
|
title: "Flat"
|
|
prefix: flat
|
|
colorscheme: default
|
|
- class: org.dynmap.kzedmap.KzedMap
|
|
renderers:
|
|
- class: org.dynmap.kzedmap.DefaultTileRenderer
|
|
name: surface
|
|
title: "Surface"
|
|
prefix: t
|
|
maximumheight: 127
|
|
colorscheme: default
|
|
# Add shadows to world (based on top-down shadows from chunk data)
|
|
# shadowstrength: 1.0
|
|
# Sets the icon to 'images/block_custom.png'
|
|
# icon: custom
|
|
#- class: org.dynmap.kzedmap.HighlightTileRenderer
|
|
# prefix: ht
|
|
# maximumheight: 127
|
|
# colorscheme: default
|
|
# highlight: # For highlighting multiple block-types.
|
|
# - 56 # Highlight diamond-ore
|
|
# - 66 # Highlight minecart track
|
|
# highlight: 56 # For highlighting a single block-type.
|
|
- class: org.dynmap.kzedmap.CaveTileRenderer
|
|
name: cave
|
|
title: "Cave"
|
|
prefix: ct
|
|
maximumheight: 127
|
|
# Nether world template
|
|
nether:
|
|
enabled: true
|
|
center:
|
|
x: 0
|
|
y: 64
|
|
z: 0
|
|
maps:
|
|
- class: org.dynmap.flat.FlatMap
|
|
name: flat
|
|
title: "Flat"
|
|
prefix: flat
|
|
colorscheme: default
|
|
- class: org.dynmap.kzedmap.KzedMap
|
|
renderers:
|
|
- class: org.dynmap.kzedmap.DefaultTileRenderer
|
|
name: nether
|
|
title: "Surface"
|
|
prefix: nt
|
|
maximumheight: 127
|
|
colorscheme: default
|
|
|
|
# The maptypes Dynmap will use to render.
|
|
worlds:
|
|
# Worlds can be handled by templates, based on world type
|
|
# You can override the properties of the template by specifying them in this section
|
|
# for example 'Title: "My Awesome World"'
|
|
#- name: world
|
|
# title: "World"
|
|
# Use 'enabled: false' to disable a certain world.
|
|
# enabled: false
|
|
# Use 'template: mycustomtemplate' to use the properties specified in the template 'mycustomtemplate' to this world. Default it is set to the environment-name (normal or nether).
|
|
# template: mycustomtemplate
|
|
# Rest of comes from template - uncomment to tailor for world specifically
|
|
# center:
|
|
# x: 0
|
|
# y: 64
|
|
# z: 0
|
|
# maps:
|
|
# - class: org.dynmap.flat.FlatMap
|
|
# name: flat
|
|
# title: "Flat"
|
|
# prefix: flat
|
|
# colorscheme: default
|
|
# - class: org.dynmap.kzedmap.KzedMap
|
|
# renderers:
|
|
# - class: org.dynmap.kzedmap.DefaultTileRenderer
|
|
# name: surface
|
|
# title: "Surface"
|
|
# prefix: t
|
|
# maximumheight: 127
|
|
# colorscheme: default
|
|
# # Add shadows to world (based on top-down shadows from chunk data)
|
|
# # shadowstrength: 1.0
|
|
# # Sets the icon to 'images/block_custom.png'
|
|
# # icon: custom
|
|
# #- class: org.dynmap.kzedmap.HighlightTileRenderer
|
|
# # prefix: ht
|
|
# # maximumheight: 127
|
|
# # colorscheme: default
|
|
# # highlight: # For highlighting multiple block-types.
|
|
# # - 56 # Highlight diamond-ore
|
|
# # - 66 # Highlight minecart track
|
|
# # highlight: 56 # For highlighting a single block-type.
|
|
# - class: org.dynmap.kzedmap.CaveTileRenderer
|
|
# name: cave
|
|
# title: "Cave"
|
|
# prefix: ct
|
|
# maximumheight: 127
|
|
#
|
|
# To just label world, and inherit rest from template, just provide name and title
|
|
#- name: world2
|
|
# title: "Second World"
|
|
#
|
|
#- name: nether
|
|
# title: "Nether"
|
|
# center:
|
|
# x: 0
|
|
# y: 64
|
|
# z: 0
|
|
# maps:
|
|
# - class: org.dynmap.flat.FlatMap
|
|
# name: flat
|
|
# title: "Flat"
|
|
# prefix: flat
|
|
# colorscheme: default
|
|
# - class: org.dynmap.kzedmap.KzedMap
|
|
# renderers:
|
|
# - class: org.dynmap.kzedmap.DefaultTileRenderer
|
|
# name: nether
|
|
# title: "Surface"
|
|
# prefix: nt
|
|
# maximumheight: 127
|
|
# colorscheme: default
|
|
|
|
# Enables debugging.
|
|
#debuggers:
|
|
# - class: org.dynmap.debug.LogDebugger
|