XP Levels

Entity Condition.

Checks the experience level of the player.

Type ID: origins:xp_levels

Fields:

Field Type Default Description
comparison Comparison How the experience level of the player should be compared to the specified value.
compare_to Integer Which value the experience level should be compared to.

Example:

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

This example checks if the player has 5 levels or less.