Ranks and bonuses
Rank tiers, rank-up rewards and commands, and the win streak and daily ELO bonuses.
A rank is a named tier such as Gold. A player's rank comes from their ELO. Ranks are shown in menus, the scoreboard and placeholders, and they can run commands when a player reaches them.
Files
| File | Purpose |
|---|---|
ranks/_default.yml | The tiers and rank settings every kit uses |
ranks/<kit>.yml | Overrides keys for one kit. A tiers section replaces the default tiers for that kit |
Reload with /md reload.
Tiers
enabled: true
placement-games: 0
unranked: "<gray>Unranked"
announce-overall: true
delay-ticks: 40
tiers:
bronze:
display: "<#cd7f32>Bronze"
min-elo: 0
commands: []
silver:
display: "<#c0c0c0>Silver"
min-elo: 1050
commands: []
gold:
display: "<gold>Gold"
min-elo: 1150
commands: []The defaults are bronze (0), silver (1050), gold (1150), platinum (1250), diamond (1400), master (1600) and champion (1800).
| Key | Meaning |
|---|---|
enabled | false turns ranks off. Players have no rank |
placement-games | Ranked games a player needs before they get a rank. Before that they show unranked. In a kit it counts that kit's games. For the overall rank it counts all kits |
unranked | What a player without a rank shows |
announce-overall | Announce changes of the overall rank |
delay-ticks | Ticks the announcement waits after the match ended (0 to 1200), so it does not cover the result |
tiers.<id>.display | The name in MiniMessage |
tiers.<id>.min-elo | The lowest ELO of the tier |
tiers.<id>.commands | Console commands run when a player reaches the tier |
A player's tier is the one with the highest min-elo that is at or below their ELO.
Rank-up and rank-down
rank-up:
title: true
broadcast: false
sound:
name: entity.player.levelup
volume: 1.0
pitch: 1.0
commands: []
rewards-once: true
rank-down:
announce: true
sound:
name: entity.villager.no
volume: 1.0
pitch: 1.0
commands: []| Key | Meaning |
|---|---|
rank-up.title | Show a title and subtitle to the player |
rank-up.broadcast | Tell every online player |
rank-up.sound | A sound key (empty for none), volume 0 to 10, pitch 0.5 to 2 |
rank-up.commands | Run on every rank-up, before the tier's own commands |
rank-up.rewards-once | The commands of a tier run only the first time a player reaches it, per kit and for the overall rank, even if they drop and climb again |
rank-down.announce | Tell the player when they drop a rank |
rank-down.commands | Run on every rank-down, for example to take a rank permission away |
Commands are console commands without a leading slash. %player%, %rank% and %kit% are replaced by the player's name, the rank and the kit:
tiers:
gold:
display: "<gold>Gold"
min-elo: 1150
commands:
- "lp user %player% parent add gold"
- "eco give %player% 500"
rank-down:
commands:
- "lp user %player% parent remove gold"The text of the messages is in messages.yml under ranks: up, down, up-overall, down-overall, title, subtitle, broadcast. Placeholders: <rank>, <kit>, <player>.
Win streak bonus
A ranked win can give extra ELO when the player is on a streak.
elo:
bonus:
streak:
enabled: true
source: kit
after: 3
per-level: 2
max: 10
first-win-of-day: 0| Key | Default | Meaning |
|---|---|---|
streak.enabled | true | Turns the streak bonus on |
streak.source | kit | kit counts the streak in the kit of the match. overall counts the streak across all kits |
streak.after | 3 | The bonus starts above this many wins in a row |
streak.per-level | 2 | ELO for each win above after |
streak.max | 10 | The most a streak bonus gives. 0 means no cap |
With the defaults the 4th win in a row gives +2, the 5th +4, the 6th +6, and so on, up to +10.
| Streak after the win | Bonus |
|---|---|
| 3 | 0 |
| 4 | 2 |
| 5 | 4 |
| 8 | 10 |
| 12 | 10 (capped) |
First win of the day
elo:
bonus:
first-win-of-day: 25A player's first ranked win each day gives this much extra ELO. 0 turns it off. The day follows the server's time zone. The bonus is added on top of the normal change and the streak bonus.
Messages for bonuses
elo-bonus:
streak: "<prefix><gold>+<bonus> ELO <gray>win streak bonus (<white><streak></white> in a row)"
daily: "<prefix><gold>+<bonus> ELO <gray>first win of the day"Per kit
A kit can have a faster ladder or other bonuses. ranks/sumo.yml:
elo:
k-factor: 40
bonus:
streak:
enabled: false
tiers:
rookie:
display: "<green>Rookie"
min-elo: 0
commands: []
pro:
display: "<red>Pro"
min-elo: 1200
commands: []See ranks
- Placeholders for a player's rank, kit rank and overall rank: Placeholders.
- Over HTTP: ELO per kit in
GET /players/<name>/statsin the web API. Tiers are shown by the game, so map ELO to a tier with your own list if you need it outside.
Related: Ranked and ELO, ranks.yml reference.