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 Details

    • SERVER_KEY

      public static final String SERVER_KEY
      The context key used to denote the name of the subjects server.
      See Also:
    • WORLD_KEY

      public static final String WORLD_KEY
      The context key used to denote the name of the subjects world.
      See Also:
    • 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:
    • 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: