Package net.luckperms.api.context
Class DefaultContextKeys
java.lang.Object
net.luckperms.api.context.DefaultContextKeys
Some default context keys used by the plugin.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The context key used to denote the dimension type of the subjects world.static final String
The context key used to denote the subjects gamemode.static final String
The context key used to denote the name of the subjects server.static final String
The context key used to denote the name of the subjects world. -
Method Summary
-
Field Details
-
SERVER_KEY
The context key used to denote the name of the subjects server.- See Also:
-
WORLD_KEY
The context key used to denote the name of the subjects world.- See Also:
-
DIMENSION_TYPE_KEY
The context key used to denote the dimension type of the subjects world.Possible values: overworld, the_nether, the_end
- Since:
- 5.3
- See Also:
-
GAMEMODE_KEY
The context key used to denote the subjects gamemode.Possible values: survival, creative, adventure, spectator
- Since:
- 5.3
- See Also:
-