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

public abstract class GeyserExtensionCommand extends GeyserCommand
  • Constructor Details

    • GeyserExtensionCommand

      public GeyserExtensionCommand(@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 Details

    • extension

      public final org.geysermc.geyser.api.extension.Extension extension()
    • rootCommand

      public final String rootCommand()
      Overrides:
      rootCommand in class GeyserCommand
      Returns:
      the first (literal) argument of this command, which comes before GeyserCommand.name().