Uses of Class
top.focess.qq.api.command.CommandSender
-
Packages that use CommandSender Package Description top.focess.qq.api.bot.contact top.focess.qq.api.command top.focess.qq.api.event.command -
-
Uses of CommandSender in top.focess.qq.api.bot.contact
Methods in top.focess.qq.api.bot.contact that return CommandSender Modifier and Type Method Description default CommandSenderCommandExecutor. getCommandSender() -
Uses of CommandSender in top.focess.qq.api.command
Fields in top.focess.qq.api.command declared as CommandSender Modifier and Type Field Description static CommandSenderCommandSender. CONSOLEPresent CONSOLE or we call it TerminateMethods in top.focess.qq.api.command that return CommandSender Modifier and Type Method Description static CommandSenderCommandSender. of(CommandExecutor executor)Get the CommandSender by CommandExecutorMethods in top.focess.qq.api.command that return types with arguments of type CommandSender Modifier and Type Method Description java.util.function.Predicate<CommandSender>Command. getExecutorPermission()Methods in top.focess.qq.api.command with parameters of type CommandSender Modifier and Type Method Description static Future<CommandResult>CommandLine. exec(CommandSender sender, String command)Execute command with senderstatic Future<CommandResult>CommandLine. exec(CommandSender sender, String command, IOHandler ioHandler)Execute command with sender executing and ioHandler receivingCommandResultCommand. execute(CommandSender sender, String[] args, IOHandler ioHandler)Execute the command with special argumentsCommandResultCommandExecutor. execute(CommandSender sender, DataCollection dataCollection, IOHandler ioHandler)Used to execute the command under certain conditions@NonNull StringSpecialArgumentComplexHandler. handle(String name, CommandSender sender, Command command, String[] args, int i, String... arguments)Handle the special argumentdefault @NonNull StringSpecialArgumentHandler. handle(String name, CommandSender sender, Command command, String[] args, int i, String... arguments)@NonNull StringSpecialArgumentHandler. handle(CommandSender sender, Command command, String[] args, int i)Handle the special argumentvoidCommand. infoUsage(CommandSender sender, IOHandler ioHandler)abstract List<String>Command. usage(CommandSender sender)Used to get help information when execute this command with wrong arguments or the executor returnsCommandResult.ARGSMethod parameters in top.focess.qq.api.command with type arguments of type CommandSender Modifier and Type Method Description 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. setExecutorPermission(java.util.function.Predicate<CommandSender> executorPermission)Set the executor permission check for this Executor When execute this Executor, it will checkCommand.executorPermissionand the executorPermissionvoidCommand. setExecutorPermission(java.util.function.Predicate<CommandSender> executorPermission) -
Uses of CommandSender in top.focess.qq.api.event.command
Methods in top.focess.qq.api.event.command that return CommandSender Modifier and Type Method Description CommandSenderCommandExecutedEvent. getSender()CommandSenderCommandPrepostEvent. getSender()Constructors in top.focess.qq.api.event.command with parameters of type CommandSender Constructor Description CommandExecutedEvent(Command.Executor executor, String[] args, IOHandler ioHandler, CommandSender sender, CommandResult result)Constructs a CommandExecutedEventCommandPrepostEvent(CommandSender sender, Command command, String[] args, IOHandler ioHandler)Constructs a CommandPrepostEvent
-