Added method to retrieve all players on a server, online or offline

This commit is contained in:
Nathan Adams
2011-12-04 17:56:41 +00:00
parent 45cf9301e0
commit 548ee35ef6

View File

@@ -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();
}