Skip to Content
MineDuels

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

FilePurpose
ranks/_default.ymlThe tiers and rank settings every kit uses
ranks/<kit>.ymlOverrides 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).

KeyMeaning
enabledfalse turns ranks off. Players have no rank
placement-gamesRanked 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
unrankedWhat a player without a rank shows
announce-overallAnnounce changes of the overall rank
delay-ticksTicks the announcement waits after the match ended (0 to 1200), so it does not cover the result
tiers.<id>.displayThe name in MiniMessage
tiers.<id>.min-eloThe lowest ELO of the tier
tiers.<id>.commandsConsole 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: []
KeyMeaning
rank-up.titleShow a title and subtitle to the player
rank-up.broadcastTell every online player
rank-up.soundA sound key (empty for none), volume 0 to 10, pitch 0.5 to 2
rank-up.commandsRun on every rank-up, before the tier's own commands
rank-up.rewards-onceThe 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.announceTell the player when they drop a rank
rank-down.commandsRun 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
KeyDefaultMeaning
streak.enabledtrueTurns the streak bonus on
streak.sourcekitkit counts the streak in the kit of the match. overall counts the streak across all kits
streak.after3The bonus starts above this many wins in a row
streak.per-level2ELO for each win above after
streak.max10The 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 winBonus
30
42
54
810
1210 (capped)

First win of the day

elo:
  bonus:
    first-win-of-day: 25

A 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>/stats in 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.

On this page