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 TypeMethodDescriptionvoiddoPunishment(PunishedPlayer player, Punishment punishment) voidinsertPunishment(PunishedPlayer player, Punishment punishment) booleanisBanned(PunishedPlayer player) booleanbooleanbooleanisIndefUserBanned(String username) booleanisIndefUUIDBanned(UUID uuid) private booleanisNotEmpty(File file) private voidissuePunishment(PunishedPlayer player, Punishment punishment) voidvoidunban(Punishment punishment) void
-
Field Details
-
indefiniteBans
-
-
Constructor Details
-
PunishmentManager
public PunishmentManager()
-
-
Method Details
-
mergeIndefiniteBans
public void mergeIndefiniteBans() -
isIndefUUIDBanned
-
isIndefIPBanned
-
isIndefUserBanned
-
insertPunishment
-
isNotEmpty
-
isBanned
-
isBanned
-
getActiveBans
-
unban
-
unban
-
issuePunishment
-
doPunishment
-