Annotation Interface Command


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Command
Declares a command entry point on a type or method. The first name is treated as the primary command name; the rest are aliases.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NotNull String[]
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      @NotNull @NotNull String[] value
      Returns:
      The names of this command The first element is the unique name of the command others are going to be considered the aliases
    • skipSuggestionsChecks

      boolean skipSuggestionsChecks
      Returns:
      Whether to ignore the permission checks while auto-completing/suggesting or not
      Default:
      false