Class NecrifyCommand

java.lang.Object
de.jvstvshd.necrify.common.commands.NecrifyCommand

public class NecrifyCommand extends Object
  • Constructor Details

  • Method Details

    • banCommand

      public void banCommand(NecrifyUser sender, NecrifyUser target, String templateOrReason)
    • muteCommand

      public void muteCommand(NecrifyUser sender, NecrifyUser target, String templateOrReason)
    • kickCommand

      public void kickCommand(NecrifyUser sender, NecrifyUser target, String templateOrReason)
    • tempbanCommand

      public void tempbanCommand(NecrifyUser sender, NecrifyUser target, PunishmentDuration duration, String reason)
    • tempmuteCommand

      public void tempmuteCommand(NecrifyUser sender, NecrifyUser target, PunishmentDuration duration, String reason)
    • unbanCommand

      public void unbanCommand(NecrifyUser sender, NecrifyUser target)
    • unmuteCommand

      public void unmuteCommand(NecrifyUser sender, NecrifyUser target)
    • punishmentCommand

      public void punishmentCommand(NecrifyUser sender, Punishment punishmentParsed, String option, Punishment otherPunishment, Integer pageArgument)
    • userCommand

      public void userCommand(NecrifyUser sender, NecrifyUser target, String option)
    • reloadCommand

      public void reloadCommand(NecrifyUser sender)
    • infoCommand

      public void infoCommand(NecrifyUser sender)
    • whitelistCommand

      public void whitelistCommand(NecrifyUser sender, String option)
    • createTemplateCommand

      public void createTemplateCommand(NecrifyUser sender, String name)
    • templateInfoCommand

      public void templateInfoCommand(NecrifyUser sender, NecrifyTemplate template, Integer pageArgument)
    • templateDeleteCommand

      public void templateDeleteCommand(NecrifyUser sender, NecrifyTemplate template)
    • templateAddStageCommand

      public void templateAddStageCommand(NecrifyUser sender, NecrifyTemplate template, PunishmentDuration duration, PunishmentType punishmentType, String reasonString)
    • templateRemoveStageCommand

      public void templateRemoveStageCommand(NecrifyUser sender, NecrifyTemplate template, int index)
    • templateApplyCommand

      public void templateApplyCommand(NecrifyUser sender, NecrifyTemplate template, NecrifyUser user)
    • templateAmnestyCommand

      public void templateAmnestyCommand(NecrifyUser sender, NecrifyTemplate template, NecrifyUser target, Integer toStage)
    • templateStateCommand

      public void templateStateCommand(NecrifyUser sender, NecrifyTemplate template, NecrifyUser target)
    • suggestNames

      public List<? extends org.incendo.cloud.suggestion.Suggestion> suggestNames(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input)
    • suggestMiniMessage

      public List<? extends org.incendo.cloud.suggestion.Suggestion> suggestMiniMessage(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input)
    • suggestMiniMessageAndTemplate

      public List<? extends org.incendo.cloud.suggestion.Suggestion> suggestMiniMessageAndTemplate(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input)
    • suggestPunishmentCommandOptions

      public List<? extends org.incendo.cloud.suggestion.Suggestion> suggestPunishmentCommandOptions(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input)
    • suggestUserCommandOptions

      public List<? extends org.incendo.cloud.suggestion.Suggestion> suggestUserCommandOptions(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input)
    • suggestTemplateCommandOptions

      public List<? extends org.incendo.cloud.suggestion.Suggestion> suggestTemplateCommandOptions(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input)
    • infinitePunishmentCommand

      public void infinitePunishmentCommand(NecrifyUser sender, NecrifyUser target, String templateOrReasonString, Function<net.kyori.adventure.text.Component,CompletableFuture<? extends Punishment>> reasonExecution, String successString, StandardPunishmentType defaultReasonType)
    • copyComponent

      public net.kyori.adventure.text.TextComponent copyComponent(String text)