Package net.luckperms.api.context
Class DefaultContextKeys
- java.lang.Object
-
- net.luckperms.api.context.DefaultContextKeys
-
public final class DefaultContextKeys extends Object
Some default context keys used by the plugin.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDIMENSION_TYPE_KEYThe context key used to denote the dimension type of the subjects world.static StringGAMEMODE_KEYThe context key used to denote the subjects gamemode.static StringSERVER_KEYThe context key used to denote the name of the subjects server.static StringWORLD_KEYThe context key used to denote the name of the subjects world.
-
-
-
Field Detail
-
SERVER_KEY
public static final String SERVER_KEY
The context key used to denote the name of the subjects server.- See Also:
- Constant Field Values
-
WORLD_KEY
public static final String WORLD_KEY
The context key used to denote the name of the subjects world.- See Also:
- Constant Field Values
-
DIMENSION_TYPE_KEY
public static final String 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:
- Constant Field Values
-
GAMEMODE_KEY
public static final String GAMEMODE_KEY
The context key used to denote the subjects gamemode.Possible values: survival, creative, adventure, spectator
- Since:
- 5.3
- See Also:
- Constant Field Values
-
-