Make auto-start kick message customizable.
This commit is contained in:
@@ -526,7 +526,7 @@ public class ArenaImpl implements Arena
|
|||||||
// Force leave.
|
// Force leave.
|
||||||
for (Player p : tmp) {
|
for (Player p : tmp) {
|
||||||
playerLeave(p);
|
playerLeave(p);
|
||||||
Messenger.tellPlayer(p, "You did not ready up in time! Next time, ready up by clicking an iron block.");
|
Messenger.tellPlayer(p, Msg.LEAVE_NOT_READY);
|
||||||
}
|
}
|
||||||
|
|
||||||
startArena();
|
startArena();
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ public enum Msg
|
|||||||
JOIN_EXISTING_INV_RESTORED("Your old inventory items have been restored."),
|
JOIN_EXISTING_INV_RESTORED("Your old inventory items have been restored."),
|
||||||
JOIN_PLAYER_JOINED("You joined the arena. Have fun!", "Joined arena.", Material.IRON_SWORD),
|
JOIN_PLAYER_JOINED("You joined the arena. Have fun!", "Joined arena.", Material.IRON_SWORD),
|
||||||
LEAVE_NOT_PLAYING("You are not in the arena.", "Not in arena."),
|
LEAVE_NOT_PLAYING("You are not in the arena.", "Not in arena."),
|
||||||
|
LEAVE_NOT_READY("You did not ready up in time! Next time, ready up by clicking an iron block."),
|
||||||
LEAVE_PLAYER_LEFT("You left the arena. Thanks for playing!", "Left arena.", Material.WOOD_DOOR),
|
LEAVE_PLAYER_LEFT("You left the arena. Thanks for playing!", "Left arena.", Material.WOOD_DOOR),
|
||||||
PLAYER_DIED("% died!", "% died!", Material.BONE),
|
PLAYER_DIED("% died!", "% died!", Material.BONE),
|
||||||
GOLEM_DIED("A friendly Golem has died!", "A Golem has died!", Material.PUMPKIN),
|
GOLEM_DIED("A friendly Golem has died!", "A Golem has died!", Material.PUMPKIN),
|
||||||
|
|||||||
Reference in New Issue
Block a user