Skip to main content

XP Levels (Entity Condition Type)

Compares the entity's current experience level with a number.

Type ID: apoli:xp_levels

note

This condition only works on players.

Fields

FieldTypeDefaultDescription
comparisonComparisonrequiredHow the player's experience level is compared with compare_to.
compare_toIntegerrequiredThe number the experience level is compared with.

Examples

"condition": {
    "type": "apoli:xp_levels",
    "comparison": "<=",
    "compare_to": 5
}

This checks whether the player has 5 levels or fewer.