matchmaking.yml
ELO, queues, duels, history, leaderboards, and queue signs.
Path: plugins/MineDuels/matchmaking.yml
Reload: yes
What it supports
- Global ELO defaults and win bonuses (section
elo) - Ranked queue widening over time
- Multi-queue (several kits at once)
- Duel request timers and round choices
- Match history retention
- Wall signs updated by
/md sign queue
What it does not do
- Rank display names and tier colors (
ranks/files) - Kit
ranked: trueflags (kits/*.ymlor/md kit ranked) - Party sizes (
social.yml)
elo
Merged into the main config as elo.*. If the section is missing, defaults are 1000 starting ELO, k-factor 32, min 100.
elo:
default: 1000
k-factor: 32
min: 100
bonus:
streak:
enabled: true
source: kit # kit | overall
after: 3
per-level: 2
max: 10
first-win-of-day: 0source: overall applies streak bonus from global win streak; kit uses the kit streak.
Per-kit tier visuals and optional ELO overrides: ranks/.
leaderboard
leaderboard:
size: 10
refresh-seconds: 60
overall-min-games: 10Controls in-memory boards and hologram text (messages.yml → leaderboard.*).
history
history:
enabled: true
keep-days: 30
max-matches: 100000enabled: false stops storing new matches; existing rows remain until trimmed.
duel
duel:
request-seconds: 60
rounds: [1, 3, 5]
arena-selection: true
rematch-seconds: 30
request-cooldown-seconds: 3rounds is what the duel menu and the duel-rounds dialog offer. Party invites share request-cooldown-seconds.
arena-selection: false removes the arena step of /duel and /gduel: a duel starts on a random arena that can host the kit, and no arena is sent between servers. With it on, the arena menu lists only arenas that can really be played: on a lobby that sends its games away, an arena is listed when at least one game server reports it, and %free% in the arena item shows its ready copies. If the chosen arena has no ready copy, the match waits for it until half of assign-timeout-seconds has passed and then uses another arena of the kit, which the players are told.
queue
queue:
tick-interval: 10
ranked:
initial-range: 50
range-step: 25
step-seconds: 5
max-range: 400
actionbar:
enabled: true
delay-seconds: 0
server-name: "" # cosmetic label in queue action bar only (NOT velocity server-name)
multi-queue:
enabled: true
max: 3
keep-menu-open: trueEvery step-seconds, ranked search adds range-step ELO until max-range.
Does not: Match players without a ready arena for that kit.
Queue performance
| Key | Default | Impact |
|---|---|---|
tick-interval | 10 | How often the matcher runs. Lower = slightly more CPU, faster pairing |
actionbar.enabled | true | Periodic action bar updates for everyone in queue. Set false if unused |
actionbar.delay-seconds | 0 | Delay before first action bar after joining queue |
multi-queue.enabled | true | Lets players queue multiple kits. Small extra matcher work per player |
multi-queue.max | 3 | Cap on simultaneous queue kits |
Matcher CPU is usually small compared to arena paste when many matches start in the same few seconds. If MSPT spikes line up with mass queue pops, fix arena copy pool and arena paste settings before lowering tick-interval.
Soak testing: stagger bot joins and queue commands; do not profile Spark in the same minute as restart + 16 bots queuing. Performance and Spark.
queue.server-name vs network server-name
| Setting | File | Purpose |
|---|---|---|
queue.server-name | matchmaking.yml | Optional region label in the queue action bar ("EU", "Singapore") |
cross-server.server-name | database.yml | Velocity backend id, must match velocity.toml |
See Roles glossary.
queue-signs
queue-signs:
refresh-seconds: 3
both-sides: trueSigns are placed with /md sign queue <unranked|ranked|unranked-2v2|ranked-2v2> <kit>. Cooldown between clicks: limits.yml → queue.sign-click-gap-millis.
Match found
When two players (or two teams) are paired, they stay in the lobby for queue.match-found.delay-seconds. During that time they see the found message and the match-found animation and receive the effects from queue.match-found.effects. After the delay they are teleported into the arena, or sent to the game server on a network.
queue:
match-found:
delay-seconds: 3
effects: []| Key | Default | Range | Meaning |
|---|---|---|---|
delay-seconds | 3 | 0 to 8 | Seconds in the lobby after the match is found. 0 teleports at once. |
effects | empty | list | Potion effects given from the moment the match is found. |
Where each part shows
| Part | Where it is set | Where the player sees it |
|---|---|---|
| Chat message | match.found, match.found-team in messages.yml | Lobby |
| Title, sound, boss bar | match-found in animations.yml | Lobby |
| Potion effects | queue.match-found.effects | Lobby, and again on the game server while waiting |
| Delay | queue.match-found.delay-seconds | Lobby |
On a network the lobby shows the message and the animation, waits for the delay and then sends the players. The game server does not repeat them for queue matches. Duels, party games and tournaments keep their old behavior: no delay and the message shows on arrival.
Effect fields
| Key | Range | Meaning |
|---|---|---|
type | any effect name | The effect, such as speed, slowness, blindness, night_vision. An unknown name is skipped. A minecraft: prefix is allowed. |
amplifier | 0 to 9 | The level minus one (0 is level I). |
duration-seconds | 1 to 300 | How long it lasts. It is removed earlier when the fight starts. |
particles | true or false | Show the particles. Default false. |
Examples
Speed boost while waiting:
queue:
match-found:
delay-seconds: 3
effects:
- {type: speed, amplifier: 1, duration-seconds: 10, particles: false}Blind and slow players so they cannot scout the arena:
queue:
match-found:
delay-seconds: 4
effects:
- {type: blindness, amplifier: 0, duration-seconds: 8, particles: false}
- {type: slowness, amplifier: 2, duration-seconds: 8, particles: false}Resistance so nobody gets hurt while loading:
queue:
match-found:
effects:
- {type: resistance, amplifier: 4, duration-seconds: 15, particles: false}Night vision with visible particles:
queue:
match-found:
effects:
- {type: night_vision, amplifier: 0, duration-seconds: 20, particles: true}Glowing and jump boost:
queue:
match-found:
effects:
- {type: glowing, amplifier: 0, duration-seconds: 6, particles: false}
- {type: jump_boost, amplifier: 3, duration-seconds: 6, particles: false}Instant teleport with no effects (the old behavior):
queue:
match-found:
delay-seconds: 0
effects: []Details
- The effects apply to queue matches only, not duels, party games or tournaments.
- On a network they are given on the lobby when the match is found and again on the game server while the players wait there. Effects do not travel between servers on their own, so the time spent in the lobby is not counted on the game server.
- When the fight starts they are taken away first, then the kit's own start effects (
startEffectsin the kit file) are applied, so the two do not add up. - Keep
duration-secondslonger than the delay plus the countdown, or the effect ends before the fight. - Reload with
/md reload. - To give an effect in the animation instead, use a
potionstep in thematch-foundtrigger of animations.yml.