Package com.plotsquared.core.permissions
Enum Class Permission
- All Implemented Interfaces:
Serializable
,Comparable<Permission>
,Constable
,ComponentLike
Permission class.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescription@NotNull Component
toString()
static Permission
Returns the enum constant of this class with the specified name.static Permission[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PERMISSION_STAR
-
PERMISSION_ADMIN
-
PERMISSION_ADMIN_AREA_SUDO
-
PERMISSION_ADMIN_INTERACT_BLOCKED_CMDS
-
PERMISSION_WORLDEDIT_BYPASS
-
PERMISSION_PLOT_TOGGLE_TITLES
-
PERMISSION_PLOT_TOGGLE_CHAT
-
PERMISSION_PLOT_TOGGLE_TIME
-
PERMISSION_ADMIN_UPDATE_NOTIFICATION
-
PERMISSION_ADMIN_EXIT_DENIED
-
PERMISSION_ADMIN_ENTRY_DENIED
-
PERMISSION_ADMIN_VISIT_UNTRUSTED
-
PERMISSION_ADMIN_ENTRY_FORCEFIELD
-
PERMISSION_ADMIN_COMMANDS_CHATSPY
-
PERMISSION_MERGE
-
PERMISSION_MERGE_ALL
-
PERMISSION_MERGE_OTHER
-
PERMISSION_MERGE_KEEP_ROAD
-
PERMISSION_ADMIN_CAPS_OTHER
-
PERMISSION_ADMIN_MUSIC_OTHER
-
PERMISSION_ADMIN_DESTROY
-
PERMISSION_ADMIN_DESTROY_UNOWNED
-
PERMISSION_ADMIN_DESTROY_GROUNDLEVEL
-
PERMISSION_ADMIN_DESTROY_OTHER
-
PERMISSION_ADMIN_DESTROY_ROAD
-
PERMISSION_ADMIN_DESTROY_VEHICLE_ROAD
-
PERMISSION_ADMIN_DESTROY_VEHICLE_UNOWNED
-
PERMISSION_ADMIN_DESTROY_VEHICLE_OTHER
-
PERMISSION_ADMIN_PVE
-
PERMISSION_ADMIN_PLACE_VEHICLE_ROAD
-
PERMISSION_ADMIN_PLACE_VEHICLE_UNOWNED
-
PERMISSION_ADMIN_PLACE_VEHICLE_OTHER
-
PERMISSION_ADMIN_PVP
-
PERMISSION_ADMIN_BUILD_ROAD
-
PERMISSION_ADMIN_PROJECTILE_ROAD
-
PERMISSION_ADMIN_PROJECTILE_UNOWNED
-
PERMISSION_ADMIN_PROJECTILE_OTHER
-
PERMISSION_ADMIN_BUILD_UNOWNED
-
PERMISSION_ADMIN_BUILD_OTHER
-
PERMISSION_ADMIN_INTERACT_ROAD
-
PERMISSION_ADMIN_INTERACT_UNOWNED
-
PERMISSION_ADMIN_INTERACT_OTHER
-
PERMISSION_ADMIN_BUILD_HEIGHT_LIMIT
-
PERMISSION_ADMIN_COMMAND_PURGE_RATINGS
-
PERMISSION_ADMIN_COMMAND_ADD
-
PERMISSION_ADMIN_COMMAND_TRUST
-
PERMISSION_TRUST
-
PERMISSION_DENY
-
PERMISSION_ADD
-
PERMISSION_TRUST_EVERYONE
-
PERMISSION_AREA_CREATE
-
PERMISSION_AREA_INFO
-
PERMISSION_AREA_INFO_FORCE
-
PERMISSION_AREA_LIST
-
PERMISSION_AREA_REGEN
-
PERMISSION_AREA_TP
-
PERMISSION_AREA
-
PERMISSION_AUTO_MEGA
-
PERMISSION_CLAIM_SCHEMATIC
-
PERMISSION_ADMIN_COMMAND_SCHEMATIC
-
PERMISSION_ADMIN_COMMAND_CLEAR
-
PERMISSION_CONTINUE
-
PERMISSION_CLUSTER
-
PERMISSION_CLUSTER_LIST
-
PERMISSION_CLUSTER_CREATE
-
PERMISSION_CLUSTER_CREATE_OTHER
-
PERMISSION_CLUSTER_SIZE
-
PERMISSION_CLUSTER_DELETE
-
PERMISSION_CLUSTER_DELETE_OTHER
-
PERMISSION_CLUSTER_RESIZE
-
PERMISSION_CLUSTER_RESIZE_OTHER
-
PERMISSION_CLUSTER_RESIZE_SHRINK
-
PERMISSION_CLUSTER_RESIZE_EXPAND
-
PERMISSION_CLUSTER_INVITE
-
PERMISSION_CLUSTER_INVITE_OTHER
-
PERMISSION_CLUSTER_KICK
-
PERMISSION_CLUSTER_KICK_OTHER
-
PERMISSION_CLUSTER_LEAVE
-
PERMISSION_CLUSTER_HELPERS
-
PERMISSION_CLUSTER_TP
-
PERMISSION_CLUSTER_TP_OTHER
-
PERMISSION_CLUSTER_INFO
-
PERMISSION_CLUSTER_SETHOME
-
PERMISSION_CLUSTER_SETHOME_OTHER
-
PERMISSION_ADMIN_COMMAND_CONTINUE
-
PERMISSION_ADMIN_COMMAND_DELETE
-
PERMISSION_ADMIN_COMMAND_DENY
-
PERMISSION_DENY_EVERYONE
-
PERMISSION_ADMIN_COMMAND_DONE
-
PERMISSION_ADMIN_COMMAND_DOWNLOAD
-
PERMISSION_DOWNLOAD
-
PERMISSION_DOWNLOAD_WORLD
-
PERMISSION_SET_FLAG_OTHER
-
PERMISSION_SET_FLAG
-
PERMISSION_SET_FLAG_KEY
-
PERMISSION_SET_FLAG_KEY_VALUE
-
PERMISSION_SET
-
PERMISSION_SET_BIOME
-
PERMISSION_SET_ALIAS
-
PERMISSION_SET_HOME
-
PERMISSION_SET_MAIN
-
PERMISSION_SET_FLOOR
-
PERMISSION_SET_AIR
-
PERMISSION_SET_ALL
-
PERMISSION_SET_BORDER
-
PERMISSION_SET_WALL
-
PERMISSION_SET_OUTLINE
-
PERMISSION_SET_MIDDLE
-
PERMISSION_TARGET
-
PERMISSION_TEMPLATE
-
PERMISSION_TEMPLATE_IMPORT
-
PERMISSION_TEMPLATE_EXPORT
-
PERMISSION_FLAG_REMOVE
-
PERMISSION_FLAG_ADD
-
PERMISSION_FLAG_LIST
-
PERMISSION_ADMIN_COMMAND_KICK
-
PERMISSION_GRANT_SINGLE
-
PERMISSION_GRANT
-
PERMISSION_GRANT_ADD
-
PERMISSION_GRANT_CHECK
-
PERMISSION_LIST_FOR_SALE
-
PERMISSION_LIST_MINE
-
PERMISSION_LIST_SHARED
-
PERMISSION_LIST_WORLD
-
PERMISSION_LIST_WORLD_NAME
-
PERMISSION_LIST_TOP
-
PERMISSION_LIST_ALL
-
PERMISSION_LIST_UNOWNED
-
PERMISSION_LIST_PLAYER
-
PERMISSION_LIST_DONE
-
PERMISSION_LIST_EXPIRED
-
PERMISSION_LIST_FUZZY
-
PERMISSION_LIST_AREA
-
PERMISSION_ADMIN_COMMAND_LOAD
-
PERMISSION_ADMIN_COMMAND_MERGE
-
PERMISSION_ADMIN_COMMAND_MERGE_OTHER_OFFLINE
-
PERMISSION_ADMIN_COMMAND_SET_OWNER
-
PERMISSION_COMMENT
-
PERMISSION_INBOX
-
PERMISSION_INBOX_READ_OWNER
-
PERMISSION_INBOX_READ_PUBLIC
-
PERMISSION_INBOX_READ_REPORT
-
PERMISSION_ADMIN_COMMAND_REMOVE
-
PERMISSION_ADMIN_COMMAND_SAVE
-
PERMISSION_ADMIN_COMMAND_SCHEMATIC_PASTE
-
PERMISSION_SCHEMATIC
-
PERMISSION_SCHEMATIC_PASTE
-
PERMISSION_SCHEMATIC_LIST
-
PERMISSION_SCHEMATIC_SAVE
-
PERMISSION_ADMIN_COMMAND_SCHEMATIC_SAVE
-
PERMISSION_SET_COMPONENT
-
PERMISSION_ADMIN_COMMAND
-
PERMISSION_ADMIN_COMMAND_UNLINK
-
PERMISSION_VISIT_UNOWNED
-
PERMISSION_VISIT_OWNED
-
PERMISSION_SHARED
-
PERMISSION_VISIT_DENIED
-
PERMISSION_VISIT_OTHER
-
PERMISSION_HOME
-
PERMISSION_ALIAS_SET
-
PERMISSION_ADMIN_ALIAS_SET
-
PERMISSION_ALIAS_REMOVE
-
PERMISSION_ADMIN_ALIAS_REMOVE
-
PERMISSION_ADMIN_CHAT_BYPASS
-
PERMISSION_BACKUP
-
PERMISSION_BACKUP_SAVE
-
PERMISSION_BACKUP_LIST
-
PERMISSION_BACKUP_LOAD
-
PERMISSION_ADMIN_BACKUP_OTHER
-
PERMISSION_ADMIN_ALLOW_UNSAFE
-
PERMISSION_ADMIN_DEBUG_OTHER
-
PERMISSION_RATE
-
PERMISSION_ADMIN_FLIGHT
-
PERMISSION_ADMIN_COMPONENTS_OTHER
-
PERMISSION_ADMIN_BYPASS_BORDER
-
PERMISSION_ADMIN_BYPASS_ECON
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<Permission>
-
format
-
asComponent
- Specified by:
asComponent
in interfaceComponentLike
-