Add Player interface

This commit is contained in:
Dinnerbone
2010-12-22 15:21:16 +00:00
parent 4e8311a655
commit 008700b6be
2 changed files with 29 additions and 0 deletions

View File

@@ -18,4 +18,11 @@ public interface Server {
* @return version of this server implementation
*/
public String getVersion();
/**
* Gets a list of all currently logged in players
*
* @return An array of Players that are currently online
*/
public Player[] getOnlinePlayers();
}