Merge branch 'dev'

This commit is contained in:
Kristian Knarvik 2023-04-17 16:12:49 +02:00
commit 01a3d0b73c
2 changed files with 15 additions and 4 deletions

View File

@ -1,12 +1,18 @@
# MiniGames
This plugin adds several mini-games.
To create a dropper arena, simply use `/droppercreate <name>`, where \<name> is simply the name used to differentiate
and
recognize the arena. Your location will be used as the spawn location for anyone joining the dropper arena. To start
and recognize the arena. Your location will be used as the spawn location for anyone joining the dropper arena. To start
playing, simply use `/dropperjoin <name>`, where \<name> is the same as you specified upon creation.
To modify the arena, use `/dropperedit <name> <property> <value>`.
To create a parkour arena, simply use `/parkourcreate <name>`, where \<name> is simply the name used to differentiate
and recognize the arena. Your location will be used as the spawn location for anyone joining the dropper arena. To start
playing, simply use `/parkourjoin <name>`, where \<name> is the same as you specified upon creation.
To modify the arena, use `/parkouredit <name> <property> <value>`. Use `/parkouredit checkpointAdd here` to add a
checkpoint at your current location.
## Permissions
The only permission normal players will need is `minigames.join` which is set to true by default.
@ -242,4 +248,9 @@ Example tags:
- +DOORS
- +DRAGON_IMMUNE
- +FENCE_GATES
- +FENCES
- +FENCES
## License
MiniGames is licensed under the GNU Public License Version 3.0. This includes every source and resource file. See the
HEADER file for a more detailed license description.

View File

@ -396,7 +396,7 @@ public class ParkourArena implements Arena {
if (checkpoints.isEmpty()) {
return false;
}
this.checkpoints.clear();
this.parkourArenaHandler.saveArenas();
return true;