mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 15:12:13 -07:00
@@ -30,6 +30,14 @@ public interface Server {
|
|||||||
*/
|
*/
|
||||||
public Player[] getOnlinePlayers();
|
public Player[] getOnlinePlayers();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Broadcast a message to all players.
|
||||||
|
*
|
||||||
|
* @param message the message
|
||||||
|
* @return the number of players
|
||||||
|
*/
|
||||||
|
public int broadcastMessage(String message);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a player object by the given username
|
* Gets a player object by the given username
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user