mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Created Configuration of worlds (markdown)
parent
217b3c6045
commit
e382c297c0
54
Configuration-of-worlds.md
Normal file
54
Configuration-of-worlds.md
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
# Configuration of worlds #
|
||||||
|
|
||||||
|
There are two parts in `configuration.txt` that need to be checked when setting up Dynmap for multiple worlds. The first one is only for server-side rendering of the maps. Another part (under web-section) is about what and how the browser should show the map.
|
||||||
|
|
||||||
|
An example of the first server-side part:
|
||||||
|
```yaml
|
||||||
|
# The maptypes Dynmap will use to render.
|
||||||
|
worlds:
|
||||||
|
- name: world
|
||||||
|
maps:
|
||||||
|
- class: org.dynmap.kzedmap.KzedMap
|
||||||
|
renderers:
|
||||||
|
- class: org.dynmap.kzedmap.DefaultTileRenderer
|
||||||
|
prefix: t
|
||||||
|
maximumheight: 127
|
||||||
|
- class: org.dynmap.kzedmap.CaveTileRenderer
|
||||||
|
prefix: ct
|
||||||
|
maximumheight: 127
|
||||||
|
- name: nether
|
||||||
|
maps:
|
||||||
|
- class: org.dynmap.kzedmap.KzedMap
|
||||||
|
renderers:
|
||||||
|
- class: org.dynmap.kzedmap.DefaultTileRenderer
|
||||||
|
prefix: nt
|
||||||
|
maximumheight: 64
|
||||||
|
```
|
||||||
|
|
||||||
|
An example of the world configuration under the web-section:
|
||||||
|
```yaml
|
||||||
|
web:
|
||||||
|
defaultworld: world
|
||||||
|
worlds:
|
||||||
|
- title: World
|
||||||
|
name: world
|
||||||
|
maps:
|
||||||
|
- type: KzedMapType
|
||||||
|
title: Surface
|
||||||
|
name: surface
|
||||||
|
prefix: t
|
||||||
|
- type: KzedMapType
|
||||||
|
title: Cave
|
||||||
|
name: cave
|
||||||
|
prefix: ct
|
||||||
|
- title: Nether
|
||||||
|
name: nether
|
||||||
|
maps:
|
||||||
|
- type: KzedMapType
|
||||||
|
title: Surface
|
||||||
|
name: nether
|
||||||
|
prefix: nt
|
||||||
|
```
|
||||||
|
|
||||||
|
Of these two parts, make sure the names of the worlds match up with your world-directories (case-sensitive!).
|
||||||
|
Also make sure the prefixes of the maps under the web-section matches with the prefixes of the first part.
|
Loading…
Reference in New Issue
Block a user