mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 23:22:10 -07:00
@@ -31,6 +31,13 @@ public interface Server {
|
|||||||
*/
|
*/
|
||||||
public Player[] getOnlinePlayers();
|
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.
|
* Broadcast a message to all players.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user