Class HelpCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.HelpCommand
- All Implemented Interfaces:
org.geysermc.geyser.api.command.Command
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.geysermc.geyser.api.command.Command
org.geysermc.geyser.api.command.Command.Builder<T extends org.geysermc.geyser.api.command.CommandSource> -
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, DEFAULT_ROOT_COMMAND -
Constructor Summary
ConstructorsConstructorDescriptionHelpCommand(String rootCommand, String name, String description, String permission, Map<String, GeyserCommand> commands) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(GeyserCommandSource source) voidexecute(org.incendo.cloud.context.CommandContext<GeyserCommandSource> context) Executes this commandMethods inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, baseBuilder, commandPermission, description, isBedrockOnly, isPlayerOnly, meta, name, permission, permissionDefault, registerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.command.Command
isExecutableOnConsole, isSuggestedOpOnly, subCommands
-
Constructor Details
-
HelpCommand
-
-
Method Details
-
rootCommand
- Overrides:
rootCommandin classGeyserCommand- Returns:
- the first (literal) argument of this command, which comes before
GeyserCommand.name().
-
execute
Description copied from class:GeyserCommandExecutes this command- Specified by:
executein classGeyserCommand- Parameters:
context- the context with which this command should be executed
-
execute
-