mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Add Server.getMaxPlayers
This commit is contained in:
parent
0b998a2fe4
commit
a2e50fd8f6
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue