Annotation Interface CommandAliases


@Retention(RUNTIME) @Target(TYPE) public @interface CommandAliases
Interface to set a list of Aliases for a class extending ApiCommand This is optional, however this will override the aliases String set in a RegisterCommand annotation
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    List of aliases that the class extending ApiCommand can also use for execution
  • Element Details

    • aliases

      String[] aliases
      List of aliases that the class extending ApiCommand can also use for execution
      Returns:
      String Each containing String must have no spaces and must be lowercase (Uppercase letters are automtically switched back to lowercase)
      Default:
      {}