Update GameManager
This commit is contained in:
@@ -61,6 +61,9 @@ class GameManager(
|
||||
setGameState( GameState.STARTING )
|
||||
timer = lobbyTime
|
||||
}
|
||||
else Bukkit.getOnlinePlayers().forEach {
|
||||
it.sendMsg( "game.lobby-idle", "current" to Bukkit.getOnlinePlayers().size.toString(), "min" to minPlayers.toString() )
|
||||
}
|
||||
}
|
||||
|
||||
GameState.STARTING ->
|
||||
|
||||
@@ -9,6 +9,7 @@ default:
|
||||
game:
|
||||
join: '<prefix><green><name></green> <gray>has joined the game.</gray>'
|
||||
quit: '<prefix><red><name></red> <gray>has quit the game.</gray>'
|
||||
lobby-idle: '<prefix><gray>Waiting for more players... (<current> / <min>)</gray>'
|
||||
start-aborted: '<prefix><red>The game start has been aborted due to the lack of players!</red>'
|
||||
started: '<prefix><green>The game has started! Good Luck!</green>'
|
||||
invincibility-start: '<prefix><yellow>Invincibility has started and ends in <time> second(s)!</yellow>'
|
||||
|
||||
Reference in New Issue
Block a user