XP Points
Checks the experience points of the entity.
Type ID: origins:xp_points
Note
This entity condition type will only work on players.
Fields
Field | Type | Default | Description |
---|---|---|---|
comparison |
Comparison | How the experience points of the player should be compared to the specified value. | |
compare_to |
Integer | Which value the experience points should be compared to. |
Examples
"condition": {
"type": "origins:xp_points",
"comparison": ">=",
"compare_to": 90
}
This example will check if the player has 90 or more experience points, which is only achieveable if the player have at least 7 levels.