Skip to main content

Skill Conditions Reference

Conditions filter whether a skill should execute based on the state of the caster, target, or environment.

Entity Conditions

ConditionDescription
health{amount=X}Checks if HP is above/below/equal to X.
crouchingChecks if a player/mob is sneaking.
blockingChecks if a player is blocking with a shield.
chargingChecks if a mob (Creeper/Wither) is charging up.
onscreenChecks if the target is within the caster’s FOV.
lastdamagecause{c=X}Checks the specific cause of the last damage taken (e.g. LAVA).

Block & Spatial Conditions

ConditionDescription
blockinradius{b=X;r=Y}Checks if block X exists within radius Y.
cuboid{pos1=X;pos2=Y}Checks if target is within a coordinate box.
holding{item=X}Checks if target is holding item X.
wearing{item=X}Checks armor slots for item X.

Player Conditions

ConditionDescription
haspermission{p=X}Checks for a specific Bukkit permission.
gamemode{m=X}Checks for SURVIVAL, CREATIVE, etc.
isplayerTrue if the target is a human player.

Environmental Conditions

ConditionDescription
sunny / rainyChecks current weather state.
insunlightChecks if target is exposed to direct sky light.
biome{b=X}Checks the current biome at location.
lineofsightfromoriginChecks LoS from the caster’s exact origin point.

Innovation Conditions (Exclusive)

ConditionDescription
alliesalive{r=X}Checks if enough faction allies are nearby.
threatdelta{v=X}Checks if threat is increasing/decreasing rapidly.
playerhasdebuffChecks for active negative potion effects.

Conditions can be used inline: - skill{s=BigBoom} @self ~onAttack ?health{<50%}