Package com.griefdefender.api.permission
Class ContextKeys
java.lang.Object
com.griefdefender.api.permission.ContextKeys
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringRepresents acontext key.invalid reference
Claimstatic final StringRepresents aorinvalid reference
Claimdefault context key.invalid reference
ClaimTypestatic final StringRepresents aorinvalid reference
Claimoverride context key.invalid reference
ClaimTypestatic final StringRepresents acontext key.invalid reference
ClaimGroupstatic final StringRepresents aoverride context key.invalid reference
ClaimGroupstatic final StringRepresents a clan context key.static final StringRepresents a custom type context key.static final StringRepresents a flag context key.static final StringRepresents a rent context key.static final StringRepresents a commandcontext key.invalid reference
Optionstatic final StringRepresents a commandcontext key.invalid reference
Optionstatic final StringRepresents asource context key.invalid reference
Flagstatic final StringRepresents one or more block state context key.static final StringRepresents atarget.invalid reference
Flagstatic final StringRepresents the used player item. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLAIM
Represents acontext key. Note: This context links a permission to a claim. Only accepts ainvalid reference
Claimas a value.invalid reference
UUID- See Also:
-
CLAIM_DEFAULT
Represents aorinvalid reference
Claimdefault context key. Note: This context is only applied as a default to a claim. Accepts the following values :invalid reference
ClaimType- global
- admin
- basic
- subdivision
- town
- wilderness
- See Also:
-
CLAIM_OVERRIDE
Represents aorinvalid reference
Claimoverride context key. Note: This context forces a permission to all users of a claim including owners. Accepts the following values :invalid reference
ClaimType- global
- admin
- basic
- subdivision
- town
- wilderness
- claim uuid
- See Also:
-
CLAIMGROUP
Represents acontext key. Note: This context links a permission to a claim group.invalid reference
ClaimGroup- See Also:
-
CLAIMGROUP_OVERRIDE
Represents aoverride context key.invalid reference
ClaimGroup
Note: Use the uuid for its value.
Note: If you want to affect claim types then useCLAIM_OVERRIDEcontext instead.- See Also:
-
CLAN
Represents a clan context key. Note: This context is designed to be paired with one of the following contexts :- gd_claim
- gd_claim_default
- gd_claim_override
- See Also:
-
CUSTOM_TYPE
Represents a custom type context key. Note: This context is designed to be paired with one of the following contexts :- gd_claim
- gd_claim_default
- gd_claim_override
- See Also:
-
FLAG
Represents a flag context key. Note: This is only used for's to pair it with ainvalid reference
Option.invalid reference
Flag- See Also:
-
RENT
Represents a rent context key. Note: This should always be applied to claims that are rented.- See Also:
-
RUN_AS
Represents a commandcontext key. Used by optionsinvalid reference
OptionOptions.PLAYER_COMMAND_ENTERandOptions.PLAYER_COMMAND_EXIT.- See Also:
-
RUN_FOR
Represents a commandcontext key. Used by optionsinvalid reference
OptionOptions.PLAYER_COMMAND_ENTERandOptions.PLAYER_COMMAND_EXIT.- See Also:
-
SOURCE
Represents asource context key.invalid reference
Flag- See Also:
-
STATE
Represents one or more block state context key.- See Also:
-
TARGET
Represents atarget.invalid reference
Flag- See Also:
-
USED_ITEM
Represents the used player item.- See Also:
-
-
Constructor Details
-
ContextKeys
public ContextKeys()
-