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
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the player's experience level is compared with compare_to. |
compare_to | Integer | required | The 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.