Keystone
Docs menu

Community

Leveling

XP for chatting, level-up messages, leaderboards and role rewards.

Off by default3 commandsFree Set up in the dashboard
On this page

Members earn XP for chatting and level up over time. Keystone can announce level-ups, hand out roles at certain levels, and shows a leaderboard in Discord and the dashboard. Leveling starts off.

Set it up

  1. Open the dashboard, pick your server, then Leveling.
  2. Under Earning XP, choose how much XP a message earns and the cooldown between earnings. The defaults are 15 to 25 XP, at most once a minute.
  3. Under Level-up message, choose where announcements go and write the message.
  4. Optional: add Role rewards, and choose channels or roles under No XP here.
  5. Click Save, then turn the module on with the switch at the top of the page.

How it works

Earning XP

Each message earns a random amount of XP in your range, at most once per cooldown, so spamming doesn't help. Bots never earn XP. Messages in ignored channels (and their threads), or from members with ignored roles, earn nothing.

Levels

Each level takes a bit more XP than the last: level 1 takes 100 XP, level 2 another 155, level 3 another 220, and so on (5 × level² + 50 × level + 100). The highest level is 1,000.

/rank shows your level, XP and progress to the next level, or another member's with user. /leaderboard lists members by XP, 10 per page. The dashboard shows the top members too.

Level-up messages

Choose where announcements go: in the channel where the member leveled up, in a specific channel, by DM, or not at all. The message can use these placeholders:

PlaceholderBecomes
{user}A mention of the member
{username}The member's username
{level}The new level
{server}The server name

The default is GG {user}, you reached level **{level}**!. Announcements only ping the member who leveled up.

Role rewards

Pick a role for any level, like Regular at level 5 and Veteran at level 20. With Keep lower rewards on (the default), members keep every reward they've reached. With it off, reaching a new reward replaces the lower ones.

Adjusting XP

Staff can change a member's XP with /xp add, /xp remove, /xp set and /xp reset. Rewards are updated to match the new level, including taking away rewards above it.

Permissions

Keystone needs Manage Roles for role rewards, and its role must be above every reward role. To announce in a channel it needs View Channel and Send Messages there.

Anyone can use /rank and /leaderboard. /xp needs Manage Server.

Limits

Per serverFreePremium
Level role rewards525

Commands

<required> and [optional] show what each one takes. Server managers can turn any command off in the dashboard, or change who can use it in Server Settings → Integrations.

  • /rankAnyone

    Show your level and XP, or another member's.

    /rank [user]

  • Show the members with the most XP.

    /leaderboard [page]

  • /xpNeeds Manage Server

    Change a member's XP.

    /xp add <user> <amount>
    Give a member XP.
    /xp remove <user> <amount>
    Take XP away from a member.
    /xp set <user> <amount>
    Set a member's total XP.
    /xp reset <user>
    Reset a member's XP to 0.

Every command in one place: command reference.

Troubleshooting

Nobody is earning XP

Check that the Leveling module is on and the channel isn't under No XP here. Each member only earns XP once per cooldown, 60 seconds by default.

Members don't get their reward roles

Drag Keystone's role above the reward roles in Server Settings → Roles and make sure it has Manage Roles. The dashboard's overview flags roles Keystone can't give.

Level-up messages don't appear

Check where announcements go under Level-up message. If it's a specific channel, Keystone needs View Channel and Send Messages there. DMs only arrive if the member allows DMs from server members.

“The leaderboard only has … pages”

Pick a smaller page number.