Package dev.plex.punishment
Class PunishmentManager
java.lang.Object
dev.plex.PlexBase
dev.plex.punishment.PunishmentManager
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddoPunishment(PlexPlayer player, Punishment punishment) isAsyncBanned(UUID uuid) booleanisBanned(PlexPlayer player) booleanbooleanbooleanisIndefUserBanned(String username) booleanisIndefUUIDBanned(UUID uuid) private booleanisNotEmpty(File file) voidissuePunishment(PlexPlayer plexPlayer, Punishment punishment) voidvoidpunish(PlexPlayer player, Punishment punishment) voidunban(Punishment punishment)
-
Field Details
-
indefiniteBans
-
-
Constructor Details
-
PunishmentManager
public PunishmentManager()
-
-
Method Details
-
mergeIndefiniteBans
public void mergeIndefiniteBans() -
isIndefUUIDBanned
-
isIndefIPBanned
-
isIndefUserBanned
-
issuePunishment
-
isNotEmpty
-
isAsyncBanned
-
isBanned
-
isBanned
-
getActiveBans
-
unban
-
unban
-
doPunishment
-
punish
-