diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/Server.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java index dc9ce803..26459cea 100644 --- a/src/main/java/org/bukkit/Server.java +++ b/src/main/java/org/bukkit/Server.java @@ -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(); } |