Skip to main content

Conditions

Conditions are used to set requirements to progress in an achievement.
Below is a list of all the built-in conditions:

tip

Custom items and blocks from ItemsAdder, Oraxen and MMOItems are supported!
Discover more about it here.

Global Conditions

Supported by all types of achievements.

ConditionDescriptionExamples
game-modesAllowed game modes- SURVIVAL
worldsAllowed worlds- "world"
item-in-handRequires the player to have an item in hand- <material>
item-equippedRequires the player to have an item equipped- <material>
riding-entityRequires the player to ride an entity- ALL
- <entity>
regionsA list of WorldGuard regions- <region-id>
is-sneakingRequires the player to be sneakingtrue false
is-sprintingRequires the player to be sprintingtrue false
is-flyingRequires the player to be flyingtrue false
has-open-inventoryChecks if the player has an inventory open.
It isn't possible to check if the player's own inventory is open.
true false

Task-specific Conditions

Supported only by some types of achievements.

ConditionDescriptionExamples
entitiesA list of entities- CHICKEN
- mythicmobs:<mob-id>
- mm:<mob-id>
itemsA list of items- <material>
blocksA list of blocks- <material>
potion-effectsA list of potion types- SWIFTNESS
crop-ageSpecify crop growth stagesMAX <age>