Package dev.plex.punishment
Class Punishment
java.lang.Object
dev.plex.punishment.Punishment
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static final String
private boolean
private ZonedDateTime
private static final com.google.gson.Gson
private String
private final @NotNull UUID
private String
private final UUID
private String
private PunishmentType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Punishment
static net.kyori.adventure.text.Component
generateBanMessage
(Punishment punishment) static net.kyori.adventure.text.Component
generateIndefBanMessage
(String type) static net.kyori.adventure.text.Component
generateIndefBanMessageWithReason
(String type, String reason) static net.kyori.adventure.text.Component
generateKickMessage
(Punishment punishment) toJSON()