Added method to retrieve all players on a server, online or offline
This commit is contained in:
parent
8d55e127bc
commit
d2a7e4701b
@ -518,4 +518,11 @@ public interface Server {
|
||||
* @return World container folder
|
||||
*/
|
||||
public File getWorldContainer();
|
||||
|
||||
/**
|
||||
* Gets every player that has ever played on this server.
|
||||
*
|
||||
* @return Array containing all players
|
||||
*/
|
||||
public OfflinePlayer[] getOfflinePlayers();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user