Post Match
The stay after a match: the hotbar items, the countdown and when players go back to the lobby.
After a match, players stay in the arena for a few seconds with a hotbar of choices instead of being sent away at once. It is set by post-match in config.yml.
post-match:
enabled: true
stay-seconds: 10
duels: true
game-servers: true| Key | Default | Meaning |
|---|---|---|
enabled | true | false sends everyone to the lobby after match.end-delay-seconds (default 3). |
stay-seconds | 10 | How long players stay. Range 3 to 120. Replaces match.end-delay-seconds for these matches. |
duels | true | Also give the stay after a /duel. |
game-servers | true | On a cross-server game server, the same stay, then players go to their lobby server. |
Which matches get the stay
| Match | Stay |
|---|---|
| Queue match | Yes |
/duel | Yes, when duels is true |
| Party games, party duels, Red Rover | No. Players return after match.end-delay-seconds. |
| Tournament match | No. Players return after match.end-delay-seconds. |
| A match cancelled before the fight, or ended by a server stop | No |
The hotbar
| Item | What it does |
|---|---|
| Play again | Go to the lobby and join the same queue. |
| Requeue all | Go to the lobby and join every queue you were in when the match was found. Shown when you were in more than one. |
| Leave to lobby | Go to the lobby now. /leave and /spawn do the same. |
The items are defined in guis/lobby-items/post-match.yml. On a cross-server game server, play again and requeue all queue you on the lobby you arrive on, and only for queue matches and players who are not in a party.
The countdown
The action bar shows the seconds left (post-match.actionbar in messages.yml). It stays hidden for the first 5 seconds of the stay, so the win or lose animation can use the action bar. The default stay of 10 seconds shows the countdown for the last 5 seconds.
stay-seconds | Countdown shown from |
|---|---|
| 3 to 5 | Never |
| 10 | 5 seconds left |
| 15 | 10 seconds left |
| 30 | 25 seconds left |
Players are never sent away before the stay ends, unless they choose to leave or nobody is left in the arena.
Examples
A longer stay with a visible countdown:
post-match:
stay-seconds: 20No stay, back to the lobby after 3 seconds:
post-match:
enabled: false
match:
end-delay-seconds: 3Stay after queue matches only, not after /duel:
post-match:
duels: falseGame servers send players back right after the end delay:
post-match:
game-servers: falseChange the countdown line in messages.yml:
post-match:
actionbar: "<gray>Back to the lobby in <white><seconds></white>s"Apply with /md reload. See also Configuration catalog and Operations.