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
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
getDescription(String command)
Returns the description of the given commandvoid
registerCommand(GeyserCommand command)
void
runCommand(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
-