Conditions

Requirements that must be met for actions to run.

Format

type:value

💰 Economy

ConditionDescriptionExample
money:Requires Vault balancemoney:100

🔑 Permissions

ConditionDescriptionExample
permission: perm:Requires permissionpermission:vip

❤️ Player Status

ConditionDescriptionExample
health:Minimum healthhealth:10
food:Minimum foodfood:5
level:Minimum XP levellevel:10

🎮 Game Mode

ConditionDescriptionExample
gamemode: gm:Specific gamemodegm:SURVIVAL
flying:Is flyingflying:true
sneaking:Is sneakingsneaking:true
sprinting:Is sprintingsprinting:true

📦 Items

ConditionDescriptionExample
has_item:Must have itemhas_item:DIAMOND
has_item_hand:Item in main handhas_item_hand:DIAMOND_SWORD
has_item_amount:Item amounthas_item_amount:DIAMOND:5

🌍 World

ConditionDescriptionExample
world:Specific worldworld:world_nether

Examples

Only VIPs can enter

permission:vip

Requires 1000 coins

money:1000

5 diamonds in hand

has_item_amount:DIAMOND:5