Make auto-start kick message customizable.

This commit is contained in:
garbagemule 2013-07-24 14:29:31 +02:00
parent b643cce511
commit d926d99298
2 changed files with 2 additions and 1 deletions

View File

@ -526,7 +526,7 @@ public class ArenaImpl implements Arena
// Force leave.
for (Player p : tmp) {
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();

View File

@ -28,6 +28,7 @@ public enum Msg
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),
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),
PLAYER_DIED("% died!", "% died!", Material.BONE),
GOLEM_DIED("A friendly Golem has died!", "A Golem has died!", Material.PUMPKIN),