Commands
Every player and admin command, what it does, and the permission it needs.
All commands start with /duel. /duels and /zrivals work too. Every name below uses the default labels, see Commands file to rename them.
How /duel reads what you type
/duelon its own shows the help page.- If the next word is a subcommand, that subcommand runs.
- Anything else is taken as a player name and sends a challenge.
/duel challenge <player>always challenges, even a player namedtoporstats.
Player commands
Shown in /duel help [page].
| Command | What it does | Permission |
|---|---|---|
/duel <player> | Challenge a player to a duel | zrivalsduels.duel |
/duel challenge <player> | Challenge a player, even when their name matches a subcommand | zrivalsduels.duel |
/duel accept [player] | Accept a request. With no name, the newest one | zrivalsduels.duel |
/duel decline [player] | Decline a request. With no name, the newest one | zrivalsduels.duel |
/duel menu | Reopen the setup menu | zrivalsduels.duel |
/duel forfeit | Give up the current duel, counts as a loss | zrivalsduels.duel |
/duel queue ranked [kit] | Join the ranked queue, matched with a player close to your MMR | zrivalsduels.queue and zrivalsduels.ranked |
/duel queue unranked [kit] | Join the unranked queue, matched with a random player | zrivalsduels.queue |
/duel queue leave | Leave the queue | zrivalsduels.queue |
/duel queue | Your queue status, or how to join when you are not queued | zrivalsduels.queue |
/ranked [kit] | Same as /duel queue ranked, run it again to leave | zrivalsduels.queue and zrivalsduels.ranked |
/unranked [kit] | Same as /duel queue unranked, run it again to leave | zrivalsduels.queue |
/duel spectate | List running duels, click one to watch it | zrivalsduels.spectate |
/duel spectate <player> | Watch that player's duel | zrivalsduels.spectate |
/duel leave | Stop watching a duel | none |
/duel stats | Your duel stats | zrivalsduels.stats |
/duel stats <player> | Another player's stats, online or offline | zrivalsduels.stats.others |
/duel top [page] | The ranked leaderboard | zrivalsduels.top |
/duel season | The current season's top players and time left | zrivalsduels.season |
/duel season <number> | A finished season's top players | zrivalsduels.season |
/duel rewards | Open the season rewards menu | zrivalsduels.rewards |
/duel help [page] | The player help pages | none |
Ranked duels come from the matchmaking queue. Ranked mode in the setup menu only exists when queue.ranked-challenges is on, and then needs zrivalsduels.ranked for both players. /ranked and /unranked are renamed or turned off in commands.yml. /duel menu wager accept and /duel menu wager decline answer a wager proposal, the chat buttons run them for you.
Admin commands
Shown in /duel admin help [page], which works for anyone with at least one admin permission.
Kits
All need zrivalsduels.admin.kit. See Kits.
| Command | What it does |
|---|---|
/duel kit create <name> | Save your inventory, armour and offhand as a kit |
/duel kit update <name> | Replace a kit's items with your inventory, keeping its display settings |
/duel kit delete <name> | Delete a kit, with a confirm step |
/duel kit load <name> | Put a kit in your inventory to edit it, saving your own first |
/duel kit restore | Get back the inventory saved by kit load |
/duel kit seticon <name> | Use the held item as the kit icon |
/duel kit rename <name> <display name> | Set the kit's MiniMessage display name |
/duel kit preview <name> | Open the read only preview |
/duel kit list | List every kit |
Arenas
All need zrivalsduels.admin.arena. See Arenas.
| Command | What it does |
|---|---|
/duel arena create <name> | Create an arena |
/duel arena delete <name> | Delete an arena, with a confirm step |
/duel arena setspawn1 <name> | Set spawn 1 at your position and facing |
/duel arena setspawn2 <name> | Set spawn 2 at your position and facing |
/duel arena setregion <name> pos1 | Set a combat region corner, pos1 or pos2 |
/duel arena setbounds <name> pos1 | Set a boundary corner, pos1 or pos2 |
/duel arena setexit <name> | Set where players go after the duel |
/duel arena setspectator <name> | Set where spectators watch from |
/duel arena enable <name> | Turn an arena on |
/duel arena disable <name> | Turn an arena off |
/duel arena info <name> | Show what is set, what is missing and the status |
/duel arena list | List every arena with its status |
/duel arena tp <name> | Teleport to spawn 1, or the exit |
Rewards
See Season rewards.
| Command | What it does | Permission |
|---|---|---|
/duel reward set create <set> | Add a new reward set to rewards.yml | zrivalsduels.admin.reward |
/duel reward set delete <set> | Remove a set and its saved items | zrivalsduels.admin.reward |
/duel reward set list | List every set | zrivalsduels.admin.reward |
/duel reward item add <set> | Save the held item into a set | zrivalsduels.admin.reward |
/duel reward item list <set> | Preview a set's items with their index numbers | zrivalsduels.admin.reward |
/duel reward item remove <set> <index> | Remove an item by index, starting at 1 | zrivalsduels.admin.reward |
/duel reward item clear <set> | Remove every item from a set, with a confirm step | zrivalsduels.admin.reward |
/duel reward pending [season] [all] | List pending real money rewards, all includes paid ones | zrivalsduels.admin.realmoney |
/duel reward markpaid <player> [season] | Mark a real money reward as paid | zrivalsduels.admin.realmoney |
Seasons
All need zrivalsduels.admin.season. See Seasons.
| Command | What it does |
|---|---|
/duel season info | Current season number, state, dates, time left, ranked players and reset mode |
/duel season end | End the current season now. Run /duel season end confirm within 30 seconds |
/duel season history [season] [page] | A finished season's full results. With no season, the latest one |
Server and players
| Command | What it does | Permission |
|---|---|---|
/duel admin reload | Reload every file and register the commands again | zrivalsduels.admin.reload |
/duel admin end <player> | End that player's duel with no winner. No stats change, wagers refunded | zrivalsduels.admin.end |
/duel admin setmmr <player> <value> | Set a player's MMR for the current season | zrivalsduels.admin.stats |
/duel admin resetstats <player> | Reset a player's lifetime stats, current season stats and same opponent counts, with a confirm step | zrivalsduels.admin.stats |
/duel admin history <player> [page] | A player's match history | zrivalsduels.admin.history |
/duel admin help [page] | The admin help pages | any admin permission |
Confirm steps
Deleting a kit or arena, clearing a reward set's items, resetting stats and ending a season all ask for a second command first. The message shows the exact command to run, click it or type it within 30 seconds.
From the console
Most admin commands work from the console. Commands that need your position, inventory, held item or a menu must be run in game: every kit command except list, the arena commands that set points and tp, reward item add and reward item list, and every player command except stats <player>, top, season and help.