Docs/Plugins/Auto Level
Auto Level
XP, levels, role rewards, rank cards, and a public web leaderboard.
Auto Level awards XP for activity, turns it into levels along a configurable curve, and hands out role rewards. Members get image rank cards; the server can publish a public web leaderboard.
Everything is set up on the dashboard's Levels page: the Track editor for curves, XP sources, who and where earns, multipliers, boost windows, rewards and announcements, and the Card & leaderboard card for rank cards, the XP number delay and the public leaderboard.
Setup checklist
- Open Levels. If leveling is off, turn it on in Quick Setup or simply
save a track in the Track editor. Begin with one
maintrack and the default curve. - Set up Message XP and Voice XP. Use Who can earn XP and Where message XP counts to keep staff, bot channels, and other places where activity should not earn XP out of it.
- Leave Cooldown jitter and XP number delay at their defaults for normal use. Set them to zero only for a short private test if instant numbers are needed.
- Add one low test reward under Level rewards, below the bot's highest role. Decide whether earlier rewards stay with Keep previous reward roles.
- Choose an announcement destination under Announcements or leave them off for the first test.
- Send qualifying messages as a regular member, respecting the message cooldown. Inspect the dashboard XP overview for live values.
- Cross the reward threshold and confirm the role plus announcement. Use an XP admin command to move back below it and confirm explicit adjustments reconcile rewards as intended.
- Enable the public leaderboard or rank-card customization only after checking the corresponding feature grants and privacy expectations.
How XP works
- Message and voice activity earn XP. Message XP sets the random award range, the cooldown between awards, and a minimum message length; Voice XP sets XP per minute and can skip muted or AFK members.
- Who can earn XP limits a track to members with certain roles and shuts out excluded roles (message and voice XP both). Leave the lists empty to let everyone earn.
- Where message XP counts limits message XP to certain text channels and excludes others. Voice has its own lists under Voice XP: only these voice channels, or only voice channels in these categories. No-XP exclusions shut out roles, channels, or categories entirely.
- Multipliers boost earning per role, per channel, and for server boosters.
- XP boost windows multiply every award on a track between a start and an end time you pick (in your own timezone) - for a double-XP weekend, say. They stack on top of the other multipliers.
- Multiple tracks let separate areas of your server level independently, each with its own curve preset or fully custom thresholds.
Saving the track editor only changes what you changed. Anything set in the Config tab that the editor does not show, and any comments there, survive a save.
Keeping XP hard to game
Two built-in defenses stop members from reverse-engineering your XP rates and farming to them:
- Randomized awards and cooldowns. Each message earns a random amount in your configured range, and the cooldown between awards is randomized too (Cooldown jitter under Message XP, default 15 seconds - so the default window lands anywhere between 45 and 75 seconds). Neither the award nor the window can be timed.
- Delayed readouts. Rank cards,
!ranktext,!leaderboardpages, and the public web leaderboard refresh on a randomized delay (XP number delay on the Card & leaderboard card, default 180 seconds) instead of live - so sending a message and re-checking a card never reveals the exact award. Level-ups always show immediately; only progress within a level lags. Set it to 0 if you prefer live numbers. The public web page also refreshes at most every five minutes, whichever of the two delays is longer.
Because of the delay, an xp give/xp take/xp set you issue can take a
few minutes to appear on the member's card - the dashboard's XP overview
always shows live values.
Rewards and announcements
Level rewards grant a role when a member reaches a level. Keep previous
reward roles controls whether earlier reward roles stay on promotion. Reward
roles also come OFF when the XP that earned them goes away - xp take,
xp set, or a reset below a threshold removes the roles that threshold
granted. Rewards you add after members already have XP are settled
automatically: anyone owed a role receives it the next time they earn XP, so
setting up rewards late (or importing levels first) just works - no recheck
command needed.
If your config came from the old bot, its rewards were keyed by points, not levels. The editor shows those as Legacy point goals from the old bot and Rescale onto levels converts them in one click.
Announcements go to the channel where it happened, a fixed channel, or a DM, with your own template. When announcing in the channel where it happened, turn on Reply to the message that leveled them up and the bot replies directly to the message that earned the level-up instead of posting a loose line - if that message is gone by then, it posts normally.
Rank cards and the leaderboard
!rank renders an image card (server accent colour and a default background
on the Card & leaderboard card). Members can personalise their own card with
the rankcard commands - rankcard background takes a direct image upload
as well as a URL (static images: png, jpg, or webp);
Minimum level for custom backgrounds can gate custom backgrounds behind a
level, and Show full XP numbers on rank cards shows exact XP numbers
instead of the 12.3k shorthand.
Backgrounds you set are stored by the bot itself rather than as a link back
to your original upload, so they keep working long after the message you
uploaded them from is gone. Backgrounds set before this changed may have
already expired on Discord's side - if yours vanished, set it once more and
it will stick.
Card customizations are per server: the background, accent color, bio,
title, and level-up message a member sets in your server show only in your
server, and the rankcard commands change the server they are run in. Bio,
title, and custom level-up message text must pass your censor filter - a rank
card is not a way around the word list. The filter is enforced when a member
sets the text and again every time a card or level-up message renders, so text
that predates a filter addition is simply hidden. Mods can inspect any member's
card customizations (background included) with rankcard view, and wipe them
with rankcard modreset. Enable the public web leaderboard publishes a
shareable web leaderboard for your server at /leaderboard/{server id}, with
the same
all-time, weekly, and monthly views as the command and a row of server
totals up top: ranked members, total XP, the top level, and how many members
earned XP this week. If your server publishes its richest-members or fishing
boards too, the pages link to each other.
Custom backgrounds (the server default and per-member ones) require the
LEVELS_PRO feature; image cards at all require RANK_CARDS - without it,
rank commands answer in text.
A member's own background beats the server default, so the default background is the fallback rather than an override. Rank cards show up to six badge icons.
If a member holds any HepBoat badges (supporter tiers, staff and
community badges - the same ones !info lists), their icons render on the
rank card automatically, under the avatar. Badges are platform-wide, so the
same icons show on every server's cards.
The dashboard's Levels page (mod access to read, editor to change
anything) includes a full structured editor for tracks,
curves, XP sources and rewards, with live previews of the curve maths.
Troubleshooting
- Messages never award XP: check Message XP, Who can earn XP, Where message XP counts, No-XP exclusions, and the randomized cooldown.
- The dashboard changed but
ranklooks old: member-facing readouts may be delayed by the XP number delay; the dashboard overview is live. - A reward role does not grant: check role hierarchy, and whether the reward is a legacy point goal rather than a level (rescale it onto levels).
- Rank is text instead of an image: the server needs
RANK_CARDS. - Custom backgrounds are refused: they need
LEVELS_PROand may be gated by Minimum level for custom backgrounds. - The public page is unavailable: turn on Enable the public web leaderboard and use the server's leaderboard URL.
Commands
Arguments in {curly braces} are required. Arguments in [square brackets] are optional.
Level is the built-in command level: 0 everyone, 10 trusted, 50 moderator, 100 admin. Your commands.overrides can change it - see Permissions.
| Command | Level | What it does |
|---|---|---|
/rank [user] [track] |
0 (everyone) | Show your level and rank card. |
/leaderboard [window] [track] [page] |
0 (everyone) | XP leaderboard - all-time, weekly, or monthly. |
/top [window] [track] [page] |
XP leaderboard (alias of leaderboard). | |
/rewards [track] |
0 (everyone) | List the level-up role rewards for a track. |
/rankcard background [url] [image] |
0 (everyone) | Set your rank-card background image (premium). |
/rankcard color [hex] |
0 (everyone) | Set your rank-card accent color. |
/rankcard bio [text] |
0 (everyone) | Set your rank-card bio. |
/rankcard title [text] |
0 (everyone) | Set your rank-card title. |
/rankcard message [text] |
0 (everyone) | Set your custom level-up message. |
/rankcard reset |
0 (everyone) | Reset your rank-card customizations. |
/rankcard modreset {user} [scope] |
50 (moderator) | Reset a member's rank-card background or all customizations (mod). |
/rankcard view {user} |
50 (moderator) | Inspect a member's rank-card customizations, background shown as an image (mod). |
/xp give {user} {points} [track] |
100 (admin) | Grant XP to a user (admin). |
/xp take {user} {points} [track] |
100 (admin) | Remove XP from a user (admin). |
/xp set {user} {points} [track] |
100 (admin) | Set a user's XP to an exact value (admin). |
/xp reset [user] [track] |
100 (admin) | Reset XP for a user or the whole guild (admin). |
/xp sync-roles {user} [track] |
100 (admin) | Re-apply a user's earned reward roles (admin). |
/xp show [user] |
50 (moderator) | Show a user's XP across all tracks (mod). |
/xp level {level} [track] |
0 (everyone) | Show the XP required to reach a level (mod). |