Add new arena settings.

Andreas Troelsen 2022-07-27 12:56:40 +02:00
parent ff4b2bb077
commit 98fb08182c

@ -215,6 +215,7 @@ The settings-branch is quite extensive, and besides the `world`-node, it is basi
* `clear-wave-before-next: [true|false]` - If true, no monsters will spawn before all monsters of the previous wave have been killed.
* `clear-boss-before-next: [true|false]` - If true, no new waves will spawn before the current boss (if any) is dead.
* `clear-wave-before-boss: [true|false]` - If true, a boss wave will not spawn until all previous monsters have been killed.
* `clear-wave-leeway: <amount>` - The amount of mobs allowed to be alive before a wave is considered "cleared" when using the `clear-wave-before-next` and/or `clear-wave-before-boss` flags. Also affects `final-wave`.
* `soft-restore: [true|false]` - If true, all destroyed blocks will be saved in a "repair list", which will be used to restore blocks at arena end. No data is saved to the harddrive. Note that this setting, if true, ignores the `protect` flag.
* `soft-restore-drops: [true|false]` - If true, blocks destroyed by players will drop as items like they normally do (using pickaxes, spades, etc.). Note that this makes it very easy for classes with pickaxes to "mine the arena" and build forts.
* `require-empty-inv-join: [true|false]` - If false, players' inventories will be saved upon joining, and restored upon death/leaving.
@ -223,6 +224,7 @@ The settings-branch is quite extensive, and besides the `world`-node, it is basi
* `monster-infight: [true|false]` - If false, monsters will no longer damage each other.
* `allow-teleporting: [true|false]` - If false, all warping to and from the arena region is blocked. Useful for preventing players from summoning other players into the arena for help.
* `spectate-on-death: [true|false]` - If false, players will not get warped to the spectator area, but instead be "kicked" from the arena (essentially a forced /ma leave).
* `auto-leave-on-end: [true|false]` - If true, players waiting in the spectator area will automatically leave (as if they ran `/ma leave`) when the arena session ends.
* `share-items-in-arena: [true|false]` - If false, players will not be able to drop items in the arena.
* `min-players: <amount>` - Gives a lower limit on how many players are required to start the arena. The default of `0` is the same as `1`, which means 1 or more players may start the arena. Note that this feature is incompatible with `auto-start-timer` and `start-delay-timer`!
* `max-players: <amount>` - Gives an upper limit on how many players may join the arena. The default of `0` means no limit.
@ -238,6 +240,7 @@ The settings-branch is quite extensive, and besides the `world`-node, it is basi
* `lock-food-level: [true|false]` - If true, the food bar will be locked for all players in the arena, meaning they will not end up starving, and they will be able to sprint around as they please.
* `player-time-in-arena: <time of day>` - When set to anything but world, this setting will freeze the apparent world time for players in the arena to whatever value you set. This is useful for making time-of-day themed arenas (e.g. constant night time for a cemetery, broad daylight for a pirate ship). Valid values are: dawn, sunrise, morning, midday, noon, day, afternoon, evening, sunset, dusk, night, midnight.
* `auto-ignite-tnt: [true|false]` - If true, TNT will be automatically ignited when placed. This is useful for preventing Oddjob-like classes from forting.
* `auto-ignite-fuse: <number>` - The time (in ticks) before an auto-ignited TNT block explodes after being placed.
* `auto-start-timer: <time>` - The time (in seconds) before the arena will be force started after the first player has joined the lobby (the default of 0 means deactivated or infinite time). Non-ready players will be removed from the lobby. This setting is useful to prevent ill-minded players from delaying or preventing other players from starting the arena. Note that this feature is incompatible with `min-players`!
* `start-delay-timer: <time>` - The time (in seconds) before the arena can be started after the first player has joined the lobby. This setting is useful if you want to give your players a fixed window of time to join the arena after the first player has joined, so they can't just start it off right away. Note that this feature is incompatible with `min-players`!
* `auto-ready: [true|false]` - When set to true, players are automatically flagged as ready when they pick a class. Useful for arenas with many players where hitting an iron block becomes difficult.