Class HelpCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.HelpCommand
-
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
description, name, permission
-
Constructor Summary
ConstructorDescriptionHelpCommand(GeyserImpl geyser, String name, String description, String permission)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(GeyserSession session, CommandSender sender, String[] args)
Sends the help menu to a command sender.Methods inherited from class org.geysermc.geyser.command.GeyserCommand
getAliases, getDescription, getName, getPermission, getSubCommands, hasSubCommands, isBedrockOnly, isExecutableOnConsole, setAliases
-
Constructor Details
-
HelpCommand
-
-
Method Details
-
execute
Sends the help menu to a command sender. Will not show certain commands depending on the command sender and session.- Specified by:
execute
in classGeyserCommand
- Parameters:
session
- The Geyser session of the command sender, if it is a bedrock player. If null, bedrock-only commands will be hidden.sender
- The CommandSender to send the help message to.args
- Not used.
-