View difference between Paste ID: C223hpWE and XvYRh2Vv
SHOW: | | - or go back to the newest paste.
1
# All paths in this configuration file are relative to Dynmap's data-folder: minecraft_server/plugins/dynmap/
2
3
  components:
4
  # Note: this component is needed for the dmarker commands, and for the Marker API to be available to other plugins
5
  - class: org.dynmap.MarkersComponent
6
    type: markers
7
    showlabel: true
8
    enablesigns: true
9
    # (optional) add spawn point markers to standard marker layer
10
    showspawn: true
11
    spawnicon: world
12
    spawnlabel: "Spawn"
13
    # (optional) layer for showing offline player's positions
14
    #showofflineplayers: true
15
    #offlinelabel: "Offline"
16
    #offlineicon: offlineuser
17
    #offlinehidebydefault: true
18
19
  - class: org.dynmap.ClientComponent
20
    type: settings
21
  - class: org.dynmap.ClientComponent
22
    type: landmarks
23
  - class: org.dynmap.ClientConfigurationComponent
24
  
25
  - class: org.dynmap.InternalClientUpdateComponent
26
    sendhealth: true
27
    sendposition: true
28
    allowwebchat: false
29
    webchat-interval: 5
30
    hidewebchatip: true
31
    trustclientname: true
32
  #- class: org.dynmap.JsonFileClientUpdateComponent
33
  #  writeinterval: 1
34
  #  sendhealth: true
35
  #  sendposition: true
36
  #  allowwebchat: true
37
  #  hidewebchatip: true
38
  
39
  - class: org.dynmap.SimpleWebChatComponent
40
    allowchat: true
41
  #- class: org.dynmap.herochat.HeroWebChatComponent
42
  #  # Control which HeroChat channel messages from web are directed to 
43
  #  herochatwebchannel: Global
44
  #  # Control which channels are monitored and reported to the web
45
  #  herochatchannels:
46
  #    - Global
47
  #    #- Trade
48
  #    #- Haggle
49
  
50
  - class: org.dynmap.ClientComponent
51
    type: chat
52
  - class: org.dynmap.ClientComponent
53
    type: chatballoon
54
    focuschatballoons: false
55
  - class: org.dynmap.ClientComponent
56
    type: chatbox
57
    showplayerfaces: true
58
    messagettl: 5
59
  - class: org.dynmap.ClientComponent
60
    type: playermarkers
61
    showplayerfaces: true
62
    showplayerhealth: true
63
  #- class: org.dynmap.ClientComponent
64
  #  type: digitalclock
65
  - class: org.dynmap.ClientComponent
66
    type: timeofdayclock
67
    showdigitalclock: true
68
    showweather: true
69
  - class: org.dynmap.regions.RegionsComponent
70
    type: regions
71
    name: WorldGuard
72
    useworldpath: true
73
    filename: regions.yml
74
    basenode: regions
75
    use3dregions: true
76
    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>'
77
    regionstyle:
78
      strokeColor: "#FF0000"
79
      strokeOpacity: 0.8
80
      strokeWeight: 3
81
      fillColor: "#FF0000"
82
      fillOpacity: 0.35
83
    # Optional setting to limit which regions to show, by name - if commented out, all regions are shown
84
    visibleregions:
85
      - homebase
86
      - miningsite
87
  - class: org.dynmap.TestComponent
88
  #  stuff: "This is some configuration-value"
89
90
# Treat hiddenplayers.txt as a whitelist for players to be shown on the map? (Default false)
91
  display-whitelist: false
92
93
# How often a tile gets rendered (in seconds).
94
  renderinterval: 1
95
96
# Zoom-out tile update period - how often to scan for and process tile updates into zoom-out tiles (in seconds)
97
  zoomoutperiod: 60
98
99
# Tile hashing is used to minimize tile file updates when no changes have occurred - set to false to disable
100
  enabletilehash: true
101
102
  render-triggers:
103
  #- chunkloaded
104
  #- playermove
105
  #- playerjoin
106
  - blockplaced
107
  - blockbreak
108
  - snowform
109
  - leavesdecay
110
  - blockburn
111
  - chunkgenerated
112
113
# The path where the tile-files are placed.
114
  tilespath: web/tiles
115
116
# The path where the web-files are located.
117
  webpath: web
118
119
# The network-interface the webserver will bind to (0.0.0.0 for all interfaces, 127.0.0.1 for only local access).
120
  webserver-bindaddress: 0.0.0.0
121
122
# The TCP-port the webserver will listen on.
123
  webserver-port: 8123
124
125
# Disables Webserver portion of Dynmap (Advanced users only)
126
  disable-webserver: false
