Guest User

ConfigTXT

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