Created Configuration of worlds (markdown)

FrozenCow 2011-02-23 17:42:34 -08:00
parent 217b3c6045
commit e382c297c0
1 changed files with 54 additions and 0 deletions

@ -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.