Uses of Class
dev.ua.theroer.magicutils.commands.MagicCommand.Builder
Packages that use MagicCommand.Builder
-
Uses of MagicCommand.Builder in dev.ua.theroer.magicutils.commands
Methods in dev.ua.theroer.magicutils.commands that return MagicCommand.BuilderModifier and TypeMethodDescriptionSets the command aliases.MagicCommand.Builder.argument(CommandArgument argument) Adds a command argument.MagicCommand.Builder.arguments(List<CommandArgument> arguments) Sets the list of command arguments.static <S> MagicCommand.Builder<S> Creates a builder-backed command definition.MagicCommand.Builder.description(String description) Sets the command description.MagicCommand.Builder.execute(CommandExecutor<S> executor) Sets the command executor.MagicCommand.Builder.mount(MagicCommand command) Mounts another MagicCommand to this command.MagicCommand.Builder.mount(String route, MagicCommand command) Mounts another MagicCommand to a specific sub-path.MagicCommand.Builder.permission(String permission) Sets the required permission node.MagicCommand.Builder.permissionDefault(MagicPermissionDefault permissionDefault) Sets the default permission state.MagicCommand.Builder.subCommand(SubCommandSpec<S> subCommand) Adds a subcommand.MagicCommand.Builder.threading(CommandThreading threading) Sets the execution threading mode.