β¨ XP & Levels
The XP system rewards members for participating in chat. Members earn XP per message, level up as they accumulate it, and can unlock roles at the milestones you define β all visible on a server leaderboard.
Overviewβ
When configured, the agent can:
- Award XP per message, with a per-member cooldown to prevent farming
- Announce level-ups in a channel of your choice, or right where the member leveled up
- Grant role rewards when members reach an XP total β or award XP when members receive a role
- Publish a server leaderboard members can check with
/leaderboard, and their own rank with/rank
Configurationβ
To configure XP and levels:
- Open your project in the Fren One webapp.
- Select the Discord server you want to configure.
- In the sidebar under Agent Configuration, select Gamification, then the XP & Levels tab.
- Toggle "Enable Experience Points (XP) System" on.
Earningβ
Controls how members earn XP from chat activity.
| Option | Description |
|---|---|
| XP per Message | XP awarded for each qualifying message. Default: 10. |
| Cooldown (seconds) | Minimum time between XP awards per member. Default: 60. Set to 0 for no cooldown. |
Levelsβ
Members level up as they earn XP. The Levels toggle (default: on) controls whether level-ups are announced.
| Option | Description |
|---|---|
| Level-Up Announcement Channel | Where level-up announcements are posted. Leave unset to announce in the channel where the member leveled up. |
| Level-Up Message | The announcement text, e.g. {user} has reached level {level}! π |
| Variable | Inserts |
|---|---|
{user} | A clickable @mention of the member who leveled up. |
{level} | The level they just reached. |
Role rewardsβ
Role rewards tie roles to XP milestones. Select "Add Reward" to create one; each reward works in one of two directions, chosen with Reward Type:
| Reward Type | Description |
|---|---|
| Reach an XP total β grant this role | The agent grants the selected Role once a member's total XP reaches the XP threshold. Default threshold: 100. |
| Gets this role β award XP | The agent awards XP to award when a member receives the selected Role β however they got it. |
Each role can have one reward. Existing rewards can be edited or deleted from the list; deletions stay pending until you save, with an Undo option.
Leaderboardβ
Below the settings, a read-only leaderboard shows the top 20 members by XP β rank, name, level, and total XP. It's the same standing members see in Discord.
How it works in Discordβ
XP is message-only β voice activity doesn't earn XP. Each qualifying message awards the configured XP, and the per-member cooldown ensures rapid-fire messages don't farm extra points. When a member crosses a level boundary, the agent posts the level-up message to the announcement channel, falling back to the channel the member leveled up in.
Members check their own standing with /rank and the server ranking with /leaderboard. Admins can adjust balances directly with /xp add and /xp remove.
When a threshold reward triggers, the agent grants the role automatically. This requires the agent's role to sit above the granted role in your server's role hierarchy.
Saving your changesβ
This page uses a batched save β edits stay local until you select Save in the bar that appears at the bottom of the page. Leaving the page with unsaved changes shows a warning first.
Best practicesβ
- Keep the cooldown at or near the 60-second default β with no cooldown, message spam becomes the fastest way to level.
- Space role-reward thresholds out so early roles come quickly and later ones feel earned.
- Use a "Gets this role β award XP" reward to give one-time XP bonuses for achievements you grant by hand.
- Pair XP with πΊοΈ Quests and π― Quizzes so members have more ways to earn than chatting alone.
Troubleshooting
Members aren't earning XP?
- Check that "Enable Experience Points (XP) System" is toggled on and saved.
- Remember the cooldown: only one XP award per member per cooldown window.
- Voice activity never earns XP β the system is message-only.
A role reward isn't being granted?
- The agent's role must be above the reward role in the server's role hierarchy. Move the agent's role up in Discord's role list.
- Threshold rewards trigger when the member's total XP reaches the XP threshold β check their total with
/rank.
Level-ups are announced in the wrong channel?
- With no Level-Up Announcement Channel set, announcements post wherever the member leveled up. Pick a channel to centralize them.
Related featuresβ
- π§ AI Leaderboard - Rank members by message quality instead of volume
- πΊοΈ Quests - Bonus XP for completing challenges
- π Secret Codes - Redeemable codes that award XP, roles, or coins
- π Invite Links - Reward members with XP for inviting others
- π Role Manager - Other ways to hand out roles automatically