Class CommandManager

java.lang.Object
org.geysermc.connector.command.CommandManager

public abstract class CommandManager extends Object
  • Constructor Details

  • Method Details

    • registerCommand

      public void registerCommand(GeyserCommand command)
    • runCommand

      public void runCommand(CommandSender sender, String command)
    • getCommandNames

      public List<String> getCommandNames()
      Returns:
      a list of all subcommands under /geyser.
    • getDescription

      public abstract String getDescription(String command)
      Returns the description of the given command
      Parameters:
      command - Command to get the description for
      Returns:
      Command description