Add Server.getMaxPlayers

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot 2011-02-06 13:40:31 +01:00
parent 566638ff0c
commit a72a6cba8e

View File

@ -31,6 +31,13 @@ public interface Server {
*/
public Player[] getOnlinePlayers();
/**
* Get the maximum amount of players which can login to this server
*
* @return The amount of players this server allows
*/
public int getMaxPlayers();
/**
* Broadcast a message to all players.
*