- Documentation
- Engagement
- Levels & XP
Levels & XP
Members earn XP for chatting and level up. Learn how to turn the system on, show rank cards and hand out level roles.
With the leveling system, members earn XP (experience points) when they chat on your server. Their XP determines their level. /rank shows a rank card, the leaderboard shows who is most active – and milestones let you reward levels with roles automatically.
How it works#
- Each message is worth a random 1 to 60 XP.
- XP is granted at most once per minute per member and server. Ten messages in one minute still earn XP only once – spamming doesn't pay off.
- Bots don't earn XP.
- The level is calculated from total XP: level n needs 100 × n² XP.
| Level | XP required |
|---|---|
| 1 | 100 |
| 5 | 2,500 |
| 10 | 10,000 |
| 20 | 40,000 |
| 50 | 250,000 |
Setting it up#
- Gaining XP is already on for new servers. Check with
/xp-settings view. - If it's off, turn it on with
/xp-settings change: pick Gaining XP as the setting and Enable as the action. - Optional: use
/xp-settings changeto turn on Leveling messages too. yurna then posts a congratulation with a rank card in the channel where the member just chatted. They are off by default. - Create level roles under Dashboard → Engagement → Milestones with the source Level and the action Give role (see below).
- Style the rank card in the Card designer if you like.
Note
Leveling messages can only be toggled while Gaining XP is on. The dashboard has no separate switch for the leveling system (yet) – use /xp-settings.
Level roles#
In yurna, level roles are part of Milestones. A rule like "From level 5 → Give role" assigns the role as soon as someone reaches that level – including everyone who already has it when you create the rule. For a role ladder where everyone keeps only the highest tier, add a second rule such as "From level 10 → Take role A".
Commands#
| Command | What it does | Who can use it |
|---|---|---|
/rank [user] | Shows level and XP as a rank card (yours if no user is given) | Everyone |
/leaderboard | The 10 members with the most XP | Everyone |
/leaderboard-global | Global top 10 across all servers | Everyone |
/xp-settings view | Shows whether Gaining XP and Leveling messages are on | Administrator |
/xp-settings change | Turns Gaining XP or Leveling messages on or off | Administrator |
/reset-xp <user> | Resets a member's XP | Administrator |
Replies to /xp-settings and /reset-xp are only visible to you; the /rank card is visible to everyone in the channel.
Troubleshooting#
- "Leveling is disabled in this server." – Gaining XP is off. Turn it on with
/xp-settings change. - No level-up messages appear. – They're off by default. Check
/xp-settings viewand make sure yurna can send messages and attach files in the channel. - Someone chats a lot but gets little XP. – That's the one-minute cooldown. Steady activity counts for more than bursts of messages.
- The level role isn't assigned. – The role must be below yurna's role in the role list, and yurna needs "Manage Roles".
See also#
Last updated on 15 October 2026