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 8d55e127bc
commit d2a7e4701b

View File

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