Class StatisticsCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.StatisticsCommand
- 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
description, name, permission -
Constructor Summary
ConstructorsConstructorDescriptionStatisticsCommand(GeyserImpl geyser, String name, String description, String permission) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(GeyserSession session, GeyserCommandSource sender, String[] args)booleanbooleanIf false, hides the command from being shown on the Geyser Standalone GUI.Methods inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, description, hasSubCommands, isSuggestedOpOnly, name, permission, setAliases, subCommands
-
Constructor Details
-
StatisticsCommand
-
-
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.- Specified by:
isExecutableOnConsolein interfaceorg.geysermc.geyser.api.command.Command- Overrides:
isExecutableOnConsolein classGeyserCommand- Returns:
- true if the command can be run on the server console
-
isBedrockOnly
public boolean isBedrockOnly()
-