Player conditions

Check the player's world

Ensure the player is in the indicated world before incrementing the quest.

conditions:
  is_in_world:
    - "world_the_end"

In this case, the player must be in the world "world_the_end" to increment the quest.


Check the player's hold item

Check if the player has a certain item before incrementing the quest. Working with the Item comparator.

conditions:
  is_holding:
    name: "magical totem"
    custom_model_data: 3
    hand: "OFF_HAND"

You can also choose which hand you're deciding to check between:

  • MAIN_HAND

  • OFF_HAND

  • BOTH (default - would work if only one of the 2 hands of the player is holding this item)


Check the player's placeholders - (only work with PlaceholderAPI)

Check if the player has certain specific value from placeholders.

conditions:
  placeholders:
    playerPing:
      placeholder: %player_ping%
      comparator: LESS_EQUAL
      match: 20

In this case, the quest will only be incremented if the player has 20 or less of ping (why not ?)

conditions:
  placeholders:
    playerGamemode:
      placeholder: %player_gamemode%
      match: "ADVENTURE"

In this case, the quest will only be incremented if the player is in ADVENTURE mode.

How it work ?

The plugin automatically sorts placeholders into two types based on whether the match is a valid number: Numerical or Non Numerical placeholders.

Numerical Placeholders:

In case of Numerical placeholders, you must select a valid comparator from these options:

  • MORE

  • MORE_EQUAL

  • EQUAL

  • LESS_EQUAL

  • LESS

Non Numerical Placeholders:

For Non Numerical placeholders, the plugin verifies if the strings correspond with each other.

Last updated