Class StatisticsCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.StatisticsCommand
-
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
description, name, permission
-
Constructor Summary
ConstructorDescriptionStatisticsCommand(GeyserImpl geyser, String name, String description, String permission)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(GeyserSession session, CommandSender sender, String[] args)
boolean
Used to send a deny message to Java players if this command can only be used by Bedrock players.boolean
If 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
-
StatisticsCommand
-
-
Method Details
-
execute
- Specified by:
execute
in classGeyserCommand
-
isExecutableOnConsole
public boolean isExecutableOnConsole()Description copied from class:GeyserCommand
If false, hides the command from being shown on the Geyser Standalone GUI.- Overrides:
isExecutableOnConsole
in classGeyserCommand
- Returns:
- true if the command can be run on the server console
-
isBedrockOnly
public boolean isBedrockOnly()Description copied from class:GeyserCommand
Used to send a deny message to Java players if this command can only be used by Bedrock players.- Overrides:
isBedrockOnly
in classGeyserCommand
- Returns:
- true if this command can only be used by Bedrock players.
-