Let players challenge each other to duels
Let players challenge a specific player, pick the kit, arena and rounds, and decide who may choose the arena.
A duel skips matchmaking: one player picks the opponent, the kit, the number of rounds and (optionally) the arena, and the other accepts. By the end of this page duels work for your kits and you know who may choose what.
Before you start#
- A category and a kit with Duel on:
/epc→ Manage kits → All kits → your kit → Playability & ranked → Duel. A kit with Duel off is not listed. See Play your first match if you have no kit yet. - An arena linked to that kit, so a match can start.
- Everybody can already send duels:
exyliapractice.duelis on by default.
Steps#
Challenge a player
Run /duel <player> (or /d <player>, or the Duel button on a player's row in a menu). Names tab-complete to players who are free.
Pick the category and the kit
The category list comes first, as everywhere else, then the kits that have Duel on.
Pick the rounds
1 round, 3 rounds, 5 rounds or Custom. Custom asks in chat for a number from 1 to 20 (type cancel to go back) and needs exyliapractice.duel.rounds.
Pick the arena
Click an arena, or Random arena. A chosen arena is tried first and, if it is busy, the kit's other compatible arenas are used, so a preferred arena never makes a duel fail. Without exyliapractice.duel.arena this screen is skipped and the duel goes to a random arena.
The other player answers
Both players get a message naming the kit and the rounds. The target runs /duel accept [player] or /duel deny [player].
| Command | What it does |
|---|---|
/duel <player>, /d <player> | Start a challenge |
/duel accept [player] | Accept. With no name, the first pending request. |
/duel deny [player], /duel decline [player] | Decline |
/duel cancel | Withdraw the request you sent |
A player can receive several requests but hold only one outgoing request. Sending a second one asks first: "Cancel your duel request to <player> and send this one instead?" and, on yes, replaces it. /duel accept with no name takes whichever request it finds first, so name the sender when more than one is waiting. A player whose name is accept, deny, decline or cancel can only be challenged from a menu.
Check that it works#
- Challenge a second account: they get the request,
/duel acceptputs both of you in the arena with the kit. - Wait 30 seconds without answering: the request expires and the sender is told. Change this with
duel.request-expiry-seconds(5 to 300). - Turn Duel requests off in the target's
/settings: the challenge is refused.
Going further#
Make choosing the arena or the rounds a perk#
exyliapractice.duel.arena and exyliapractice.duel.rounds are on for everybody. Deny them to your default group and grant them to VIP in LuckPerms: the default group then duels on a random arena with 1, 3 or 5 rounds, and VIPs get the arena screen and Custom.
Best-of rounds#
A duel with more than one round is a best-of: the first player to win rounds rounds wins the match. Between rounds both get a round won / round lost title with the running score, then after duel.round-end-delay-ticks (80 by default, four seconds) the arena is regenerated in place and both players are revived, reset to zero points, teleported to their spawns, re-kitted and counted down again. A round that ends in a draw restarts without giving anybody a win. A kit with points-to-win makes each round a race to that total, and the sidebar switches to the duel-with-points layout. See Kit rules.
Who cannot duel, and ELO
A duel is refused when either player is not free (queued, in a match, editing a kit, spectating, or held by another plugin) or when the target has Duel requests off in /settings. Both players are claimed at the same moment on accept; if the second claim fails, the first is released and nothing starts.
A duel is ranked when the kit is ranked: there is no separate switch, and a ranked kit moves LP through /duel exactly as through /queue.
The anti-boost checks (same IP, recent-opponent cooldown) are asked before a queue pairing, not before a duel is accepted, so two accounts can duel each other repeatedly for LP. A duel does record the pair as recently matched, which blocks them from meeting through the queue for elo-security.opponent-cooldown-seconds. If that matters on your server, turn Ranked off on the kits you offer for duelling, or Duel off on the ranked ones. See ELO and ranks.
Settings: duel.request-expiry-seconds (30), duel.round-end-delay-ticks (80). The replace prompt and every other line are in messages.yml under duel:; see Messages and languages.
Something missing on this page? Tell us on Discord