XP Levels (Entity Condition Type)

Checks the current experience level of the entity.

Checks the current experience level of the entity.

Type ID: apoli:xp_levels

!!! note

This entity condition type will only work on players.

Fields

FieldTypeDefaultDescription
comparisonComparisonDetermines how the experience level of the player should be compared to the specified value.
compare_toIntegerThe value at which the experience level of the player will be compared to.

Examples

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

This example will check if the player has 5 levels or less.