Class DumpCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.DumpCommand
-
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
description, name, permission -
Constructor Summary
ConstructorsConstructorDescriptionDumpCommand(GeyserImpl geyser, String name, String description, String permission) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(GeyserSession session, CommandSender sender, String[] args)Used in the GUI to know what subcommands can be runbooleanUsed for permission defaults on server implementations.Methods inherited from class org.geysermc.geyser.command.GeyserCommand
hasSubCommands, isBedrockOnly, isExecutableOnConsole
-
Constructor Details
-
DumpCommand
-
-
Method Details
-
execute
- Specified by:
executein classGeyserCommand
-
getSubCommands
Description copied from class:GeyserCommandUsed in the GUI to know what subcommands can be run- Overrides:
getSubCommandsin classGeyserCommand- Returns:
- a list of all possible subcommands, or empty if none.
-
isSuggestedOpOnly
public boolean isSuggestedOpOnly()Description copied from class:GeyserCommandUsed for permission defaults on server implementations.- Overrides:
isSuggestedOpOnlyin classGeyserCommand- Returns:
- if this command is designated to be used only by server operators.
-