Uses of Class
com.burchard36.api.command.ApiCommand
Packages that use ApiCommand
Package
Description
Main package for the plugin, holds the 3 main classes, as well as all the other packages
The Command API package for this library
- 
Uses of ApiCommand in com.burchard36.api
Method parameters in com.burchard36.api with type arguments of type ApiCommandModifier and TypeMethodDescriptionApiSettings.blockCommandFromLoading(Class<? extends ApiCommand> clazz)Blocks a specific command class from being automatically registered - 
Uses of ApiCommand in com.burchard36.api.command
Methods in com.burchard36.api.command that return ApiCommandModifier and TypeMethodDescriptionApiCommand.onConsoleSender(OnConsoleSender sender)Sets the function to run when aConsoleCommandSendersends a commandApiCommand.onPlayerSender(OnPlayerSender sender)Sets the function to run when aPlayersends a commandApiCommand.onTabComplete(OnTabComplete onComplete)Executes a TabCompleter for this command, only usage if you set aOnPlayerSenderinterface usingonPlayerSenderApiCommand.setCommandAliases(String... aliases)Sets the aliases of this commandApiCommand.setCommandDescription(String newDesc)Sets the description of this commandApiCommand.setCommandName(String newName)Sets the command name when executing eg /ApiCommand.setCommandUsage(String usage)Sets the Command usage message for this commandMethods in com.burchard36.api.command with parameters of type ApiCommandModifier and TypeMethodDescriptionstatic voidCommandInjector.registerCommand(ApiCommand command)Registers a single commandMethod parameters in com.burchard36.api.command with type arguments of type ApiCommandModifier and TypeMethodDescriptionstatic voidCommandInjector.registerCommands(List<ApiCommand> commands)Registers a whole list of commands at once