127
128
# Enable/disable having the web server allow symbolic links (true=compatible with existing code, false=more secure (default))
129
  allow-symlinks: true
130
131
# Period between tile renders for fullrender, in seconds (non-zero to pace fullrenders, lessen CPU load)
132
  timesliceinterval: 0.0
133
134
# 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
135
  maxchunkspertick: 200
136
137
# Interval the browser should poll for updates.
138
  updaterate: 2000
139
140
  showplayerfacesinmenu: true
141
142
# Set sidebaropened: true to pin menu sidebar opened
143
#sidebaropened: true
144
145
  joinmessage: "%playername% Entered the relm of Agroth"
146
  quitmessage: "%playername% Vanished from the relm of Agroth"
147
  spammessage: "You may only chat once every %interval% seconds."
148
  webprefix: "§2[WEB] "
149
  websuffix: "§f"
150
151
  defaultzoom: 0
152
  defaultworld: world
153
154
# template world - this is used for worlds that exist but aren't defined in the worlds section.
155
# Also, it supplies the "maps" section for worlds lacking a maps section, and the "center"
156
# for worlds lacking a "center" section.
157
  templates:
158
  # Template for normal world
159
  normal:
160
    enabled: true
161
  #  # If bigworld set to true, use alternate directory layout better suited to large worlds
162
  #  bigworld: true
163
  #  # Number of extra zoom-out levels for world (each level is twice as big as the previous one)
164
  #  extrazoomout: 3
165
    center:
166
      x: 0
167
      y: 64
168
      z: 0
169
    maps:
170
      - class: org.dynmap.flat.FlatMap
171
        name: flat
172
        title: "Flat"
173
        prefix: flat
174
        colorscheme: default
175
        # The textured setting makes the flat render toning much more consistent with the other maps: set to 'none' for the original flat texture, 'smooth' for blended tile top colors, 'dither' for dither pattern
176
        textured: smooth
177
  #      # To render a world as a "night view", set shadowstrength and ambientlight
178
  #      shadowstrength: 1.0
179
  #      ambientlight: 4
180
  #      # To render both night and day versions of tiles (when ambientlight is set), set true
181
  #      night-and-day: true
182
  #      # Option to turn on transparency support (off by default) - slows render
183
  #      transparency: true
184
  #      # Background color for map during the day
185
  #      backgroundday: "#153E7E"
186
  #      # Background color for map during the night
187
  #      backgroundnight: "#000000"        
188
  #      # Background color for map (independent of night/day)
189
  #      background: "#000000"
190
      - class: org.dynmap.kzedmap.KzedMap
191
        renderers:
192
          - class: org.dynmap.kzedmap.DefaultTileRenderer
193
            name: surface
194
            title: "Surface"
195
            prefix: t
196
            maximumheight: 127
197
            colorscheme: default
198
  #          # Add shadows to world (based on top-down shadows from chunk data)
199
  #          shadowstrength: 1.0
200
  #          # To render a world as a "night view", set shadowstrength and ambientlight
201
  #          ambientlight: 4
202
  #          # To render both night and day versions of tiles (when ambientlight is set), set true
203
  #          night-and-day: true
204
  #          # Option to turn off transparency support (on by default) - speeds render
205
  #          transparency: false
206
  #          # Background color for map during the day
207
  #          backgroundday: "#153E7E"
208
  #          # Background color for map during the night
209
  #          backgroundnight: "#000000"        
210
  #          # Background color for map (independent of night/day)
211
  #          background: "#000000"
212
  #          # Sets the icon to 'images/block_custom.png'
213
  #          icon: custom
214
  #          # Biome-based mapping
215
  #        - class: org.dynmap.kzedmap.DefaultTileRenderer
216
  #          name: biome
217
  #          title: "Biome"
218
  #          prefix: b
219
  #          maximumheight: 127
220
  #          colorscheme: default
221
  #          # Biome-based coloring : biome=biome type, temperature=biome-temperature, rainfall=biome-rainfall
222
  #          biomecolored: biome
223
  #        - class: org.dynmap.kzedmap.HighlightTileRenderer
224
  #          prefix: ht
225
  #          maximumheight: 127
226
  #          colorscheme: default
227
  #          highlight: # For highlighting multiple block-types.
228
  #            - 56 # Highlight diamond-ore
229
  #            - 66 # Highlight minecart track
230
  #          highlight: 56 # For highlighting a single block-type.
231
          - class: org.dynmap.kzedmap.CaveTileRenderer
232
            name: cave
233
            title: "Cave"
234
            prefix: ct
235
            maximumheight: 127
236
  # Nether world template
237
  nether:
238
    enabled: true
