mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-25 12:06:14 +01:00
Updated Setting up the config file (markdown)
parent
3af923a8c0
commit
1d906d34d2
@ -26,6 +26,7 @@ The config-file, `plugins/MobArena/config.yml`, consists of 3 sections: `global-
|
||||
update-notification: true
|
||||
enabled: true
|
||||
allowed-commands: /list
|
||||
prefix: '&a[MobArena] '
|
||||
classes:
|
||||
Knight:
|
||||
items: diamond_sword, grilled_pork:2
|
||||
@ -37,6 +38,7 @@ The config-file, `plugins/MobArena/config.yml`, consists of 3 sections: `global-
|
||||
arenas:
|
||||
default:
|
||||
settings:
|
||||
prefix: ''
|
||||
world: Tundra
|
||||
enabled: true
|
||||
protect: true
|
||||
@ -56,6 +58,7 @@ The `global-settings` are few, but important. Note that if `enabled: false`, no
|
||||
* `enabled: [true|false]` - This determines if MobArena is enabled or not. If set to `false`, players will not be able to join any arenas at all, regardless of what the arenas' individual statuses are.
|
||||
* `update-notification: [true|false]` - If true, MobArena will send a message to ops when they log on if a new version of MobArena is available.
|
||||
* `allowed-commands: <com1>, <com2>, ...` - A comma-separated list of the commands that players are allowed to use while in the lobby and/or arena. This is useful if you don't want players to use teleport-commands, flying carpets, kill commands, etc. If you write the command WITH its forward-slash, the entire command and all "sub-commands" will be allowed. For instance, writing `/kill` will allow both `/kill`, `/kill Sausageman22` and `/kill Notch`. Writing the command WITHOUT its forward-slash will allow only that specific command or "sub-command". Writing `kill` will thus ONLY allow `/kill`, but not `/kill Sausageman22`.
|
||||
* `prefix: <prefix>` - The prefix MobArena uses for all of its messages. The default is the classic green `[MobArena]`, but you can change it to whatever you want. You can override the prefix for specific arenas by using the arena-specific setting with the same name.
|
||||
|
||||
I recommended leaving the update notifications on, and disabling commands like `/kill` and `/tp`.
|
||||
|
||||
@ -174,6 +177,7 @@ This section is by far the largest, and it is divided into several smaller branc
|
||||
### settings
|
||||
The settings-branch is quite extensive, and besides the `world`-node, it is basically just a bunch of toggles (on/off, true/false), though a few are number-based.
|
||||
|
||||
* `prefix: <prefix>` - An arena-specific prefix to use for messages/announcements in this arena only. The default is the empty string (`''`), which means the `global-settings` prefix will be used.
|
||||
* `world: <name>` - The name of the world the arena resides in.
|
||||
* `enabled: [true|false]` - If false, players cannot join the arena.
|
||||
* `protect: [true|false]` - If false, the arena will not be protected from explosions and players breaking the blocks.
|
||||
|
Loading…
Reference in New Issue
Block a user