Class NecrifyKick
java.lang.Object
de.jvstvshd.necrify.common.punishment.AbstractPunishment
de.jvstvshd.necrify.common.punishment.NecrifyKick
- All Implemented Interfaces:
de.jvstvshd.necrify.api.punishment.Kick,de.jvstvshd.necrify.api.punishment.Punishment,de.jvstvshd.necrify.api.punishment.util.ReasonHolder
public abstract class NecrifyKick
extends AbstractPunishment
implements de.jvstvshd.necrify.api.punishment.Kick
-
Field Summary
Fields inherited from class de.jvstvshd.necrify.common.punishment.AbstractPunishment
APPLY_CANCELLATION, APPLY_CHANGE, APPLY_PUNISHMENT, APPLY_SUCCESSOR, APPLY_TIMESTAMP_UPDATE -
Constructor Summary
ConstructorsConstructorDescriptionNecrifyKick(de.jvstvshd.necrify.api.user.NecrifyUser user, net.kyori.adventure.text.Component reason, UUID punishmentUuid, AbstractNecrifyPlugin plugin, LocalDateTime issuedAt) -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.ComponentcreateFullReason(Locale locale) @NotNull de.jvstvshd.necrify.api.punishment.PunishmentTypegetType()Methods inherited from class de.jvstvshd.necrify.common.punishment.AbstractPunishment
applyCancellation, applyPunishment, cancel, checkValidity, convertReason, equals, executeAsync, getCreationTime, getEventDispatcher, getExecutor, getMessageProvider, getPlugin, getPredecessor, getPunishmentUuid, getReason, getSuccessor, getUser, getUuid, hasBeenCreated, hashCode, hasSuccessor, isValid, punish, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.jvstvshd.necrify.api.punishment.Kick
cancel, change, getPredecessor, getSuccessor, hasSuccessor, isOngoing, setSuccessorMethods inherited from interface de.jvstvshd.necrify.api.punishment.Punishment
getCreationTime, getPunishmentUuid, getSuccessorOrNull, getUser, getUuid, hasBeenCreated, punishMethods inherited from interface de.jvstvshd.necrify.api.punishment.util.ReasonHolder
getReason
-
Constructor Details
-
NecrifyKick
public NecrifyKick(de.jvstvshd.necrify.api.user.NecrifyUser user, net.kyori.adventure.text.Component reason, UUID punishmentUuid, AbstractNecrifyPlugin plugin, LocalDateTime issuedAt)
-
-
Method Details
-
getType
@NotNull public @NotNull de.jvstvshd.necrify.api.punishment.PunishmentType getType()- Specified by:
getTypein interfacede.jvstvshd.necrify.api.punishment.Punishment
-
createFullReason
- Specified by:
createFullReasonin interfacede.jvstvshd.necrify.api.punishment.util.ReasonHolder
-