mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-20 05:14:15 +00:00
Added method to retrieve all players on a server, online or offline
This commit is contained in:
parent
8d55e127bc
commit
d2a7e4701b
1 changed files with 7 additions and 0 deletions
|
@ -518,4 +518,11 @@ public interface Server {
|
||||||
* @return World container folder
|
* @return World container folder
|
||||||
*/
|
*/
|
||||||
public File getWorldContainer();
|
public File getWorldContainer();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets every player that has ever played on this server.
|
||||||
|
*
|
||||||
|
* @return Array containing all players
|
||||||
|
*/
|
||||||
|
public OfflinePlayer[] getOfflinePlayers();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue