Annotation Interface CommandParameters


@Retention(RUNTIME) public @interface CommandParameters
Storage for a command's parameters
  • Required Element Summary Link icon

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name
  • Optional Element Summary Link icon

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The aliases (optional)
    The description
    The usage (optional)
  • Element Details

    • name Link icon

      String name
      The name
      Returns:
      Name of the command
    • description Link icon

      String description
      The description
      Returns:
      Description of the command
      Default:
      ""
    • usage Link icon

      String usage
      The usage (optional)
      Returns:
      The usage of the command
      Default:
      "/<command>"
    • aliases Link icon

      String aliases
      The aliases (optional)
      Returns:
      The aliases of the command
      Default:
      ""