Add join-interrupt-timer per-arena setting.

This commit adds a new per-arena setting, join-interrupt-timer, which, when set to a positive number, will introduce a delay to the join and spec commands. During this delay, if the player takes damage or moves more than one block's distance, the command will be interrupted.

Closes #482
This commit is contained in:
Andreas Troelsen
2018-08-05 21:17:05 +02:00
parent c1375a31f5
commit 924a419b47
8 changed files with 240 additions and 34 deletions
+1
View File
@@ -12,6 +12,7 @@ These changes will (most likely) be included in the next version.
## [Unreleased]
- It is now possible to add a fixed delay (in seconds) between waves with the new per-arena setting `next-wave-delay`.
- The new per-arena setting `join-interrupt-timer` makes it possible to add a "delay" to the join and spec commands. If the player moves or takes damage during this delay, the command is interrupted. This should help prevent exploits on PvP servers.
- Right-clicking is now allowed in the lobby. This makes it possible to activate blocks like buttons and levers.
- Snow and ice no longer melts in arenas.