mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
Added new methods to Server, Player and OfflinePlayer for banning and unbanning
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -407,4 +407,11 @@ public interface Server {
|
||||
* @param address IP address to unban
|
||||
*/
|
||||
public void unbanIP(String address);
|
||||
|
||||
/**
|
||||
* Gets a set containing all banned players
|
||||
*
|
||||
* @return Set containing banned players
|
||||
*/
|
||||
public Set<OfflinePlayer> getBannedPlayers();
|
||||
}
|
||||
|
Reference in New Issue
Block a user