Class DefaultContextKeys


  • public final class DefaultContextKeys
    extends Object
    Some default context keys used by the plugin.
    • 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