From 0a8dc5eed3c46802eaca7c2e33b38ccfc333ae74 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Mon, 1 Jul 2024 21:37:52 -0500 Subject: [PATCH] Fix some bugs in Battlegrounds and Deathmatch --- plugin/src/main/resources/arenas/battlegrounds.yml | 5 ++--- plugin/src/main/resources/arenas/deathmatch.yml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/plugin/src/main/resources/arenas/battlegrounds.yml b/plugin/src/main/resources/arenas/battlegrounds.yml index 07445e22..5f1e651f 100644 --- a/plugin/src/main/resources/arenas/battlegrounds.yml +++ b/plugin/src/main/resources/arenas/battlegrounds.yml @@ -29,10 +29,9 @@ events: - clear-effects - restore{types=all} on-death: - - clear-inventory - respawn - - delay{ticks=1} - - teleport{location=waitroom} + on-respawn: + - teleport{location=team_spawn;random=true} options: - block-break{enabled=false} - block-place{enabled=false} diff --git a/plugin/src/main/resources/arenas/deathmatch.yml b/plugin/src/main/resources/arenas/deathmatch.yml index 705d0085..643b4b9e 100644 --- a/plugin/src/main/resources/arenas/deathmatch.yml +++ b/plugin/src/main/resources/arenas/deathmatch.yml @@ -10,10 +10,10 @@ team-options: lives: enabled: false victory-conditions: - teams-alive: - amount: 1 time-limit: time-limit: 2m + highest-stat: + stat-name: kills events: on-join: - store{types=all}