Annotation Interface CommandPermissions


@Retention(RUNTIME) public @interface CommandPermissions
Indicates a list of permissions that should be checked.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A list of permissions.
  • Element Details

    • value

      String[] value
      A list of permissions. Only one permission has to be met for the command to be permitted.
      Returns:
      a list of permissions strings