XP Points

Entity Condition Type

Checks the experience points of the entity.

Type ID: origins:xp_points


This entity condition type will only work on players.


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.


"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.