Guest User

Untitled

a guest
Jan 30th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 15.09 KB | None | 0 0
  1. # All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/
  2.  
  3. # All map templates are defined in the templates directory
  4. # The 'classic' FlatMap and KzedMap templates are used, which can be found in normal.txt, nether.txt, and skylands.txt
  5. #  To use these, do not set deftemplatesuffix (make sure deftemplatesuffix is commented, below)
  6. # To use the HDMap very-low-res map templates as world defaults (normal-vlowres, nether-vlowres and skylands-vlowres), set value to vlowres
  7. #   The definitions of these templates are in normal-vlowres.txt, nether-vlowres.txt, and skylands-vlowres.txt
  8. # To use the HDMap low-res map templates as world defaults (normal-lowres, nether-lowres and skylands-lowres), set value to lowres
  9. #   The definitions of these templates are in normal-lowres.txt, nether-lowres.txt, and skylands-lowres.txt
  10. # To use the HDMap hi-res map templates (these can take a VERY long time for initial fullrender), set value to hires
  11. #   The definitions of these templates are in normal-hires.txt, nether-hires.txt, and skylands-hires.txt
  12. deftemplatesuffix: vlowres
  13.  
  14. components:
  15.   - class: org.dynmap.ClientConfigurationComponent
  16.  
  17.   #- class: org.dynmap.InternalClientUpdateComponent
  18.   #  sendhealth: true
  19.   #  sendposition: true
  20.   #  allowwebchat: true
  21.   #  webchat-interval: 5
  22.   #  hidewebchatip: false
  23.   #  trustclientname: false
  24.   #  includehiddenplayers: false
  25.     # (optional) if true, player login IDs will be used for web chat when their IPs match
  26.   #  use-player-login-ip: true
  27.     # (optional) if use-player-login-ip is true, setting this to true will cause chat messages not matching a known player IP to be ignored
  28.   #  require-player-login-ip: false
  29.     # (optional) block player login IDs that are banned from chatting
  30.   #  block-banned-player-chat: true
  31.     # Require login for web-to-server chat (requires login-enabled: true)
  32.   #  webchat-requires-login: false
  33.     # If set to true, users must have dynmap.webchat permission in order to chat
  34.   #  webchat-permissions: false
  35.     # Limit length of single chat messages
  36.   #  chatlengthlimit: 256
  37.   #  # Optional - make players hidden when they are inside/underground/in shadows (#=light level: 0=full shadow,15=sky)
  38.   #  hideifshadow: 4
  39.   #  # Optional - make player hidden when they are under cover (#=sky light level,0=underground,15=open to sky)
  40.   #  hideifundercover: 14
  41.   #  # (Optional) if true, players that are crouching/sneaking will be hidden
  42.   #  hideifsneaking: false
  43.     # If true, player positions/status is protected (login with ID with dynmap.playermarkers.seeall permission required for info other than self)
  44.   #  protected-player-info: false
  45.     # If true, hide players with invisibility potion effects active
  46.   #  hide-if-invisiblity-potion: true
  47.   - class: org.dynmap.JsonFileClientUpdateComponent
  48.     writeinterval: 1
  49.     sendhealth: true
  50.     sendposition: true
  51.     allowwebchat: true
  52.     webchat-interval: 5
  53.     hidewebchatip: false
  54.     includehiddenplayers: false
  55.     use-player-login-ip: false
  56.     require-player-login-ip: false
  57.     block-banned-player-chat: true
  58.   #  hideifshadow: 0
  59.   #  hideifundercover: 0
  60.     hideifsneaking: false
  61.   #  # Require login for web-to-server chat (requires login-enabled: true)
  62.     webchat-requires-login: true
  63.   #  # If set to true, users must have dynmap.webchat permission in order to chat
  64.     webchat-permissions: true
  65.   #  # Limit length of single chat messages
  66.     chatlengthlimit: 256
  67.     hide-if-invisiblity-potion: true
  68.    
  69.   - class: org.dynmap.SimpleWebChatComponent
  70.     allowchat: true
  71.     # If true, web UI users can supply name for chat using 'playername' URL parameter.  'trustclientname' must also be set true.
  72.     allowurlname: false
  73.  
  74.   # Note: this component is needed for the dmarker commands, and for the Marker API to be available to other plugins
  75.   - class: org.dynmap.MarkersComponent
  76.     type: markers
  77.     showlabel: false
  78.     enablesigns: false
  79.     # (optional) add spawn point markers to standard marker layer
  80.     showspawn: true
  81.     spawnicon: world
  82.     spawnlabel: "Spawn"
  83.     # (optional) layer for showing offline player's positions (for 'maxofflinetime' minutes after logoff)
  84.     showofflineplayers: false
  85.     offlinelabel: "Offline"
  86.     offlineicon: offlineuser
  87.     offlinehidebydefault: true
  88.     offlineminzoom: 0
  89.     maxofflinetime: 30
  90.     # (optional) layer for showing player's spawn beds
  91.     showspawnbeds: false
  92.     spawnbedlabel: "Spawn Beds"
  93.     spawnbedicon: bed
  94.     spawnbedhidebydefault: true
  95.     spawnbedminzoom: 0
  96.     spawnbedformat: "%name%'s bed"
  97.    
  98.   - class: org.dynmap.ClientComponent
  99.     type: chat
  100.     allowurlname: false
  101.   - class: org.dynmap.ClientComponent
  102.     type: chatballoon
  103.     focuschatballoons: false
  104.   - class: org.dynmap.ClientComponent
  105.     type: chatbox
  106.     showplayerfaces: true
  107.     messagettl: 5
  108.     # Optional: set number of lines in scrollable message history: if set, messagettl is not used to age out messages
  109.     #scrollback: 100
  110.     # Optiona; set maximum number of lines visible for chatbox
  111.     #visiblelines: 10
  112.     # Optional: send push button
  113.     sendbutton: false
  114.   - class: org.dynmap.ClientComponent
  115.     type: playermarkers
  116.     showplayerfaces: true
  117.     showplayerhealth: true
  118.     # If true, show player body too (only valid if showplayerfaces=true
  119.     showplayerbody: false
  120.     # Option to make player faces small - don't use with showplayerhealth
  121.     smallplayerfaces: false
  122.     # Optional - make player faces layer hidden by default
  123.     hidebydefault: false
  124.     # Optional - ordering priority in layer menu (low goes before high - default is 0)
  125.     layerprio: 0
  126.     # Optional - label for player marker layer (default is 'Players')
  127.     label: "Players"
  128.    
  129.   #- class: org.dynmap.ClientComponent
  130.   #  type: digitalclock
  131.   - class: org.dynmap.ClientComponent
  132.     type: link
  133.    
  134.   - class: org.dynmap.ClientComponent
  135.     type: timeofdayclock
  136.     showdigitalclock: true
  137.     showweather: true
  138.   # Mouse pointer world coordinate display
  139.   - class: org.dynmap.ClientComponent
  140.     type: coord
  141.     label: "Location"
  142.     hidey: false
  143.     show-mcr: false
  144.    
  145.   # Note: more than one logo component can be defined
  146.   #- class: org.dynmap.ClientComponent
  147.   #  type: logo
  148.   #  text: "Dynmap"
  149.   #  #logourl: "images/block_surface.png"
  150.   #  linkurl: "http://forums.bukkit.org/threads/dynmap.489/"
  151.   #  # Valid positions: top-left, top-right, bottom-left, bottom-right
  152.   #  position: bottom-right
  153.  
  154.   #- class: org.dynmap.ClientComponent
  155.   #  type: inactive
  156.   #  timeout: 1800 # in seconds (1800 seconds = 30 minutes)
  157.   #  redirecturl: inactive.html
  158.   #  #showmessage: 'You were inactive for too long.'
  159.  
  160.   #- class: org.dynmap.TestComponent
  161.   #  stuff: "This is some configuration-value"
  162.  
  163. # Treat hiddenplayers.txt as a whitelist for players to be shown on the map? (Default false)
  164. display-whitelist: false
  165.  
  166. # How often a tile gets rendered (in seconds).
  167. renderinterval: 1
  168.  
  169. # How many tiles on update queue before accelerate render interval
  170. renderacceleratethreshold: 60
  171.  
  172. # How often to render tiles when backlog is above renderacceleratethreshold
  173. renderaccelerateinterval: 0.2
  174.  
  175. # How many update tiles to work on at once (if not defined, default is 1/2 the number of cores)
  176. tiles-rendered-at-once: 2
  177.  
  178. # If true, use normal priority threads for rendering (versus low priority) - this can keep rendering
  179. # from starving on busy Windows boxes (Linux JVMs pretty much ignore thread priority), but may result
  180. # in more competition for CPU resources with other processes
  181. usenormalthreadpriority: true
  182.  
  183. # Save and restore pending tile renders - prevents their loss on server shutdown or /reload
  184. saverestorepending: true
  185.  
  186. # Zoom-out tile update period - how often to scan for and process tile updates into zoom-out tiles (in seconds)
  187. zoomoutperiod: 30
  188.  
  189. # Default delay on processing of updated tiles, in seconds.  This can reduce potentially expensive re-rendering
  190. # of frequently updated tiles (such as due to machines, pistons, quarries or other automation).  Values can
  191. # also be set on individual worlds and individual maps.
  192. tileupdatedelay: 30
  193.  
  194. # Tile hashing is used to minimize tile file updates when no changes have occurred - set to false to disable
  195. enabletilehash: true
  196.  
  197. # Optional - hide ores: render as normal stone (so that they aren't revealed by maps)
  198. #hideores: true
  199.  
  200. # Optional - enabled BetterGrass style rendering of grass and snow block sides
  201. #better-grass: true
  202.  
  203. # Optional - enable smooth lighting by default on all maps supporting it (can be set per map as lighting option)
  204. smooth-lighting: false
  205.  
  206. # Default image format for HDMaps (png, jpg, jpg-q75, jpg-q80, jpg-q85, jpg-q90, jpg-q95, jpg-q100)
  207. # Has no effect on maps with explicit format settings
  208. image-format: png
  209.  
  210. #  use-generated-textures: if true, use generated textures (same as client); false is static water/lava textures
  211. #  correct-water-lighting: if true, use corrected water lighting (same as client); false is legacy water (darker)
  212. #  transparent-leaves: if true, leaves are transparent (lighting-wise): false is needed for some Spout versions that break lighting on leaf blocks
  213. use-generated-textures: true
  214. correct-water-lighting: true
  215. transparent-leaves: true
  216.  
  217. # Control loading of player faces (if set to false, skins are never fetched)
  218. #fetchskins: false
  219.  
  220. # Control updating of player faces, once loaded (if faces are being managed by other apps or manually)
  221. #refreshskins: false
  222.  
  223. # Customize URL used for fetching player skins (%player% is macro for name)
  224. skin-url: "http://s3.amazonaws.com/MinecraftSkins/%player%.png"
  225.  
  226. # Control behavior for new (1.0+) compass orientation (sunrise moved 90 degrees: east is now what used to be south)
  227. #   default is 'newrose' (preserve pre-1.0 maps, rotate rose)
  228. #   'newnorth' is used to rotate maps and rose (requires fullrender of any HDMap map - same as 'newrose' for FlatMap or KzedMap)
  229. compass-mode: newnorth
  230.  
  231. render-triggers:
  232.  #- playermove
  233.   #- playerjoin
  234.   - blockplaced
  235.   - blockbreak
  236.   - leavesdecay
  237.   - blockburn
  238.   - chunkgenerated
  239.   - blockformed
  240.   - blockfaded
  241.   - blockspread
  242.   - pistonmoved
  243.   - explosion
  244.   #- blockfromto
  245.   #- blockphysics
  246.   - structuregrow
  247.   - blockgrow
  248.   #- blockredstone
  249.  
  250. # Title for the web page - if not specified, defaults to the server's name (unless it is the default of 'Unknown Server')
  251. #webpage-title: "My Awesome Server Map"
  252.  
  253. # The path where the tile-files are placed.
  254. tilespath: /var/www/dynmap/tiles
  255.  
  256. # The path where the web-files are located.
  257. webpath: /var/www/dynmap
  258.  
  259. # The network-interface the webserver will bind to (0.0.0.0 for all interfaces, 127.0.0.1 for only local access).
  260. webserver-bindaddress: 0.0.0.0
  261.  
  262. # The TCP-port the webserver will listen on.
  263. webserver-port: 8123
  264.  
  265. # Maximum concurrent session on internal web server - limits resources used in Bukkit server
  266. max-sessions: 30
  267.  
  268. # Disables Webserver portion of Dynmap (Advanced users only)
  269. disable-webserver: false
  270.  
  271. # Enable/disable having the web server allow symbolic links (true=compatible with existing code, false=more secure (default))
  272. allow-symlinks: true
  273.  
  274. # Enable login support
  275. login-enabled: false
  276. # Require login to access website (requires login-enabled: true)
  277. login-required: false
  278.  
  279. # Period between tile renders for fullrender, in seconds (non-zero to pace fullrenders, lessen CPU load)
  280. timesliceinterval: 0.0
  281.  
  282. # Maximum chunk loads per server tick (1/20th of a second) - reducing this below 90 will impact render performance, but also will reduce server thread load
  283. maxchunkspertick: 200
  284.  
  285. # Progress report interval for fullrender/radiusrender, in tiles.  Must be 100 or greater
  286. progressloginterval: 100
  287.  
  288. # Parallel fullrender: if defined, number of concurrent threads used for fullrender or radiusrender
  289. #   Note: setting this will result in much more intensive CPU use, some additional memory use.  Caution should be used when
  290. #  setting this to equal or exceed the number of physical cores on the system.
  291. #parallelrendercnt: 4
  292.  
  293. # Interval the browser should poll for updates.
  294. updaterate: 2000
  295.  
  296. # If nonzero, server will pause fullrender/radiusrender processing when 'fullrenderplayerlimit' or more user's are logged in
  297. fullrenderplayerlimit: 0
  298.  
  299. showplayerfacesinmenu: true
  300.  
  301. # Control whether players that are hidden or not on current map are grayed out (true=yes)
  302. grayplayerswhenhidden: true
  303.  
  304. # Set sidebaropened: 'true' to pin menu sidebar opened permanently, 'pinned' to default the sidebar to pinned, but allow it to unpin
  305. #sidebaropened: true
  306.  
  307. # Customized HTTP response headers - add 'id: value' pairs to all HTTP response headers (internal web server only)
  308. #http-response-headers:
  309. #    Access-Control-Allow-Origin: "my-domain.com"
  310. #    X-Custom-Header-Of-Mine: "MyHeaderValue"
  311.  
  312. # Trusted proxies for web server - which proxy addresses are trusted to supply valid X-Forwarded-For fields
  313. trusted-proxies:
  314.  - "127.0.0.1"
  315.   - "0:0:0:0:0:0:0:1"
  316.  
  317. joinmessage: "%playername% joined"
  318. quitmessage: "%playername% quit"
  319. spammessage: "You may only chat once every %interval% seconds."
  320. # format for messages from web: %playername% substitutes sender ID (typically IP), %message% includes text
  321. webmsgformat: "&color;2[WEB] %playername%: &color;f%message%"
  322.  
  323. # Control whether layer control is presented on the UI (default is true)
  324. showlayercontrol: true
  325.  
  326. # Enable checking for banned IPs via banned-ips.txt (internal web server only)
  327. check-banned-ips: true
  328.  
  329. # Default selection when map page is loaded
  330. defaultzoom: 0
  331. defaultworld: world
  332. defaultmap: flat
  333. # (optional) Zoom level and map to switch to when following a player, if possible
  334. #followzoom: 3
  335. #followmap: surface
  336.  
  337. # If true, make persistent record of IP addresses used by player logins, to support web IP to player matching
  338. persist-ids-by-ip: true
  339.  
  340. # If true, map text to cyrillic
  341. cyrillic-support: false
  342.  
  343. # Messages to customize
  344. msg:
  345.     maptypes: "Map Types"
  346.     players: "Players"
  347.     chatrequireslogin: "Chat Requires Login"
  348.     chatnotallowed: "You are not permitted to send chat messages"
  349.  
  350. # URL for client configuration (only need to be tailored for proxies or other non-standard configurations)
  351. url:
  352.    # configuration URL
  353.     #configuration: "up/configuration"
  354.     # update URL
  355.     #update: "up/world/{world}/{timestamp}"
  356.     # sendmessage URL
  357.     #sendmessage: "up/sendmessage"
  358.     # login URL
  359.     #login: "up/login"
  360.     # register URL
  361.     #register: "up/register"
  362.     # tiles base URL
  363.     #tiles: "tiles/"
  364.     # markers base URL
  365.     #markers: "tiles/"
  366.    
  367. # Spout support controls
  368. spout:
  369.    # If false, ignore spout even if detected
  370.     enabled: true
  371.     # If true, previously loaded textures will be assumed to still be valid (faster startup, but
  372.     # can result in stale textures if originals are updated - delete files in texturepacks/standard/spoout
  373.     # to clean cached textures and force reload on next startup)
  374.     use-existing-textures: true
  375.    
  376. # Set to true to enable verbose startup messages - can help with debugging map configuration problems
  377. # Set to false for a much quieter startup log
  378. verbose: false
  379.  
  380. # Enables debugging.
  381. #debuggers:
  382. #  - class: org.dynmap.debug.LogDebugger
Advertisement
Add Comment
Please, Sign In to add comment