> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myprotect-bot.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Levels & Experience System

> Gamify community chat and voice activity with rank cards.

# Levels & Experience Engine

Active communities thrive on recognition. MyProtect's **Levels & Experience System** tracks genuine participation across text channels and voice sessions, rewarding dedicated members with progressive role tiers and beautifully rendered visual rank cards.

***

## Experience Progression Formula

MyProtect uses an exponential leveling curve that balances early member achievement with long-term progression:

$\text{XP required for Level } L = 100 \times L^{1.5} + 50 \times L$

### Activity Tracking Channels

* **Text Messages**: Earns $15\text{–}25\text{ XP}$ per message. Enforces a 60-second anti-spam cooldown to prevent spam farming.
* **Voice Channels**: Earns $10\text{ XP}$ per minute spent actively in voice channels with at least 2 non-muted participants (deafened or isolated users do not gain XP).

***

## Visual Rank Cards (`/rank`)

Members can generate high-resolution rank cards rendered on-the-fly:

```bash theme={null}
/rank [@member]
```

### Card Elements:

* Member avatar, server rank position (`#1`), and current level tier.
* Progress bar displaying current level progress and exact XP remaining until the next milestone.
* Total accumulated lifetime experience across all guild activities.

***

## Leaderboard & Role Rewards

* **Web & Discord Leaderboards**: View real-time server rankings via `/leaderboard` or through the dedicated public web leaderboard.
* **Milestone Role Rewards**: Automatically assign prestigious roles when members reach specific milestones (e.g., Level 5 $\rightarrow$ *Regular*, Level 20 $\rightarrow$ *Veteran*, Level 50 $\rightarrow$ *Elite*).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.