Annotation Interface Command


@Retention(RUNTIME) @Target(TYPE) public @interface Command
Used for all kinds of implementations of ICommand interface. This annotation contains data required for the command manager. It's almost like a representation of what used to be put in plugin.yml
  • Element Details

    • name

      @NotNull @NotNull String name
    • description

      @NotNull @NotNull String description
      Default:
      ""
    • permission

      @NotNull @NotNull String permission
      Default:
      ""
    • permissionMessage

      @NotNull @NotNull String permissionMessage
      Default:
      ""
    • aliases

      @NotNull @NotNull String[] aliases
      Default:
      {}