Package dev.plex.punishment
Class PunishmentManager
java.lang.Object
dev.plex.punishment.PunishmentManager
- All Implemented Interfaces:
PlexBase
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddoPunishment(PlexPlayer player, Punishment punishment) getBanByIP(String ip) getIndefiniteBanByUsername(String username) @Nullable PunishmentManager.IndefiniteBangetIndefiniteBanByUUID(UUID uuid) isAsyncBanned(UUID uuid) booleanisBanned(PlexPlayer player) booleanprivate booleanisNotEmpty(File file) voidissuePunishment(PlexPlayer plexPlayer, Punishment punishment) voidvoidpunish(PlexPlayer player, Punishment punishment) voidunban(Punishment punishment) voidupdateOutdatedPunishments(PlexPlayer player)