mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
Added Server.getOperators to return all server operators
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -476,6 +476,13 @@ public interface Server {
|
||||
*/
|
||||
public Set<OfflinePlayer> getBannedPlayers();
|
||||
|
||||
/**
|
||||
* Gets a set containing all player operators
|
||||
*
|
||||
* @return Set containing player operators
|
||||
*/
|
||||
public Set<OfflinePlayer> getOperators();
|
||||
|
||||
/**
|
||||
* Gets the default {@link GameMode} for new players
|
||||
*
|
||||
|
Reference in New Issue
Block a user