public class SpongeBanProcessor extends Object implements BanProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
SpongeBanProcessor.Provider |
| Constructor and Description |
|---|
SpongeBanProcessor() |
| Modifier and Type | Method and Description |
|---|---|
BanResult |
executeBan(Ban ban) |
@Nullable Ban |
getActiveBan(UUID playerId) |
List<Ban> |
getActiveBanOnSameIP(String ip) |
List<Ban> |
getAllBans() |
List<String> |
getDescription() |
List<Ban> |
getLoggedBans(UUID playerId) |
String |
getName() |
boolean |
isBanned(UUID playerId) |
@Nullable BanResult |
revokeBan(UUID playerId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisHandledByNegativitypublic BanResult executeBan(Ban ban)
executeBan in interface BanProcessorpublic @Nullable BanResult revokeBan(UUID playerId)
revokeBan in interface BanProcessorpublic boolean isBanned(UUID playerId)
isBanned in interface BanProcessorpublic @Nullable Ban getActiveBan(UUID playerId)
getActiveBan in interface BanProcessorpublic List<Ban> getLoggedBans(UUID playerId)
getLoggedBans in interface BanProcessorpublic List<Ban> getActiveBanOnSameIP(String ip)
getActiveBanOnSameIP in interface BanProcessorpublic List<Ban> getAllBans()
getAllBans in interface BanProcessorpublic String getName()
getName in interface BanProcessorpublic List<String> getDescription()
getDescription in interface BanProcessor