Uses of Class
top.focess.qq.api.command.Command.Executor
-
Packages that use Command.Executor Package Description top.focess.qq.api.command top.focess.qq.api.event.command -
-
Uses of Command.Executor in top.focess.qq.api.command
Methods in top.focess.qq.api.command that return Command.Executor Modifier and Type Method Description Command.ExecutorCommand.Executor. addCommandResultExecutor(CommandResult result, CommandResultExecutor executor)Set the executor of the special CommandResult after executing this ExecutorCommand.ExecutorCommand. addExecutor(CommandExecutor executor, CommandArgument<?>... commandArguments)Add default executor to define how to execute this command.Command.ExecutorCommand.Executor. overrideExecutorPermission(java.util.function.Predicate<CommandSender> executorPermission)Set the executor permission check for this Executor When execute this Executor, it will only check the executorPermissionCommand.ExecutorCommand.Executor. removeExecutorPermission()Remove the executor permission check for this ExecutorCommand.ExecutorCommand.Executor. setExecutorPermission(java.util.function.Predicate<CommandSender> executorPermission)Set the executor permission check for this Executor When execute this Executor, it will checkCommand.executorPermissionand the executorPermissionCommand.ExecutorCommand.Executor. setPermission(CommandPermission permission)Set the executor Permission (Only if the CommandSender has the command that this executor belongs to and this executor's permissions, this executor runs) -
Uses of Command.Executor in top.focess.qq.api.event.command
Methods in top.focess.qq.api.event.command that return Command.Executor Modifier and Type Method Description Command.ExecutorCommandExecutedEvent. getExecutor()Constructors in top.focess.qq.api.event.command with parameters of type Command.Executor Constructor Description CommandExecutedEvent(Command.Executor executor, String[] args, IOHandler ioHandler, CommandSender sender, CommandResult result)Constructs a CommandExecutedEvent
-