239
  #  # If bigworld set to true, use alternate directory layout better suited to large worlds
240
  #  bigworld: true
241
  #  # Number of extra zoom-out levels for world (each level is twice as big as the previous one)
242
  #  extrazoomout: 3
243
    center:
244
      x: 0
245
      y: 64
246
      z: 0
247
    maps:
248
      - class: org.dynmap.flat.FlatMap
249
        name: flat
250
        title: "Flat"
251
        prefix: flat
252
        colorscheme: default
253
        # Map background color (day or night)
254
        background: "#300806"
255
        # The textured setting makes the flat render toning much more consistent with the other maps: set to 'none' for the original flat texture, 'smooth' for blended tile top colors, 'dither' for dither pattern
256
        textured: smooth
257
      - class: org.dynmap.kzedmap.KzedMap
258
        renderers:
259
          - class: org.dynmap.kzedmap.DefaultTileRenderer
260
            name: nether
261
            title: "Surface"
262
            prefix: nt
263
            maximumheight: 127
264
            colorscheme: default
265
            # Map background color (day or night)
266
            background: "#300806"
267
  # Skylands world template
268
  skylands:
269
    enabled: true
270
  #  # If bigworld set to true, use alternate directory layout better suited to large worlds
271
  #  bigworld: true
272
  #  # Number of extra zoom-out levels for world (each level is twice as big as the previous one)
273
  #  extrazoomout: 3
274
    center:
275
      x: 0
276
      y: 64
277
      z: 0
278
    maps:
279
      - class: org.dynmap.flat.FlatMap
280
        name: flat
281
        title: "Flat"
282
        prefix: flat
283
        colorscheme: default
284
        # Background color for map during the day
285
        backgroundday: "#153E7E"
286
        # Background color for map during the night
287
        backgroundnight: "#000000"        
288
        # The textured setting makes the flat render toning much more consistent with the other maps: set to 'none' for the original flat texture, 'smooth' for blended tile top colors, 'dither' for dither pattern
289
        textured: smooth
290
      - class: org.dynmap.kzedmap.KzedMap
291
        renderers:
292
          - class: org.dynmap.kzedmap.DefaultTileRenderer
293
            name: skylands
294
            title: "Surface"
295
            prefix: st
296
            maximumheight: 127
297
            colorscheme: default
298
            # Background color for map during the day
299
            backgroundday: "#153E7E"
300
            # Background color for map during the night
301
            backgroundnight: "#000000"        
302
            night-and-day: true
303
            shadowstrength: 1.0
304
            ambientlight: 4
305
306
# The maptypes Dynmap will use to render.
307
  worlds:
308
  # Worlds can be handled by templates, based on world type
309
  # You can override the properties of the template by specifying them in this section
310
  #    for example 'Title: "My Awesome World"'
311
  #- name: world
312
  #  title: "World"
313
  #   Use 'enabled: false' to disable a certain world.
314
  #  enabled: false
315
  #   Use sendposition: false to prevent player positions from showing when on this world (if sendposition is globally enabled)
316
  #  sendposition: false
317
  #   Use sendhealth: false ot prevent player health from showing when on this world (if sendhealth is globally enabled)
318
  #  sendhealth: false
319
  #  # If world isn't contiguous chunks (due to teleporting, for example), fullrender needs to be given other locations to scan for tiles on each patch of chunks
320
  #  fullrenderlocations:
321
  #    - x: 10000
322
  #      y: 64
323
  #      z: 20000
324
  #    - x: -15000
325
  #      y: 64
326
  #      z: -5000
327
  #  # Use visibilitylimits to restrict which areas of maps on your world to render (zero or more rectangles can be defined)
328
  #  visibilitylimits:
329
  #    - x0: -1000
330
  #      z0: -1000
331
  #      x1: 1000
332
  #      z1: 1000
333
  #    - x0: -2000
334
  #      z0: -1000
335
  #      x1: -1000
336
  #      z1: -500
337
  #  # Use hidestyle to control how hidden-but-existing chunks are to be rendered (air=empty air (same as ungenerated), stone=a flat stone plain, ocean=a flat ocean)
338
    hidestyle: ocean
339
  #  # Use 'autogenerate-to-visibilitylimits: true' to choose to force the generation of ungenerated chunks while rendering maps on this world, for any chunks within the defined
340
  #  # visibilitylimits (limits must be set).  The three options here are: none (default - no autogenerate), map-only (temporarily generate chunks for map, but don't save them (no world change),
341
  #  # permanent (generate and save chunks - this permanently adds the chunks to the world, as if a player had visited them - BE SURE THIS IS WHAT YOU WANT)
342
  #  autogenerate-to-visibilitylimits: map-only
