Added method to retrieve all players on a server, online or offline
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user