Conditions

A list of all conditions with examples.

Server Conditions

Chance

Is met based on probability, value must range from 0.0 (0%) to 1.0 (100%)

if: chance 0.1

Online Players

Check the number of players currently online. You can specify an exact number a range, or multi.

if: onlinePlayers: 10

if: onlinePlayers: 1-10

if: onlinePlayers: 1;3;5 

Event Conditions

Click Type Equals

Checks the click type used by the player to interact with a block

Player Conditions

Has Permission

Verifies if a player has a specific permission node.

Has Flag

Checks if a player has a particular flag assigned to them.

Has Exp

Checks a player's current experience points. You can use an exact value, range or multi.

Has Exp Level

Checks a player's current experience level. This also supports an exact value, range or multi.

Has Item

Confirms if a player has a specific item in their inventory. You can define the item by its material or an item from the /items/ folder, and specify a quantity.

Has Played Before

A simple check to see if the player has previously joined the server.

Has Free Slot

Check if the player has an empty slot in it's inventory

Is Flying

Detects if the player is currently flying.

Is Sneaking

Detects if the player is currently sneaking.

Tool Equals (coming soon)

Tool Equals (coming soon)

Checks if the player is holding a specific item. Matches item amount.

  • Must match: type, amount, name, lore, enchants, etc..

Tool Is Similar

Checks if the player is holding a specific item. Ignores item amount.

  • Must match: type, name, lore, enchants, etc..

Tool Type Equals

Checks if the player is holding a specific item type. Ignores everything else.

Tool Name Equals

Checks if the player's held tool has a specific name. Ignores color codes.

Tool Lore Line Equals

Checks if the player's held tool has a lore line with a specific value. Ignores color codes.

Tool Lore Equals

Checks if the player's held tool lore matches these values. Ignores color codes.

Tool Has Enchant

Checks if the player's held tool has a specific enchantment and level.

Tool Has Custom Model

Checks if the player's held tool has a specific custom model data.

Placeholder Equals

Compares a placeholder's value to a specific string or amount (fixed, ranged, multi).

Has Money

Checks a player's current money balance. Requires vault. Supports amount (fixed, ranged, multi)

Extra Conditions

AuraSkills

Has Aura Level

Checks a player's level in a certain skill.

Has Aura Mana

Checks a player's mana amount.

McMMO (coming soon)

Last updated