How the Economy Works
Events flow through the rules engine and trigger economy actions — awarding XP, granting currency, or unlocking achievements. XP accumulates toward level thresholds, and currency updates the player’s balance.Experience Points (XP)
XP is the primary measure of player progress. Players earn XP by completing actions, and XP accumulates toward level progression.Awarding XP
XP can be awarded through:- Rules Engine: Automatically via event triggers
- API: Direct XP grants for custom logic
Levels
Levels represent milestones in player progression. Configure how players level up with level curves.Level Curve Types
- Linear
- Exponential
- Custom Table
XP required increases by a fixed amount per level.Formula:
xpRequired = baseXP * levelLevel-Up Events
When a player levels up, EngageFabric:- Emits a
level_upWebSocket event - Can trigger rules for level-up rewards
- Updates the player’s level in the database
