Class NecrifyCommand
java.lang.Object
de.jvstvshd.necrify.common.commands.NecrifyCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbanCommand(NecrifyUser sender, NecrifyUser target, String templateOrReason) net.kyori.adventure.text.TextComponentcopyComponent(String text) voidcreateTemplateCommand(NecrifyUser sender, String name) voidinfinitePunishmentCommand(NecrifyUser sender, NecrifyUser target, String templateOrReasonString, Function<net.kyori.adventure.text.Component, CompletableFuture<? extends Punishment>> reasonExecution, String successString, StandardPunishmentType defaultReasonType) voidinfoCommand(NecrifyUser sender) voidkickCommand(NecrifyUser sender, NecrifyUser target, String templateOrReason) voidmuteCommand(NecrifyUser sender, NecrifyUser target, String templateOrReason) voidpunishmentCommand(NecrifyUser sender, Punishment punishmentParsed, String option, Punishment otherPunishment, Integer pageArgument) voidreloadCommand(NecrifyUser sender) List<? extends org.incendo.cloud.suggestion.Suggestion> suggestMiniMessage(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input) List<? extends org.incendo.cloud.suggestion.Suggestion> suggestMiniMessageAndTemplate(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input) List<? extends org.incendo.cloud.suggestion.Suggestion> suggestNames(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input) List<? extends org.incendo.cloud.suggestion.Suggestion> suggestPunishmentCommandOptions(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input) List<? extends org.incendo.cloud.suggestion.Suggestion> suggestTemplateCommandOptions(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input) List<? extends org.incendo.cloud.suggestion.Suggestion> suggestUserCommandOptions(org.incendo.cloud.context.CommandContext<NecrifyUser> context, org.incendo.cloud.context.CommandInput input) voidtempbanCommand(NecrifyUser sender, NecrifyUser target, PunishmentDuration duration, String reason) voidtemplateAddStageCommand(NecrifyUser sender, NecrifyTemplate template, PunishmentDuration duration, PunishmentType punishmentType, String reasonString) voidtemplateAmnestyCommand(NecrifyUser sender, NecrifyTemplate template, NecrifyUser target, Integer toStage) voidtemplateApplyCommand(NecrifyUser sender, NecrifyTemplate template, NecrifyUser user) voidtemplateDeleteCommand(NecrifyUser sender, NecrifyTemplate template) voidtemplateInfoCommand(NecrifyUser sender, NecrifyTemplate template, Integer pageArgument) voidtemplateRemoveStageCommand(NecrifyUser sender, NecrifyTemplate template, int index) voidtemplateStateCommand(NecrifyUser sender, NecrifyTemplate template, NecrifyUser target) voidtempmuteCommand(NecrifyUser sender, NecrifyUser target, PunishmentDuration duration, String reason) voidunbanCommand(NecrifyUser sender, NecrifyUser target) voidunmuteCommand(NecrifyUser sender, NecrifyUser target) voiduserCommand(NecrifyUser sender, NecrifyUser target, String option) voidwhitelistCommand(NecrifyUser sender, String option)
-
Constructor Details
-
NecrifyCommand
-
-
Method Details
-
banCommand
-
muteCommand
-
kickCommand
-
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
-
unmuteCommand
-
punishmentCommand
public void punishmentCommand(NecrifyUser sender, Punishment punishmentParsed, String option, Punishment otherPunishment, Integer pageArgument) -
userCommand
-
reloadCommand
-
infoCommand
-
whitelistCommand
-
createTemplateCommand
-
templateInfoCommand
-
templateDeleteCommand
-
templateAddStageCommand
public void templateAddStageCommand(NecrifyUser sender, NecrifyTemplate template, PunishmentDuration duration, PunishmentType punishmentType, String reasonString) -
templateRemoveStageCommand
-
templateApplyCommand
-
templateAmnestyCommand
public void templateAmnestyCommand(NecrifyUser sender, NecrifyTemplate template, NecrifyUser target, Integer toStage) -
templateStateCommand
-
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
-