Uses of Interface
de.marcely.bedwars.api.command.SubCommand
Packages that use SubCommand
Package
Description
Classes used to implement the MBedwars command system.
The events fired by MBedwars
-
Uses of SubCommand in de.marcely.bedwars.api.command
Subinterfaces of SubCommand in de.marcely.bedwars.api.commandModifier and TypeInterfaceDescriptioninterface
A collection of sub commands
The default handler is the HelpCommandHandler
It'll display all commands, similar to /bw and /bw arenaMethods in de.marcely.bedwars.api.command that return SubCommandModifier and TypeMethodDescription@Nullable SubCommand
CommandsCollection.addCommand
(String name) Add a command to this collectiondefault @Nullable SubCommand
CommandsCollection.getCommand
(String name) Returns the sub command that has that name or an alias with that name@Nullable SubCommand
CommandsCollection.getCommand
(String name, boolean deep) Returns the sub command that has a name equal to the givenname
parameterMethods in de.marcely.bedwars.api.command that return types with arguments of type SubCommandModifier and TypeMethodDescriptionCommandsCollection.getCommands()
Returns the command that have been already added to this collectionMethods in de.marcely.bedwars.api.command with parameters of type SubCommandModifier and TypeMethodDescriptionvoid
CollectionCommandHandler.onRegister
(SubCommand collection) void
CommandHandler.onRegister
(SubCommand cmd) Gets called whenever the command is getting added as handlervoid
CommandHandler.Silent.onRegister
(SubCommand cmd) void
HelpCommandHandler.onRegister
(SubCommand collection) boolean
CommandsCollection.removeCommand
(SubCommand command) Removes the command from the collection -
Uses of SubCommand in de.marcely.bedwars.api.event
Methods in de.marcely.bedwars.api.event that return SubCommandModifier and TypeMethodDescriptionCommandExecuteEvent.getCommand()
The subcommand that has been executedConstructors in de.marcely.bedwars.api.event with parameters of type SubCommandModifierConstructorDescriptionCommandExecuteEvent
(CommandSender sender, SubCommand command, String label, String[] args)