Class GeyserExtensionCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.extension.command.GeyserExtensionCommand
- All Implemented Interfaces:
org.geysermc.geyser.api.command.Command
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGeyserExtensionCommand.Builder<T extends org.geysermc.geyser.api.command.CommandSource> -
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, DEFAULT_ROOT_COMMAND -
Constructor Summary
ConstructorsConstructorDescriptionGeyserExtensionCommand(@NonNull org.geysermc.geyser.api.extension.Extension extension, @NonNull String name, @NonNull String description, @NonNull String permission, @Nullable org.geysermc.geyser.api.util.TriState permissionDefault, boolean playerOnly, boolean bedrockOnly) -
Method Summary
Methods inherited from class org.geysermc.geyser.command.GeyserCommand
aliases, baseBuilder, commandPermission, description, execute, isBedrockOnly, isPlayerOnly, meta, name, permission, permissionDefault, registerMethods 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
isExecutableOnConsole, isSuggestedOpOnly, subCommands
-
Constructor Details
-
GeyserExtensionCommand
-
-
Method Details
-
extension
public final org.geysermc.geyser.api.extension.Extension extension() -
rootCommand
- Overrides:
rootCommandin classGeyserCommand- Returns:
- the first (literal) argument of this command, which comes before
GeyserCommand.name().
-