Package dev.plex.punishment
Class PunishmentManager
java.lang.Object
dev.plex.PlexBase
dev.plex.punishment.PunishmentManager
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
doPunishment
(PlexPlayer player, Punishment punishment) isAsyncBanned
(UUID uuid) boolean
isBanned
(PlexPlayer player) boolean
boolean
boolean
isIndefUserBanned
(String username) boolean
isIndefUUIDBanned
(UUID uuid) private boolean
isNotEmpty
(File file) void
issuePunishment
(PlexPlayer plexPlayer, Punishment punishment) void
void
punish
(PlexPlayer player, Punishment punishment) void
unban
(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
-