Skip to Content
MineDuels

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

CommandWhoWhat it does
/tournament host <kit> [team-size] [max-players]hostsOpens a tournament. Team size is 1 or 2.
/tournament join, leaveeveryoneJoin or leave it.
/tournament info, menueveryoneShows the state, opens the menu.
/tournament starthostStarts before the join time is over.
/tournament cancelhostCancels 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
KeyMeaning
join-secondsHow long players can join before it starts (10 to 3600).
min-playersFewer players cancels it.
default-max-players, max-players-limitThe default size and the most a host may ask for (4 to 512).
announce-secondsWhen the countdown is announced.
round-delay-secondsPause between rounds.
draw-replaysReplays of a drawn match before a coin flip decides.
arena-wait-message-secondsHow often waiting players hear that no arena is free.
host-joinsThe host plays too.
reward-commandsConsole commands run for each member of the winning side. %player% is the name.
host-cooldownsSeconds 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.

On this page