xp

var xp: Long

The player's total accumulated experience points.

This field tracks the total XP earned by the player across all activities. XP is typically used for leveling up and various progression calculations. Uses Long to support very large XP values for high-level players.

Persistence: Stored in the xp column of the player_data table. Dirty Tracking: Automatically set when value changes.