Uses of Interface
de.marcely.bedwars.api.command.CommandHandler
-
Uses of CommandHandler in de.marcely.bedwars.api.command
Modifier and TypeInterfaceDescriptioninterface
A CommandHandler handles the execution of a command that supportsCommandSenderWrapper
.Modifier and TypeClassDescriptionclass
The default handler of aCommandsCollection
static class
The default command handler that effectively does nothingclass
Modifier and TypeMethodDescriptionSubCommand.getHandler()
The handler handles what should happen when the command is e.g. getting executedCommandsCollection.getHelpCommand()
Returns the command that will be executed when the player only executes the command on this collection level and not deeperModifier and TypeMethodDescriptionvoid
SubCommand.setHandler
(CommandHandler handler) The handler handles what should happen when the command is e.g. getting executedvoid
CommandsCollection.setHelpCommand
(CommandHandler cmd) Set the command that shall be executed when the player only executes the command on this collection level and not deeper