Annotation Interface AutoRegisterTabCompleter


@Target(TYPE) @Retention(RUNTIME) public @interface AutoRegisterTabCompleter
Annotation to mark a TabCompleter class for automatic registration. Use the AutoCommandRegistrar to register all annotated tab completers.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The command to register the tab completer for.
    The commands to register the tab completer for.
    Deprecated.
    Use command() or commands() to specify the commands instead.
  • Element Details

    • command

      String command
      The command to register the tab completer for.
      Default:
      ""
    • commands

      String[] commands
      The commands to register the tab completer for.
      Default:
      {}
    • name

      String name
      Deprecated.
      Use command() or commands() to specify the commands instead.
      The name of the tab completer. NOT the actual command string, but a speaking name for the completer.
      Default:
      ""