Package dev.plex.punishment
Class Punishment
java.lang.Object
dev.plex.punishment.Punishment
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static final String
private boolean
private static final DateTimeFormatter
private LocalDateTime
private String
private final UUID
private String
private final UUID
private String
private PunishmentType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Punishment
static net.kyori.adventure.text.Component
generateBanMessage
(Punishment punishment) static net.kyori.adventure.text.Component
toJSON()
-
Field Details
-
banUrl
-
DATE_FORMAT
-
punished
-
punisher
-
ip
-
punishedUsername
-
type
-
reason
-
customTime
private boolean customTime -
active
private boolean active -
endDate
-
-
Constructor Details
-
Punishment
public Punishment() -
Punishment
-
-
Method Details
-
generateBanMessage
-
generateIndefBanMessage
-
fromJson
-
toJSON
-