343
  #   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).
344
  #  template: mycustomtemplate
345
  #   Rest of comes from template - uncomment to tailor for world specifically
346
  #  center:
347
  #    x: 0
348
  #    y: 64
349
  #    z: 0
350
  #  # If bigworld set to true, use alternate directory layout better suited to large worlds
351
  #  bigworld: true
352
  #  # Number of extra zoom-out levels for world (each level is twice as big as the previous one)
353
  #  extrazoomout: 3
354
  #  maps:
355
  #    - class: org.dynmap.flat.FlatMap
356
  #      name: flat
357
  #      title: "Flat"
358
  #      prefix: flat
359
  #      colorscheme: default
360
  #      # The textured setting makes the flat render toning much more consistent with the other maps: set to 'none' for the original flat texture, 'smooth' for blended tile top colors, 'dither' for dither pattern
361
  #      textured: smooth
362
  #      # To render a world as a "night view", set shadowstrength and ambientlight
363
  #      shadowstrength: 1.0
364
  #      ambientlight: 4
365
  #      # To render both night and day versions of tiles (when ambientlight is set), set true
366
  #      night-and-day: true
367
  #      # Option to turn on transparency support (off by default) - slows render
368
  #      transparency: true
369
  #      # Background color for map during the day
370
  #      backgroundday: "#153E7E"
371
  #      # Background color for map during the night
372
  #      backgroundnight: "#000000"        
373
  #      # Backgrounc color for map (independent of night/day)
374
  #      background: "#000000"
375
  #    - class: org.dynmap.kzedmap.KzedMap
376
  #      renderers:
377
  #        - class: org.dynmap.kzedmap.DefaultTileRenderer
378
  #          name: surface
379
  #          title: "Surface"
380
  #          prefix: t
381
  #          maximumheight: 127
382
  #          colorscheme: default
383
  #          # Add shadows to world (based on top-down shadows from chunk data)
384
  #          shadowstrength: 1.0
385
  #          # To render a world as a "night view", set shadowstrength and ambientlight
386
  #          ambientlight: 4
387
  #          # To render both night and day versions of tiles (when ambientlight is set), set true
388
  #          night-and-day: true
389
  #          # Option to turn off transparency support (on by default) - speeds render
390
  #          transparency: false
391
  #          # Background color for map during the day
392
  #          backgroundday: "#153E7E"
393
  #          # Background color for map during the night
394
  #          backgroundnight: "#000000"        
395
  #          # Backgrounc color for map (independent of night/day)
396
  #          background: "#000000"
397
  #          # Sets the icon to 'images/block_custom.png'
398
  #          icon: custom
399
  #        - class: org.dynmap.kzedmap.HighlightTileRenderer
400
  #          prefix: ht
401
  #          maximumheight: 127
402
  #          colorscheme: default
403
  #          highlight: # For highlighting multiple block-types.
404
  #            - 56 # Highlight diamond-ore
405
  #            - 66 # Highlight minecart track
406
  #          highlight: 56 # For highlighting a single block-type.
407
  #        - class: org.dynmap.kzedmap.CaveTileRenderer
408
  #          name: cave
409
  #          title: "Cave"
410
  #          prefix: ct
411
  #          maximumheight: 127
412
  #
413
  # To just label world, and inherit rest from template, just provide name and title
414
  #- name: world2
415
  #  title: "Second World"
416
  #
417
  #- name: nether
418
  #  title: "Nether"
419
  #  center:
420
  #    x: 0
421
  #    y: 64
422
  #    z: 0
423
  #  # Number of extra zoom-out levels for world (each level is twice as big as the previous one)
424
  #  extrazoomout: 3
425
  #  maps:
426
  #    - class: org.dynmap.flat.FlatMap
427
  #      name: flat
428
  #      title: "Flat"
429
  #      prefix: flat
430
  #      colorscheme: default
431
  #      # The textured setting makes the flat render toning much more consistent with the other maps: set to 'none' for the original flat texture, 'smooth' for blended tile top colors, 'dither' for dither pattern
432
  #      textured: smooth
433
  #    - class: org.dynmap.kzedmap.KzedMap
434
  #      renderers:
435
  #        - class: org.dynmap.kzedmap.DefaultTileRenderer
436
  #          name: nether
437
  #          title: "Surface"
438
  #          prefix: nt
439
  #          maximumheight: 127
440
  #          colorscheme: default
441
442
# Set to true to enable verbose startup messages - can help with debugging map configuration problems
443
# Set to false for a much quieter startup log
444
  verbose: true
445
446
# Enables debugging.
447
#debuggers:
448
#  - class: org.dynmap.debug.LogDebugger
449
450
451