Annotation Interface CommandAlias


@Target(TYPE) @Retention(RUNTIME) public @interface CommandAlias
This annotation specifies all aliases of a command. The processing of this annotation is done in the runtime to collect all aliases of a command for the CommandInfo
Since:
4.0
See Also:
  • CommandInfo
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The String array should contain all aliases for the commands that are located in the annotated class.
  • Element Details

    • value

      String[] value
      The String array should contain all aliases for the commands that are located in the annotated class.

      Note: The aliases should not contain the root name of the command.

      Returns:
      all aliases for the commands of a class.