Class AdvancedTooltipsCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.AdvancedTooltipsCommand
-
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
description, name, permission -
Constructor Summary
ConstructorsConstructorDescriptionAdvancedTooltipsCommand(String name, String description, String permission) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(GeyserSession session, CommandSender sender, String[] args)booleanUsed to send a deny message to Java players if this command can only be used by Bedrock players.booleanIf false, hides the command from being shown on the Geyser Standalone GUI.Methods inherited from class org.geysermc.geyser.command.GeyserCommand
getAliases, getDescription, getName, getPermission, getSubCommands, hasSubCommands, setAliases
-
Constructor Details
-
AdvancedTooltipsCommand
-
-
Method Details
-
execute
- Specified by:
executein classGeyserCommand
-
isExecutableOnConsole
public boolean isExecutableOnConsole()Description copied from class:GeyserCommandIf false, hides the command from being shown on the Geyser Standalone GUI.- Overrides:
isExecutableOnConsolein classGeyserCommand- Returns:
- true if the command can be run on the server console
-
isBedrockOnly
public boolean isBedrockOnly()Description copied from class:GeyserCommandUsed to send a deny message to Java players if this command can only be used by Bedrock players.- Overrides:
isBedrockOnlyin classGeyserCommand- Returns:
- true if this command can only be used by Bedrock players.
-