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
    Deprecated.
    Use commands() instead for multiple commands.
    The commands to register.
    The name of the tab completer.
  • Element Details

    • command

      String command
      Deprecated.
      Use commands() instead for multiple commands.
      The command to register.
      Default:
      ""
    • commands

      String[] commands
      The commands to register.
      Default:
      {}
    • name

      String name
      The name of the tab completer. NOT the actual command string, but a speaking name for the completer.
      Default:
      ""