Class NecrifyMute

All Implemented Interfaces:
de.jvstvshd.necrify.api.punishment.Mute, de.jvstvshd.necrify.api.punishment.Punishment, de.jvstvshd.necrify.api.punishment.TemporalPunishment, de.jvstvshd.necrify.api.punishment.util.ReasonHolder

public class NecrifyMute extends AbstractTemporalPunishment implements de.jvstvshd.necrify.api.punishment.Mute
  • Constructor Details

    • NecrifyMute

      public NecrifyMute(de.jvstvshd.necrify.api.user.NecrifyUser user, net.kyori.adventure.text.Component reason, UUID punishmentUuid, de.jvstvshd.necrify.api.duration.PunishmentDuration duration, AbstractNecrifyPlugin plugin, de.jvstvshd.necrify.api.punishment.Punishment successor, LocalDateTime creationTime)
  • Method Details

    • getType

      @NotNull public @NotNull de.jvstvshd.necrify.api.punishment.StandardPunishmentType getType()
      Specified by:
      getType in interface de.jvstvshd.necrify.api.punishment.Punishment
      Specified by:
      getType in class AbstractTemporalPunishment
    • isPermanent

      public boolean isPermanent()
      Specified by:
      isPermanent in interface de.jvstvshd.necrify.api.punishment.TemporalPunishment
    • createFullReason

      @NotNull public @NotNull net.kyori.adventure.text.Component createFullReason(Locale source)
      Specified by:
      createFullReason in interface de.jvstvshd.necrify.api.punishment.util.ReasonHolder