Duels and bets
Challenge players directly with rounds and money bets, or fight with your own items and stake them.
A duel is a 1v1 match one player asks another for. Duels are never ranked, but they count for stats.
Sending a duel
/duel <player> [kit] [rounds] [$bet] [stake]The options can come in any order after the player's name:
| Option | Example | Meaning |
|---|---|---|
| A kit name | nodebuff | The kit to fight with. Leave it out to pick from a menu. |
own | own | Fight with your own items. See own-inventory duels. |
| A number from 1 to 9 | 3 | First to this many rounds. Leave it out to use the kit's rounds-to-win. |
$ and an amount | $500, $2.5k, $1m | A money bet. k means thousand and m means million. |
A number above 9, or with k or m | 500, 5k | Also a money bet. |
stake | stake | Own-inventory duel where the loser's items go to the winner. |
Examples:
| Command | What it asks for |
|---|---|
/duel Steve | Opens a kit menu, then sends a duel. |
/duel Steve nodebuff 3 | Nodebuff, first to 3 rounds. |
/duel Steve nodebuff $500 | Nodebuff, $500 bet each. |
/duel Steve own stake | Own items, loser's items go to the winner. |
Sending a duel needs pandaduels.duel. You can't duel while you or the other player are in a match, a queue, spectating, editing a kit or in a running tournament.
Answering a duel
The other player gets a message with clickable [Accept] and [Deny] buttons. They can also type:
/duel accept <player>
/duel deny <player>A request expires after requests.expire-seconds (30). You can't send the same player another request within requests.cooldown-seconds (5).
Turning duel requests off
/duel toggle turns incoming duel requests off or on. Players can also use the settings menu. Players with pandaduels.bypass.requests can still send requests to players who turned them off.
Rematch
/duel rematch asks your last 1v1 opponent for the same duel again: same kit, rounds, bet and stake. It works for 10 minutes after the match ends. If your opponent already asked you for a rematch, /duel rematch accepts it.
The end-of-match summary has a clickable [Rematch] button that does the same.
Rounds
In a match with more than one round:
- The round ends when one side has nobody left.
- Everyone sees who won the round and the score.
- The arena is reset and everyone goes back to their spawn with a fresh kit.
- The next round starts after
match.round-delay-seconds(3) and the kit's countdown.
With match.sneak-to-ready: true (the default), players can sneak between rounds to say they are ready. When everyone is ready, the next round starts without waiting.
Money bets
Bets need:
betting.enabled: trueinconfig.yml(the default).- Vault and an economy plugin. Without them, players see
Betting is off. - An amount between
betting.min(100) andbetting.max(1,000,000). - Both players able to afford it, both when the duel is sent and when it is accepted.
What happens to the money
- When the duel is accepted, the bet is taken from both players before the match looks for an arena. If either can't pay, nothing is taken and the duel doesn't start.
- The winner gets the pot (both bets) minus
betting.tax. Withtax: 0.05, the server keeps 5%. - If the match is a draw, both players get their bet back.
- If a player leaves before an arena is found, or staff end the match with
/pd end <player>, both players get their bet back.
If the server stops
Every step of a bet is written to the database before and after it happens. If the server stops while a bet is held, both players get their money back at the next start, and the console logs Gave back N bet(s) held when the server last stopped.
If the server stops in the middle of a single payment to or from the economy plugin, PandaDuels can't know whether that payment went through. It doesn't guess. It lists the bet for staff instead, logs a warning at start, and /pd doctor mentions it.
Fixing an interrupted bet
- Run
/pd escrow. Each line shows a short id, the state, the amount, the player's UUID and the match.TAKING: the server stopped while taking this money from the player.PAYING: the server stopped while paying it out or refunding it.
- Check the player's balance history in your economy plugin and fix the balance by hand if needed.
- Mark it done, with a note of what you did:
/pd escrow resolve <id> <what you did>
The id can be the short id shown in the list.
Own-inventory duels
/duel <player> ownBoth players fight with whatever they are carrying. Nothing is taken from them and no kit is given. Items can't be dropped during the match, and whatever each player has at the end is what they keep. Own-inventory matches are always one round.
Stake duels
/duel <player> own stakeA stake duel is an own-inventory duel where the loser's items go to the winner. Everything the loser has at the end of the match (inventory, armour and offhand) is taken from them and stored for the winner.
The winner collects it with:
/duel claimItems go into free inventory slots. What doesn't fit stays waiting; make room and run /duel claim again. Players with items waiting get a clickable [Claim] message when they join.
Stake duels need own-inventory.allow-stake: true (the default) and the pandaduels.duel.stake permission (everyone has it by default). Turn either off to disable them.
If the loser logs out, they still lose their items. The transfer to the winner happens in one database step, so items can't be lost or doubled. If that step fails, the loser gets their items back.