Tournaments
Player-hosted brackets: hosting, joining, the settings in social.yml and how they run on a network.
A tournament is a bracket of one-on-one or two-on-two matches. A player with permission hosts it, others join, and the winners move on round by round until one side is left.
Commands
| Command | Who | What it does |
|---|---|---|
/tournament host <kit> [team-size] [max-players] | hosts | Opens a tournament. Team size is 1 or 2. |
/tournament join, leave | everyone | Join or leave it. |
/tournament info, menu | everyone | Shows the state, opens the menu. |
/tournament start | host | Starts before the join time is over. |
/tournament cancel | host | Cancels it. |
/tourney is a short name for /tournament. Permissions: mineduels.tournament (everyone), mineduels.tournament.host (hosts, op by default) and mineduels.tournament.bypass (no host cooldown).
Settings
The tournament: section of social.yml:
tournament:
join-seconds: 120
min-players: 4
default-max-players: 16
max-players-limit: 64
announce-seconds: [60, 30, 10]
round-delay-seconds: 5
draw-replays: 1
arena-wait-message-seconds: 15
host-joins: true
reward-commands: ["give %player% diamond 5"]
host-cooldowns:
default: 3600
vip: 1800| Key | Meaning |
|---|---|
join-seconds | How long players can join before it starts (10 to 3600). |
min-players | Fewer players cancels it. |
default-max-players, max-players-limit | The default size and the most a host may ask for (4 to 512). |
announce-seconds | When the countdown is announced. |
round-delay-seconds | Pause between rounds. |
draw-replays | Replays of a drawn match before a coin flip decides. |
arena-wait-message-seconds | How often waiting players hear that no arena is free. |
host-joins | The host plays too. |
reward-commands | Console commands run for each member of the winning side. %player% is the name. |
host-cooldowns | Seconds a host waits between tournaments, by permission group. |
On a network
With cross-server on, the tournament is run by the lobby where it was hosted, and every bout runs on a duel server.
- Players join on the lobby of the host. The bracket stays there.
- For each pairing the matchmaker picks a duel server with the kit and a free arena. The two sides are moved there, fight, and come back to the lobby. The winner is reported back and the bracket moves on.
- A bout that cannot start (no duel server, no free arena) waits and is tried again. Players are told while they wait.
- A player who does not come back within 90 seconds after their bout leaves the bracket and their opponent advances.
- Only the lobby that hosts the tournament needs to stay online. Players on other lobbies cannot join it.
- A server without cross-server runs the tournament on its own arenas as usual.
What is not possible
- Joining a tournament from another lobby of the network.
- More than two players per side.
- Several tournaments at the same time on one server.
Related: Party Games, social.yml.