Guest User

Dynmap Config - RogueDraco

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