mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Added new methods to Server, Player and OfflinePlayer for banning and unbanning
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
1 parent
6d43d89f5e
commit
93040c71de
3 files changed
+25
No files matched your search
@@ -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