Class VersionCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.VersionCommand
- 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
ConstructorsConstructorDescriptionVersionCommand(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.Methods inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, description, isExecutableOnConsole, name, permission, setAliases, subCommandsMethods 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
-
VersionCommand
-
-
Method Details
-
execute
- Specified by:
executein classGeyserCommand
-
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.
-