diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java index a85bdccf..e97623d8 100644 --- a/src/main/java/org/bukkit/Server.java +++ b/src/main/java/org/bukkit/Server.java @@ -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. *