mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-27 09:51:29 +01:00
Updated Setting up the config file (markdown)
parent
68c251e5f0
commit
5e762992e1
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
## The config-file ##
|
## The config-file ##
|
||||||
|
|
||||||
|
**Note: When editing the config-file, you MUST use spaces for indentation! Using tabs instead of spaces will give you errors!**
|
||||||
|
|
||||||
The config-file consists of 3 sections: **global-settings**, **classes**, and **arenas**. The default config-file that is generated when MobArena is first loaded looks something like this:
|
The config-file consists of 3 sections: **global-settings**, **classes**, and **arenas**. The default config-file that is generated when MobArena is first loaded looks something like this:
|
||||||
|
|
||||||
[...]
|
[...]
|
||||||
@ -124,7 +126,7 @@ In the following example, players will receive either four arrows or a gold bar
|
|||||||
'7': iron_spade, iron_hoe, iron_axe, iron_pickaxe
|
'7': iron_spade, iron_hoe, iron_axe, iron_pickaxe
|
||||||
'19': diamond_sword
|
'19': diamond_sword
|
||||||
|
|
||||||
Note that the wave numbers **must be enclosed by apostrophes (such as `'7': ...`)**, or MobArena will throw YAML-errors.
|
Note that the wave numbers **must be enclosed by apostrophes** (e.g. `'7': ...`), or MobArena will throw YAML-errors. If you aren't sure how to do it, just copy one of the other lines and change the wave number and the items.
|
||||||
|
|
||||||
### coords ###
|
### coords ###
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user