# Customize Leveling Speed (https://lurkr.gg/docs/guides/customize-leveling-speed)

## How does Lurkr give out XP? [#how-does-lurkr-give-out-xp]

Before you change the leveling speed of your server, it is important to understand how Lurkr gives out XP.

By default, if someone sends a message in a [channel that allows Leveling](./setting-up-server-leveling), Lurkr will
give them a random amount of XP ranging between 15 and 40 XP

After that, a cooldown of 1 minute is applied during which time any other messages the user may send, doesn't gain them
any more XP.

## How to change the Leveling Speed? [#how-to-change-the-leveling-speed]

In order to set your new leveling speed, go to your [servers dashboard](/../guilds). and select the **Leveling**
category.

Scroll down to the **System Settings** section. There you can change the cooldown between each XP-earning message and
the range of XP users will be randomly given.

If you want your users to gain a **fixed** amount of XP per message, set the minimum and maximum XP to the same number.
Otherwise, make sure that the maximum XP number is larger than the minimum XP number.

---

## XP Curve [#xp-curve]

The XP curve determines how much XP is required to reach each level. By default, Lurkr uses a polynomial formula, but
you can change it to match other popular bots or define your own custom curve.

### How It Works [#how-it-works]

The XP required to reach level **n** is calculated using a polynomial formula:

`xp(n) = c₀ + c₁·n + c₂·n² + c₃·n³ + ...`

Where `c₀`, `c₁`, `c₂`, etc. are the coefficients you configure. You can use between 2 and 5 coefficients.

The computed value is rounded to the nearest whole number, so curves with fractional coefficients still produce integer
XP requirements. Curves that would result in negative or non-increasing XP are rejected by the dashboard.

### Presets [#presets]

Lurkr provides three built-in presets so you can match the leveling curve of other popular bots:

| Preset          | Formula                   |
| --------------- | ------------------------- |
| Lurkr (Default) | 50n² − 100n + 150         |
| Amari           | 20n² − 40n + 55           |
| MEE6            | ≈1.67n³ + 22.5n² + 75.83n |

<Callout type="info">
You can also define a fully custom polynomial curve with your own coefficients for complete control over leveling
progression.
</Callout>

### How to Change the XP Curve [#how-to-change-the-xp-curve]

You can change the XP curve in two ways:

- **Dashboard:** Go to your [server's dashboard](/../guilds), select the **Leveling** category, and scroll to the **XP
  Curve** section. You can pick a preset or enter custom coefficients, and a chart will preview the curve.
- **Command:** Use `/config set` with the **XP Curve Formula** option.

To reset the XP curve back to the Lurkr default, use `/config delete` with the **XP Curve Formula** option.

---

## Final Words [#final-words]

And that's it! You've successfully set your leveling speed with Lurkr!

If you need any more assistance with Lurkr, check out the rest of this documentation or join our support server to talk
to an actual human!

Learn more about [troubleshooting](../troubleshooting).