Player level is a platform standard: XP is its own resource type that any reward can grant, and the server raises the level by your table or curve in the same write. Levels then open jobs, store items and rewards through ordinary audience gates, with no code in the game.
What the player sees
- The level and an XP bar to the next level.
- XP from everything you set up: quests, events, the daily calendar, lootboxes, job orders, hourly payouts.
- New content at a level: a job, a store item or a one-time level reward opens by itself.
How it works
- XP is the Experience resource. You add it to any reward like money or an item. It cannot be spent or sent to another player.
- VIP and boosts multiply XP like every other reward.
- The level comes from a table (XP for each level) or from XP per level with a curve. The server writes the level together with the XP, and only up.
- Gates by level: the audience gate has a "Minimum player level" field. Use it on store items, rewards, jobs of the RP world and anywhere else a gate is offered.
Step 01Turn it on in the dashboard
Open the dashboard, pick your project and go to Live Operations → v2 → Player level.
- Turn the system on.
- Set XP per level and the last level, or fill the level table.
- Add XP to rewards: in any reward editor pick Experience (XP).
Without this section the server refuses to grant XP, so turn it on first.
Step 02Gate content by level
In a store item, a reward or a job, open the audience gate and set Minimum player level. Players below it see the item locked.
Step 03Test and release
Check the levels in the test version of your app. Settings go to the live app as a separate action - see publishing and links.
For developers
The level is read through client.user.level in @idosgames/core.
const lv = client.user.level // null when the title has no levels
lv?.level // current level
lv?.xp // total XP
lv?.nextLevelXp // XP of the next level, null at the last one
client.on('user:experienceUpdated', () => redrawLevel())- The server writes
PublicData.LevelandPublicData.Experience; the SDK shows the new level at once after a grant. - Never grant XP from the client: put it in server rewards.
Frequently asked questions
Is XP a currency?
No. XP is its own resource type: rewards grant it, VIP and boosts multiply it, but it cannot be spent or traded.
Can a level go down?
No. The server only raises the level.
See also
- Daily login rewards: a calendar for returningHow ready-made iDos Games daily rewards work - a login calendar with a big prize on the last day that opens by itself while a reward waits - and how to set it up in the dashboard.
- VIP and premium passes in your gameHow the ready-made iDos Games VIP system works - premium passes with benefits, a free trial, discounts and bonus rewards across the game - and how to set it up in the dashboard.
- RP world: property, jobs and businesses for the whole cityHow the ready RP world of iDos Games works - flats and businesses with one owner for all players, income and tax, businesses that sell to players, job shifts paid by the server, unique number plates - and how to set it up in the dashboard.
Make your own game
Describe the idea in a sentence - the AI coder builds it, and it goes live at its own link.