Class BaseCommandHandler
java.lang.Object
me.github.simonplays15.betterbansystem.core.command.BaseCommandHandler
The BaseCommandHandler class is responsible for handling commands in a command-based
system.
It contains a collection of registered commands and provides methods to register and retrieve them.
-
Constructor Summary
ConstructorsConstructorDescriptionThe BaseCommandHandler class represents a command handler for managing and executing commands. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the commands registered in the BaseCommandHandler.
-
Constructor Details
-
BaseCommandHandler
public BaseCommandHandler()The BaseCommandHandler class represents a command handler for managing and executing commands.
-
-
Method Details
-
getCommands
Retrieves the commands registered in the BaseCommandHandler.- Returns:
- A map containing the registered commands, where the key is the command name and the value is the corresponding BaseCommand object.
-