Skip to content

Rankings

The Rankings module rewards activity with experience points. Every time a member sends a message, iHorizon gives them a little XP, and as that XP piles up they climb through levels. Use it to recognize your most active members, run a leaderboard, and unlock roles as people level up. The commands below let you switch the system on, tune how it announces level-ups, and manage everyone's progress.

How XP is earned

  • Each message sent in a text channel earns between 35 and 37 XP. Messages that run an iHorizon command don't count, and neither do messages in the channels excluded with /ranks ignore-channels.
  • Bots never earn XP.
  • Each level needs more XP than the previous one. When a member levels up, they also receive a few coins of the Economy module, multiplied by their role boost if they have one.
  • XP is counted per server: a member's level on your server has nothing to do with their level elsewhere.

/ranks

Subcommand for ranks category!

Subcommands


/ranks roles

Prefix+ranks-rolesAlias+rroles

When user earn a ranks's level, give it a role!

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Sets up level rewards: roles that iHorizon automatically hands out when a member reaches a given level. Use it to grant, say, a "Regular" role at level 10 or a "Veteran" role at level 50, giving people something concrete to aim for.

The command opens a 🏆 Rank Roles Configuration panel listing your current rewards, with Add Role and Remove Role buttons. To add one, pick the role, then type the level that unlocks it. Up to 25 rank roles can be configured. If the role you pick carries sensitive permissions (such as administrator or moderation rights), iHorizon warns you and lists those permissions, so you don't hand them out by accident. The role must be below your own highest role and must not carry permissions you don't have.

When a member levels up, they receive the reward of the highest level they have reached.

Tip

iHorizon can only give roles placed below its own role in your server's role list. Drag iHorizon's role above your reward roles.


/ranks config <action>

Prefix+rconfig

Config the message when user earn new xp level message!

Option Type Required Description Choices
action String Yes What you want to do? Power On the module (send message when user earn xp level) → on
Power Off the module (don't send any message but user still earn xp level) → off
Disable the module (don't send any message and user don't earn xp level) → disable

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Controls the module's overall state, with three levels of quiet:

  • Power On: members earn XP and iHorizon announces every level-up.
  • Power Off: members still earn XP, but iHorizon stays silent about level-ups.
  • Disable: no XP is earned and no messages are sent; the system is fully paused.

/ranks show [user]

Prefix+ranks-showAliases+rsee, +look, +level

Get the user's xp level!

Option Type Required Description Choices
user User No The user you want to lookup, keep blank if you want to show your stats -

Shows a member's rank card. Leave user empty to see your own, or pick someone to check theirs.

The card is an image drawn by iHorizon with:

  • the member's avatar and display name (emojis in names are drawn too, and long names are shortened);
  • their current Level;
  • a progress bar with their XP toward the next level (for example 1240 / 2500 XP);
  • the XP until next level and their Total XP since they started.

The card's colors are taken from the member's avatar, so every card looks a little different. Above it, the embed repeats the level and XP and tells how many experience points are still needed for the next level.

Rank card showing a member's avatar, name, level, XP progress bar, XP until next level and total XP.


/ranks ureset <user>

Prefix+ranks-ureset

Reset the ranks level of an user

Option Type Required Description Choices
user User Yes The user you want to reset the ranks data -

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Resets a single member's XP and level back to zero, without touching anyone else. Useful for correcting an unfair boost or starting a member fresh.


/ranks greset

Prefix+ranks-greset

Reset the ranks level of every user in the guild

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Resets the XP and levels of everyone on the server at once. This wipes all progress and cannot be undone, so keep it for a clean slate, like the start of a new season.


/ranks channel <action> [channel]

Prefix+ranks-channelAlias+rchannel

Set the channel where user earn new xp level message!

Option Type Required Description Choices
action String Yes What you want to do? Remove the module (send xp message on the user's message channel) → off
Power on the module (send xp message on a specific channel) → on
channel Channel No The specific channel for xp message ! -

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Decides where level-up announcements appear. Choose to send them straight to a dedicated channel (so they don't clutter conversations), or switch back to announcing in whichever channel the member was chatting in.

Tip

A dedicated channel, for example #level-up, keeps your conversations clean on busy servers. Members who want to follow their progress can still check /ranks show at any time.


/ranks leaderboard

Prefix+ranks-leaderboardAlias+rankslb

Get the xp's leaderboard of the guild!

Displays the server's XP leaderboard, ranking members by their total XP. It is the scoreboard that turns activity into a bit of friendly competition.

The message has two parts:

  • a podium image of the top 3, each with their avatar, name, level and total XP;
  • a list of 10 members per page, with medals for the first three, each member's level and total XP. Use the <<<, <, > and >>> buttons to change page.
/ranks leaderboard
iHorizonAPPToday at 20:14
🏆 Server Leaderboard of Legends
🥇 1 ・ @Kisakay
  ┖ Level 12 (31540 XP)
🥈 2 ・ @Mika
  ┖ Level 9 (20115 XP)
🥉 3 ・ @Leo
  ┖ Level 7 (13870 XP)
💠 4 ・ @Noa
  ┖ Level 5 (8022 XP)
Podium of the top 3
iHorizon • Page 1/3
<<<<Page 1/3>>>>

The /ranks leaderboard message. The podium image shows the top 3 with their avatars.


/ranks ignore-channels

Prefix+ranks-ignore-channelsAlias+ignore

Ignore this channels in the Ranks Module

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Lets you mark channels where messages don't earn XP. Point it at bot-command channels, spam channels, or off-topic corners so people can't farm levels there. The command shows the channels currently ignored and lets you change the list with a channel menu.


/ranks message

Prefix+ranks-messageAlias+msg

Set a custom message when user earn level

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Customizes the message iHorizon sends when a member levels up. Write your own text with placeholders for the member and their new level, so the announcement fits your server's tone. The command shows the current message, with a Set message button to write a new one and a Default Message button to go back to the default.

The default message is: GG, {memberMention} you have leveled up! (Level: {xpLevel})

Variable Replaced with
{memberUsername} The member's username
{memberMention} A mention of the member
{memberCount} Number of members of the server
{guildName} The name of the server
{createdAt} The member's account creation date (dd/mm/yyyy)
{xpLevel} The member's new level
{accountCreationTimestamp} The member's account creation date, as a Discord timestamp

Example

{memberMention} just reached level {xpLevel} on {guildName}!

Info

Level-up messages can only mention the member: role, @everyone and @here mentions written in your message are not pinged.