mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 02:19:41 -05:00
1 parent
73edbc4902
commit
60517316e9
1 file changed
+8
@@ -29,6 +29,14 @@ public interface Server {
|
||||
* @return An array of Players that are currently online
|
||||
*/
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user