XP and leveling in NadekoBot

NadekoBot gives members XP for chatting and for time in voice channels, shows their level on an XP card and the server leaderboard, and gives or takes away roles when they reach the levels you set.

How members earn XP

Members earn XP for the messages they send and for every minute they spend in a voice channel. Text XP comes at most once per cooldown, so spamming the chat does not level anyone up faster.

By default NadekoBot gives 3 XP per message, at most once every 5 minutes, and 3 XP per minute in voice. Change the rates for your whole server or for one channel with .xprate - for example, more XP in your main chat and less in a bot-spam channel.

Stop a role or a member from earning XP at all with .xpexclude, for example your bots or a muted role.

sakura
.xprate #general text 6 5
Nadeko BOT
Channel general xp rate set to 6 xp per every 5 min.
sakura
.xprate #bot-spam text 1 10
Nadeko BOT
Channel bot-spam xp rate set to 1 xp per every 10 min.
sakura
.xpexclude @Bots
Nadeko BOT
Role: Bots has been excluded from the XP system.
sakura gives more XP in #general and less in #bot-spam, and stops the Bots role from earning XP.
  • .xprate Show or change how much text or voice XP the server or a channel gives, and how often.
  • .xpratereset Go back to the default rates for the server or a channel.
  • .xpexclude Stop a role or a member from earning XP, or let them earn it again.
  • .xpexclusion List the roles and members that earn no XP on this server.

Levels, the XP card and the leaderboard

Members check their level, rank and XP with .xp, which shows their XP card - with their avatar, their club, and the background and frame they picked. .xpt shows the same numbers as text, for screen readers.

.xplb shows the members with the most XP on your server.

How much XP each level takes is set per server with .xpformula, as a * (level + 1) + c. With the default values (9 and 27), the first level takes 36 XP and every level after it takes 9 XP more. A bigger a makes high levels harder to reach.

sakura
.xp
Nadeko BOT
The XP card of sakura: level 42, rank 7, 1240 of 2000 XP, club Sakura
sakura checks their XP card: level 42, rank 7 on the server.

Role rewards for reaching a level

Use .xprolereward to give members a role when they reach a level, or to take one away. One level can add and remove several roles, so a member can move from Newbie to Member in one step.

.xprews lists every reward you have set, and .xprewsreset removes them all.

Nadeko Flowers as a level reward (.xpcurreward) is a Bot Owner Only command: only the person who runs the bot can set it.

sakura
.xprolereward 5 add Member
Nadeko BOT
Users who reach level 5 will receive Member role.
sakura
.xprolereward 5 rm Newbie
Nadeko BOT
Users who reach level 5 will lose Newbie role.
At level 5, members get the Member role and lose the Newbie role.

Clubs

Members can create a club with .clubcreate and give it an icon, a banner and a description. Other members apply with .clubapply, and the club's owner or admins accept or reject them.

Clubs earn XP from their members' chatting, and .clublb ranks the clubs.

kirito
.clubcreate Night Owls
Nadeko BOT
Club Night Owls successfully created!
mika
.clubapply Night Owls
Nadeko BOT
You've applied for membership in Night Owls club.
kirito
.clubaccept mika
Nadeko BOT
Accepted user mika to the club.
kirito creates the Night Owls club, mika applies to join it, and kirito accepts her.

XP shop: backgrounds and frames

When the bot owner turns on the XP shop, members buy backgrounds and frames for their XP card with Nadeko Flowers, and switch between the ones they own.

kirito
.xpshopbuy bg synth
Nadeko BOT
Successfully purchased backgrounds/synth
mika
.xpshopbuy fr gold
Nadeko BOT
Successfully purchased frames/gold
kirito buys the Synth background and mika buys the Gold frame, both with Nadeko Flowers.

Change a member's XP

Admins can add XP to a member or to everyone with a role (.xpadd, and a negative number takes XP away), set a member's level (.xplevelset), or reset the XP of one member or the whole server (.xpreset - it cannot be undone).

kirito
the bot was offline during movie night, i got no voice xp
sakura
.xpadd 500 @kirito
Nadeko BOT
Modified server XP of the user kirito by 500
sakura
.xplevelset 10 @mika
Nadeko BOT
Level of user @mika set to 10 on this server.
The bot was offline during movie night, so sakura gives kirito 500 XP back and sets mika to level 10.

Set it up in 3 steps

  1. Invite NadekoBot. Members start earning XP as soon as it is in your server.
  2. Give a role at a level: .xprolereward 5 add Member
  3. Keep your bots out of the leaderboard: .xpexclude @Bots

Questions about XP and leveling in NadekoBot

Can I give a different role at each level, and take the old one away?

Yes - run .xprolereward once for each role. .xprolereward 10 add Regular and .xprolereward 10 rm Member give Regular and take Member away at level 10.

Do members earn XP in voice channels?

Yes, for every minute they spend in a voice channel - 3 XP per minute by default. Change it for your server or a channel with .xprate, for example .xprate voice 5 1.

Can members see their XP without the picture?

Yes - .xpt shows their level, rank and XP as text.

More in NadekoBot