Abyssal
Home
Tools
Docs
Support
Dashboard
# Levelling The Levelling module tracks XP and levels for your members. XP comes from messages, reactions and time in voice channels, levels are calculated from a formula you can change, and reaching levels can hand out roles, currency and milestone rewards. Level-up announcements and a graphical rank card keep progress visible. ## Enabling Enable Levelling from the Modules page on your server's dashboard. The module has a Settings tab and a Users tab for managing member XP. ## Dashboard configuration - **XP Earning**: everything that decides how much XP members earn. - **Messages**: **XP per message**, a **Random XP** toggle and a **Random interval** (min and max) used instead of the fixed rate while Random XP is on. - **Voice**: **Voice XP Rate** and its own random interval. - **Reactions**: **Reaction XP Rate** (set 0 to disable reaction XP) and its own random interval. - **Cooldowns**: **XP Cooldown (seconds)** between XP gains per member, **Max XP per action** and **Max Level per action** as limits for manual admin grants. - **Advanced**: the **Level Formula** (default `10 * level^(1.5)`) and a **Level Scaling Graph** that live-plots XP required per level from the formula. - **Notifications**: **Enable Level-Up Notifications**, **Notification Rate Limit (seconds)** (falls back to the XP Cooldown when empty), **Send in Current Channel**, a **Fallback Notification Channel**, a **Notification Channel Mode** of Blacklist or Whitelist, and the **Notification Channels** list. The counting channel is always treated as excluded. - **Role Rewards**: level and role pairs granted when a member reaches the level and removed again if they drop below it, plus **Currency Per Level-Up** for an economy payout on every level. - **Exclusions**: **Excluded Channels** and **Excluded Roles** that earn no XP. - **Users page**: tracked members with level and total XP, searchable and sortable, with an editor to change a member's XP or level. - **Events page**: level milestones that grant roles, remove roles (optionally removing the previous milestone's roles) and pay a currency reward when a member crosses a level. ## Commands Members can check their rank and the server leaderboards from Discord. ### `/leaderboard` View server leaderboards: xp, currency, invites, messages, voice and reactions. A dropdown switches between the available boards, and boards from disabled modules are hidden automatically. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `type` | Text | Required | Which leaderboard to view - picked from an autocomplete list of every available board. | | `page` | Integer | Optional | Page number - Range: at least 1. | ### `/rank` View your or another user's level and XP. | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Optional | User to check (defaults to yourself). | **Example:** `/rank user:@Member` ### Text (prefix) commands These run with the server's text command prefix (default `!`). Change it from the dashboard Settings page. - **leaderboard**: View the XP leaderboard. - **rank**: Check your or another user's rank. Usage: rank [@user] ### Notes - The leaderboard command supports multiple boards; with the Economy module on, the currency board appears alongside XP. - The invites leaderboard has a mode switcher to rank by total, regular, left, fake or bonus invites. - Level-up messages, rewards and role handling are configured per server in the dashboard. ## How it works / Key flows - Sending a message in a non-excluded channel grants XP (fixed or random), subject to the per-member XP Cooldown. Members with an excluded role never gain XP. - Adding a reaction can grant reaction XP, sharing the same cooldown and exclusions. - Voice XP is granted on interval ticks while members are in a voice channel. A tick only pays when at least two humans are in the channel and the member is not deafened, and excluded channels never pay. - Levels are derived from total XP using the Level Formula, so changing the formula re-scales existing XP instantly. - On level up the bot announces it (current channel first, then the fallback, filtered by the notification channel mode and rate limit), grants and removes Role Rewards, pays **Currency Per Level-Up**, and processes any crossed milestones. Level ups, role reward changes and manual XP changes are logged to the levelling log channels. ## Notes - Currency payouts require the Economy module to be enabled. - Giveaways can reward XP to winners, and shop item use actions can grant XP while levelling is enabled. - Custom command XP actions announce level ups in the channel where the command was used.