Advertisement
mafaeste

dynmap config

Jul 26th, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.58 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. # To use the HDMap very-low-res (2 ppb) map templates as world defaults, set value to vlowres
  5. # The definitions of these templates are in normal-vlowres.txt, nether-vlowres.txt, and the_end-vlowres.txt
  6. # To use the HDMap low-res (4 ppb) map templates as world defaults, set value to lowres
  7. # The definitions of these templates are in normal-lowres.txt, nether-lowres.txt, and the_end-lowres.txt
  8. # To use the HDMap hi-res (16 ppb) map templates (these can take a VERY long time for initial fullrender), set value to hires
  9. # The definitions of these templates are in normal-hires.txt, nether-hires.txt, and the_end-hires.txt
  10. # To use the HDMap low-res (4 ppb) map templates, with support for boosting resolution selectively to hi-res (16 ppb), set value to low_boost_hi
  11. # The definitions of these templates are in normal-low_boost_hi.txt, nether-low_boost_hi.txt, and the_end-low_boost_hi.txt
  12. # To use the HDMap hi-res (16 ppb) map templates, with support for boosting resolution selectively to vhi-res (32 ppb), set value to hi_boost_vhi
  13. # The definitions of these templates are in normal-hi_boost_vhi.txt, nether-hi_boost_vhi.txt, and the_end-hi_boost_vhi.txt
  14. # To use the HDMap hi-res (16 ppb) map templates, with support for boosting resolution selectively to xhi-res (64 ppb), set value to hi_boost_xhi
  15. # The definitions of these templates are in normal-hi_boost_xhi.txt, nether-hi_boost_xhi.txt, and the_end-hi_boost_xhi.txt
  16. deftemplatesuffix: hi_boost_xhi
  17.  
  18. # Map storage scheme: only uncommoent one 'type' value
  19. # filetree: classic and default scheme: tree of files, with all map data under the directory indicated by 'tilespath' setting
  20. # sqlite: single SQLite database file (this can get VERY BIG), located at 'dbfile' setting (default is file dynmap.db in data directory)
  21. # mysql: MySQL database, at hostname:port in database, accessed via userid with password
  22. storage:
  23. # Filetree storage (standard tree of image files for maps)
  24. type: filetree
  25. # SQLite db for map storage (uses dbfile as storage location)
  26. #type: sqlite
  27. #dbfile: dynmap.db
  28. # MySQL DB for map storage (at 'hostname':'port' in database 'database' using user 'userid' and password 'password'
  29. #type: mysql
  30. #hostname: localhost
  31. #port: 3306
  32. #database: dynmap
  33. #userid: dynmap
  34. #password: dynmap
  35.  
  36. components:
  37. - class: org.dynmap.ClientConfigurationComponent
  38.  
  39. #- class: org.dynmap.InternalClientUpdateComponent
  40. # sendhealth: true
  41. # sendposition: true
  42. # allowwebchat: true
  43. # webchat-interval: 5
  44. # hidewebchatip: false
  45. # trustclientname: false
  46. # includehiddenplayers: false
  47. # (optional) if true, color codes in player display names are used
  48. # use-name-colors: false
  49. # (optional) if true, player login IDs will be used for web chat when their IPs match
  50. use-player-login-ip: true
  51. # (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
  52. require-player-login-ip: false
  53. # (optional) block player login IDs that are banned from chatting
  54. block-banned-player-chat: true
  55. # Require login for web-to-server chat (requires login-enabled: true)
  56. webchat-requires-login: false
  57. # If set to true, users must have dynmap.webchat permission in order to chat
  58. webchat-permissions: false
  59. # Limit length of single chat messages
  60. chatlengthlimit: 256
  61. # # Optional - make players hidden when they are inside/underground/in shadows (#=light level: 0=full shadow,15=sky)
  62. # hideifshadow: 4
  63. # # Optional - make player hidden when they are under cover (#=sky light level,0=underground,15=open to sky)
  64. # hideifundercover: 14
  65. # # (Optional) if true, players that are crouching/sneaking will be hidden
  66. hideifsneaking: false
  67. # If true, player positions/status is protected (login with ID with dynmap.playermarkers.seeall permission required for info other than self)
  68. protected-player-info: false
  69. # If true, hide players with invisibility potion effects active
  70. hide-if-invisiblity-potion: true
  71. # If true, player names are not shown on map, chat, list
  72. hidenames: false
  73. - class: org.dynmap.JsonFileClientUpdateComponent
  74. writeinterval: 2
  75. sendhealth: true
  76. sendposition: true
  77. allowwebchat: true
  78. webchat-interval: 3
  79. hidewebchatip: false
  80. includehiddenplayers: true
  81. use-name-colors: true
  82. use-player-login-ip: false
  83. require-player-login-ip: false
  84. block-banned-player-chat: true
  85. # hideifshadow: 0
  86. # hideifundercover: 0
  87. # hideifsneaking: true
  88. # # Require login for web-to-server chat (requires login-enabled: true)
  89. # webchat-requires-login: false
  90. # # If set to true, users must have dynmap.webchat permission in order to chat
  91. webchat-permissions: true
  92. # # Limit length of single chat messages
  93. chatlengthlimit: 256
  94. hide-if-invisiblity-potion: true
  95. # hidenames: false
  96.  
  97. - class: org.dynmap.SimpleWebChatComponent
  98. allowchat: true
  99. # If true, web UI users can supply name for chat using 'playername' URL parameter. 'trustclientname' must also be set true.
  100. allowurlname: false
  101.  
  102. # Note: this component is needed for the dmarker commands, and for the Marker API to be available to other plugins
  103. - class: org.dynmap.MarkersComponent
  104. type: markers
  105. showlabel: true
  106. enablesigns: true
  107. # Default marker set for sign markers
  108. default-sign-set: markers
  109. # (optional) add spawn point markers to standard marker layer
  110. showspawn: true
  111. spawnicon: world
  112. spawnlabel: "Spawn"
  113. # (optional) layer for showing offline player's positions (for 'maxofflinetime' minutes after logoff)
  114. showofflineplayers: false
  115. offlinelabel: "Offline"
  116. offlineicon: offlineuser
  117. offlinehidebydefault: true
  118. offlineminzoom: 0
  119. maxofflinetime: 30
  120. # (optional) layer for showing player's spawn beds
  121. showspawnbeds: false
  122. spawnbedlabel: "Spawn Beds"
  123. spawnbedicon: bed
  124. spawnbedhidebydefault: true
  125. spawnbedminzoom: 0
  126. spawnbedformat: "%name%'s bed"
  127.  
  128. - class: org.dynmap.ClientComponent
  129. type: chat
  130. allowurlname: false
  131. #- class: org.dynmap.ClientComponent
  132. # type: chatballoon
  133. # focuschatballoons: false
  134. - class: org.dynmap.ClientComponent
  135. type: chatbox
  136. showplayerfaces: true
  137. messagettl: 5
  138. # Optional: set number of lines in scrollable message history: if set, messagettl is not used to age out messages
  139. scrollback: 100
  140. # Optiona; set maximum number of lines visible for chatbox
  141. visiblelines: 15
  142. # Optional: send push button
  143. sendbutton: false
  144. - class: org.dynmap.ClientComponent
  145. type: playermarkers
  146. showplayerfaces: true
  147. showplayerhealth: true
  148. # If true, show player body too (only valid if showplayerfaces=true
  149. showplayerbody: false
  150. # Option to make player faces small - don't use with showplayerhealth
  151. smallplayerfaces: false
  152. # Optional - make player faces layer hidden by default
  153. hidebydefault: false
  154. # Optional - ordering priority in layer menu (low goes before high - default is 0)
  155. layerprio: 0
  156. # Optional - label for player marker layer (default is 'Players')
  157. label: "Players"
  158.  
  159. #- class: org.dynmap.ClientComponent
  160. # type: digitalclock
  161. - class: org.dynmap.ClientComponent
  162. type: link
  163.  
  164. - class: org.dynmap.ClientComponent
  165. type: timeofdayclock
  166. showdigitalclock: true
  167. showweather: true
  168. # Mouse pointer world coordinate display
  169. - class: org.dynmap.ClientComponent
  170. type: coord
  171. label: "Location"
  172. hidey: false
  173. show-mcr: true
  174.  
  175. # Note: more than one logo component can be defined
  176. - class: org.dynmap.ClientComponent
  177. type: logo
  178. text: "Dynmap"
  179. logourl: "http://mcraft.dk/images/skyworld.jpg"
  180. linkurl: "http://mcraft.dk"
  181. # # Valid positions: top-left, top-right, bottom-left, bottom-right
  182. position: top-right
  183.  
  184. # - class: org.dynmap.ClientComponent
  185. type: inactive
  186. timeout: 1800 # in seconds (1800 seconds = 30 minutes)
  187. redirecturl: inactive.html
  188. # showmessage: 'You were inactive for too long.'
  189.  
  190. # - class: org.dynmap.TestComponent
  191. # stuff: "This is some configuration-value"
  192.  
  193. # Treat hiddenplayers.txt as a whitelist for players to be shown on the map? (Default false)
  194. display-whitelist: false
  195.  
  196. # How often a tile gets rendered (in seconds).
  197. renderinterval: 1
  198.  
  199. # How many tiles on update queue before accelerate render interval
  200. renderacceleratethreshold: 40
  201.  
  202. # How often to render tiles when backlog is above renderacceleratethreshold
  203. renderaccelerateinterval: 0.2
  204.  
  205. # How many update tiles to work on at once (if not defined, default is 1/2 the number of cores)
  206. tiles-rendered-at-once: 16
  207.  
  208. # If true, use normal priority threads for rendering (versus low priority) - this can keep rendering
  209. # from starving on busy Windows boxes (Linux JVMs pretty much ignore thread priority), but may result
  210. # in more competition for CPU resources with other processes
  211. usenormalthreadpriority: true
  212.  
  213. # Save and restore pending tile renders - prevents their loss on server shutdown or /reload
  214. saverestorepending: true
  215.  
  216. # Save period for pending jobs (in seconds): periodic saving for crash recovery of jobs
  217. save-pending-period: 900
  218.  
  219. # Zoom-out tile update period - how often to scan for and process tile updates into zoom-out tiles (in seconds)
  220. zoomoutperiod: 30
  221.  
  222. # Control whether zoom out tiles are validated on startup (can be needed if zoomout processing is interrupted, but can be expensive on large maps)
  223. initial-zoomout-validate: true
  224.  
  225. # Default delay on processing of updated tiles, in seconds. This can reduce potentially expensive re-rendering
  226. # of frequently updated tiles (such as due to machines, pistons, quarries or other automation). Values can
  227. # also be set on individual worlds and individual maps.
  228. tileupdatedelay: 10
  229.  
  230. # Tile hashing is used to minimize tile file updates when no changes have occurred - set to false to disable
  231. enabletilehash: true
  232.  
  233. # Optional - hide ores: render as normal stone (so that they aren't revealed by maps)
  234. hideores: true
  235.  
  236. # Optional - enabled BetterGrass style rendering of grass and snow block sides
  237. better-grass: true
  238.  
  239. # Optional - enable smooth lighting by default on all maps supporting it (can be set per map as lighting option)
  240. smooth-lighting: true
  241.  
  242. # Optional - use world provider lighting table (good for custom worlds with custom lighting curves, like nether)
  243. # false=classic Dynmap lighting curve
  244. use-brightness-table: true
  245.  
  246. # Optional - render specific block IDs using the texures and models of another block ID: can be used to hide/disguise specific
  247. # blocks (e.g. make ores look like stone, hide chests) or to provide simple support for rendering unsupported custom blocks
  248. block-id-alias:
  249. # "14": 1
  250. # "15": 1
  251. # "16": 1
  252.  
  253. # Default image format for HDMaps (png, jpg, jpg-q75, jpg-q80, jpg-q85, jpg-q90, jpg-q95, jpg-q100)
  254. # Has no effect on maps with explicit format settings
  255. image-format: jpg-q90
  256.  
  257. # use-generated-textures: if true, use generated textures (same as client); false is static water/lava textures
  258. # correct-water-lighting: if true, use corrected water lighting (same as client); false is legacy water (darker)
  259. # transparent-leaves: if true, leaves are transparent (lighting-wise): false is needed for some Spout versions that break lighting on leaf blocks
  260. use-generated-textures: true
  261. correct-water-lighting: true
  262. transparent-leaves: true
  263.  
  264. # ctm-support: if true, Connected Texture Mod (CTM) in texture packs is enabled (default)
  265. ctm-support: true
  266. # custom-colors-support: if true, Custom Colors in texture packs is enabled (default)
  267. custom-colors-support: true
  268.  
  269. # Control loading of player faces (if set to false, skins are never fetched)
  270. fetchskins: true
  271.  
  272. # Control updating of player faces, once loaded (if faces are being managed by other apps or manually)
  273. refreshskins: true
  274.  
  275. # Customize URL used for fetching player skins (%player% is macro for name)
  276. #skin-url: "http://s3.amazonaws.com/MinecraftSkins/%player%.png"
  277. skin-url: "http://map.mcraft.dk/web/tiles/faces/body/%player%.png"
  278.  
  279. # Control behavior for new (1.0+) compass orientation (sunrise moved 90 degrees: east is now what used to be south)
  280. # default is 'newrose' (preserve pre-1.0 maps, rotate rose)
  281. # 'newnorth' is used to rotate maps and rose (requires fullrender of any HDMap map - same as 'newrose' for FlatMap or KzedMap)
  282. compass-mode: newnorth
  283.  
  284. render-triggers:
  285. - playermove
  286. - playerjoin
  287. - blockplaced
  288. - blockbreak
  289. #- leavesdecay
  290. #- blockburn
  291. #- chunkgenerated
  292. #- blockformed
  293. #- blockfaded
  294. #- blockspread
  295. #- pistonmoved
  296. #- explosion
  297. #- blockfromto
  298. #- blockphysics
  299. - structuregrow
  300. - blockgrow
  301. #- blockredstone
  302.  
  303. # Title for the web page - if not specified, defaults to the server's name (unless it is the default of 'Unknown Server')
  304. webpage-title: "Mcraft.dk Verdenskort"
  305.  
  306. # The path where the tile-files are placed.
  307. tilespath: H:/public_html/webkort/web/tiles
  308.  
  309. # The path where the web-files are located.
  310. webpath: H:/public_html/webkort/web
  311.  
  312. # The path were the /dynmapexp command exports OBJ ZIP files
  313. exportpath: export
  314.  
  315. # The network-interface the webserver will bind to (0.0.0.0 for all interfaces, 127.0.0.1 for only local access).
  316. # If not set, uses same setting as server in server.properties (or 0.0.0.0 if not specified)
  317. #webserver-bindaddress: 0.0.0.0
  318.  
  319. # The TCP-port the webserver will listen on.
  320. webserver-port: 8123
  321.  
  322. # Maximum concurrent session on internal web server - limits resources used in Bukkit server
  323. max-sessions: 30
  324.  
  325. # Disables Webserver portion of Dynmap (Advanced users only)
  326. disable-webserver: TRUE
  327.  
  328. # Enable/disable having the web server allow symbolic links (true=compatible with existing code, false=more secure (default))
  329. allow-symlinks: false
  330.  
  331. # Enable login support
  332. login-enabled: false
  333. # Require login to access website (requires login-enabled: true)
  334. login-required: false
  335.  
  336. # Period between tile renders for fullrender, in seconds (non-zero to pace fullrenders, lessen CPU load)
  337. timesliceinterval: 0.0
  338.  
  339. # 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
  340. maxchunkspertick: 3000
  341.  
  342. # Progress report interval for fullrender/radiusrender, in tiles. Must be 100 or greater
  343. progressloginterval: 500
  344.  
  345. # Parallel fullrender: if defined, number of concurrent threads used for fullrender or radiusrender
  346. # Note: setting this will result in much more intensive CPU use, some additional memory use. Caution should be used when
  347. # setting this to equal or exceed the number of physical cores on the system.
  348. parallelrendercnt: 60
  349.  
  350. # Interval the browser should poll for updates.
  351. updaterate: 2000
  352.  
  353. # If nonzero, server will pause fullrender/radiusrender processing when 'fullrenderplayerlimit' or more users are logged in
  354. fullrenderplayerlimit: 0
  355. # If nonzero, server will pause update render processing when 'updateplayerlimit' or more users are logged in
  356. updateplayerlimit: 0
  357. # Target limit on server thread use - msec per tick
  358. per-tick-time-limit: 50
  359. # If TPS of server is below this setting, update renders processing is paused
  360. update-min-tps: 18.0
  361. # If TPS of server is below this setting, full/radius renders processing is paused
  362. fullrender-min-tps: 18.0
  363. # If TPS of server is below this setting, zoom out processing is paused
  364. zoomout-min-tps: 18.0
  365.  
  366. showplayerfacesinmenu: true
  367.  
  368. # Control whether players that are hidden or not on current map are grayed out (true=yes)
  369. grayplayerswhenhidden: true
  370.  
  371. # Use player permissions to order player list: first to last, players are ordered by first permission listed that they have
  372. # That is, anyone with first listed permission goes before anyone with second, etc, with users with none of the nodes going last
  373. player-sort-permission-nodes:
  374. - bukkit.command.op
  375.  
  376. # Set sidebaropened: 'true' to pin menu sidebar opened permanently, 'pinned' to default the sidebar to pinned, but allow it to unpin
  377. sidebaropened: true
  378.  
  379. # Customized HTTP response headers - add 'id: value' pairs to all HTTP response headers (internal web server only)
  380. http-response-headers:
  381. Access-Control-Allow-Origin: "mcraft.dkLogInWebmap"
  382. X-Custom-Header-Of-Mine: "mcxz101"
  383.  
  384. # Trusted proxies for web server - which proxy addresses are trusted to supply valid X-Forwarded-For fields
  385. trusted-proxies:
  386. - "127.0.0.1"
  387. - "0:0:0:0:0:0:0:1"
  388.  
  389. # Join/quit message format for web chat: set to "" to disable notice on web UI
  390. joinmessage: "%playername% joined"
  391. quitmessage: "%playername% quit"
  392.  
  393. spammessage: "You may only chat once every %interval% seconds."
  394. # format for messages from web: %playername% substitutes sender ID (typically IP), %message% includes text
  395. webmsgformat: "&color;2[WEB] %playername%: &color;f%message%"
  396.  
  397. # Control whether layer control is presented on the UI (default is true)
  398. showlayercontrol: true
  399.  
  400. # Enable checking for banned IPs via banned-ips.txt (internal web server only)
  401. check-banned-ips: true
  402.  
  403. # Default selection when map page is loaded
  404. defaultzoom: 0
  405. defaultworld: cavedig
  406. defaultmap: flat
  407. # (optional) Zoom level and map to switch to when following a player, if possible
  408. #followzoom: 3
  409. #followmap: surface
  410.  
  411. # If true, make persistent record of IP addresses used by player logins, to support web IP to player matching
  412. persist-ids-by-ip: true
  413.  
  414. # If true, map text to cyrillic
  415. cyrillic-support: false
  416.  
  417. # Messages to customize
  418. msg:
  419. maptypes: "Map Types"
  420. players: "Players"
  421. chatrequireslogin: "Chat Requires Login"
  422. chatnotallowed: "You are not permitted to send chat messages"
  423. hiddennamejoin: "Player joined"
  424. hiddennamequit: "Player quit"
  425.  
  426. # URL for client configuration (only need to be tailored for proxies or other non-standard configurations)
  427. url:
  428. # configuration URL
  429. #configuration: "up/configuration"
  430. # update URL
  431. #update: "up/world/{world}/{timestamp}"
  432. # sendmessage URL
  433. #sendmessage: "up/sendmessage"
  434. # login URL
  435. #login: "up/login"
  436. # register URL
  437. #register: "up/register"
  438. # tiles base URL
  439. #tiles: "tiles/"
  440. # markers base URL
  441. #markers: "tiles/"
  442.  
  443. # Spout support controls
  444. spout:
  445. # If false, ignore spout even if detected
  446. enabled: true
  447. # If true, previously loaded textures will be assumed to still be valid (faster startup, but
  448. # can result in stale textures if originals are updated - delete files in texturepacks/standard/spoout
  449. # to clean cached textures and force reload on next startup)
  450. use-existing-textures: true
  451.  
  452. # Customization commands - allows scripts to be run before/after certain events
  453. custom-commands:
  454. image-updates:
  455. # Command run just before any image file is written or updated: run with single parameter with fully qualified file name
  456. preupdatecommand: ""
  457. # Command run just after any image file is written or updated: run with single parameter with fully qualified file name
  458. postupdatecommand: ""
  459.  
  460. # Snapshot cache size, in chunks
  461. snapshotcachesize: 500
  462. # Snapshot cache uses soft references (true), else weak references (false)
  463. soft-ref-cache: true
  464.  
  465. # Set to true to enable verbose startup messages - can help with debugging map configuration problems
  466. # Set to false for a much quieter startup log
  467. verbose: false
  468.  
  469. # Enables debugging.
  470. #debuggers:
  471. # - class: org.dynmap.debug.LogDebugger
  472. # Debug: dump blocks missing render data
  473. dump-missing-blocks: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement