Enum Class Permissions

java.lang.Object
java.lang.Enum<Permissions>
com.djrapitops.plan.settings.Permissions
All Implemented Interfaces:
Serializable, Comparable<Permissions>, Constable

public enum Permissions extends Enum<Permissions>
Permissions class is used easily check every permission node.
  • Enum Constant Details

    • SERVER

      public static final Permissions SERVER
    • SERVERS

      public static final Permissions SERVERS
    • NETWORK

      public static final Permissions NETWORK
    • PLAYER_SELF

      public static final Permissions PLAYER_SELF
    • PLAYER_OTHER

      public static final Permissions PLAYER_OTHER
    • INGAME_SELF

      public static final Permissions INGAME_SELF
    • INGAME_OTHER

      public static final Permissions INGAME_OTHER
    • REGISTER_SELF

      public static final Permissions REGISTER_SELF
    • REGISTER_OTHER

      public static final Permissions REGISTER_OTHER
    • UNREGISTER_SELF

      public static final Permissions UNREGISTER_SELF
    • UNREGISTER_OTHER

      public static final Permissions UNREGISTER_OTHER
    • SET_GROUP

      public static final Permissions SET_GROUP
    • LOGOUT_OTHER

      public static final Permissions LOGOUT_OTHER
    • INFO

      public static final Permissions INFO
    • RELOAD

      public static final Permissions RELOAD
    • DISABLE

      public static final Permissions DISABLE
    • USERS

      public static final Permissions USERS
    • DATA_BASE

      public static final Permissions DATA_BASE
    • DATA_BACKUP

      public static final Permissions DATA_BACKUP
    • DATA_RESTORE

      public static final Permissions DATA_RESTORE
    • DATA_MOVE

      public static final Permissions DATA_MOVE
    • DATA_HOTSWAP

      public static final Permissions DATA_HOTSWAP
    • DATA_CLEAR

      public static final Permissions DATA_CLEAR
    • DATA_REMOVE_PLAYER

      public static final Permissions DATA_REMOVE_PLAYER
    • DATA_REMOVE_SERVER

      public static final Permissions DATA_REMOVE_SERVER
    • DATA_EXPORT

      public static final Permissions DATA_EXPORT
    • DATA_IMPORT

      public static final Permissions DATA_IMPORT
    • JSON_SELF

      public static final Permissions JSON_SELF
    • JSON_OTHER

      public static final Permissions JSON_OTHER
    • IGNORE_COMMAND_USE

      public static final Permissions IGNORE_COMMAND_USE
    • IGNORE_AFK

      public static final Permissions IGNORE_AFK
  • Method Details

    • values

      public static Permissions[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Permissions valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPermission

      public String getPermission()
      Returns the permission node in plugin.yml.
      Returns:
      permission node eg. plan.inspect.base
    • getPerm

      public String getPerm()
      Returns:
      permission node eg. plan.inspect.base
    • get

      public String get()
      Returns the permission node in plugin.yml.
      Returns:
      permission node eg. plan.inspect.base