Class DumpCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.DumpCommand
- 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
ConstructorsConstructorDescriptionDumpCommand(GeyserImpl geyser, String name, String description, String permission) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(GeyserSession session, GeyserCommandSource sender, String[] args) booleanUsed for permission defaults on server implementations.Used in the GUI to know what subcommands can be runMethods inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, description, isExecutableOnConsole, name, permission, setAliasesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.command.Command
isBedrockOnly
-
Constructor Details
-
DumpCommand
-
-
Method Details
-
execute
- Specified by:
executein classGeyserCommand
-
subCommands
Description copied from class:GeyserCommandUsed in the GUI to know what subcommands can be run- Specified by:
subCommandsin interfaceorg.geysermc.geyser.api.command.Command- Overrides:
subCommandsin 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.- Specified by:
isSuggestedOpOnlyin interfaceorg.geysermc.geyser.api.command.Command- Overrides:
isSuggestedOpOnlyin classGeyserCommand- Returns:
- if this command is designated to be used only by server operators.
-