Package org.geysermc.geyser.command
Class CommandManager
java.lang.Object
org.geysermc.geyser.command.CommandManager
- Direct Known Subclasses:
GeyserBungeeCommandManager,GeyserCommandManager,GeyserSpigotCommandManager,GeyserSpongeCommandManager,GeyserVelocityCommandManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetDescription(String command)Returns the description of the given commandvoidregisterCommand(GeyserCommand command)voidrunCommand(CommandSender sender, String command)
-
Constructor Details
-
CommandManager
-
-
Method Details
-
registerCommand
-
runCommand
-
getCommandNames
- Returns:
- a list of all subcommands under
/geyser.
-
getDescription
Returns the description of the given command- Parameters:
command- Command to get the description for- Returns:
- Command description
-
getCommands
-