mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
1 parent
566638ff0c
commit
a72a6cba8e
1 file changed
+7
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user