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