mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
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