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.commandSubinterfaces of SubCommand in de.marcely.bedwars.api.commandModifier and TypeInterfaceDescriptioninterfaceA 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 SubCommandCommandsCollection.addCommand(String name) Add a command to this collectiondefault @Nullable SubCommandCommandsCollection.getCommand(String name) Returns the sub command that has that name or an alias with that name@Nullable SubCommandCommandsCollection.getCommand(String name, boolean deep) Returns the sub command that has a name equal to the givennameparameterMethods 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 TypeMethodDescriptionvoidCollectionCommandHandler.onRegister(SubCommand collection) voidCommandHandler.onRegister(SubCommand cmd) Gets called whenever the command is getting added as handlervoidCommandHandler.Silent.onRegister(SubCommand cmd) voidHelpCommandHandler.onRegister(SubCommand collection) booleanCommandsCollection.removeCommand(SubCommand command) Removes the command from the collection
- 
Uses of SubCommand in de.marcely.bedwars.api.eventMethods 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)