zRivals Duels logozRivals Duels

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 the word after duel is read, as help when empty, as a subcommand when it matches a label, or as a player name to challenge, with the example of a player named top.

How /duel reads what you type

  • /duel on 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 named top or stats.

Player commands

Shown in /duel help [page].

CommandWhat it doesPermission
/duel <player>Challenge a player to a duelzrivalsduels.duel
/duel challenge <player>Challenge a player, even when their name matches a subcommandzrivalsduels.duel
/duel accept [player]Accept a request. With no name, the newest onezrivalsduels.duel
/duel decline [player]Decline a request. With no name, the newest onezrivalsduels.duel
/duel menuReopen the setup menuzrivalsduels.duel
/duel forfeitGive up the current duel, counts as a losszrivalsduels.duel
/duel queue ranked [kit]Join the ranked queue, matched with a player close to your MMRzrivalsduels.queue and zrivalsduels.ranked
/duel queue unranked [kit]Join the unranked queue, matched with a random playerzrivalsduels.queue
/duel queue leaveLeave the queuezrivalsduels.queue
/duel queueYour queue status, or how to join when you are not queuedzrivalsduels.queue
/ranked [kit]Same as /duel queue ranked, run it again to leavezrivalsduels.queue and zrivalsduels.ranked
/unranked [kit]Same as /duel queue unranked, run it again to leavezrivalsduels.queue
/duel spectateList running duels, click one to watch itzrivalsduels.spectate
/duel spectate <player>Watch that player's duelzrivalsduels.spectate
/duel leaveStop watching a duelnone
/duel statsYour duel statszrivalsduels.stats
/duel stats <player>Another player's stats, online or offlinezrivalsduels.stats.others
/duel top [page]The ranked leaderboardzrivalsduels.top
/duel seasonThe current season's top players and time leftzrivalsduels.season
/duel season <number>A finished season's top playerszrivalsduels.season
/duel rewardsOpen the season rewards menuzrivalsduels.rewards
/duel help [page]The player help pagesnone

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.

CommandWhat 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 restoreGet 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 listList every kit

Arenas

All need zrivalsduels.admin.arena. See Arenas.

CommandWhat 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> pos1Set a combat region corner, pos1 or pos2
/duel arena setbounds <name> pos1Set 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 listList every arena with its status
/duel arena tp <name>Teleport to spawn 1, or the exit

Rewards

See Season rewards.

CommandWhat it doesPermission
/duel reward set create <set>Add a new reward set to rewards.ymlzrivalsduels.admin.reward
/duel reward set delete <set>Remove a set and its saved itemszrivalsduels.admin.reward
/duel reward set listList every setzrivalsduels.admin.reward
/duel reward item add <set>Save the held item into a setzrivalsduels.admin.reward
/duel reward item list <set>Preview a set's items with their index numberszrivalsduels.admin.reward
/duel reward item remove <set> <index>Remove an item by index, starting at 1zrivalsduels.admin.reward
/duel reward item clear <set>Remove every item from a set, with a confirm stepzrivalsduels.admin.reward
/duel reward pending [season] [all]List pending real money rewards, all includes paid oneszrivalsduels.admin.realmoney
/duel reward markpaid <player> [season]Mark a real money reward as paidzrivalsduels.admin.realmoney

Seasons

All need zrivalsduels.admin.season. See Seasons.

CommandWhat it does
/duel season infoCurrent season number, state, dates, time left, ranked players and reset mode
/duel season endEnd 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

CommandWhat it doesPermission
/duel admin reloadReload every file and register the commands againzrivalsduels.admin.reload
/duel admin end <player>End that player's duel with no winner. No stats change, wagers refundedzrivalsduels.admin.end
/duel admin setmmr <player> <value>Set a player's MMR for the current seasonzrivalsduels.admin.stats
/duel admin resetstats <player>Reset a player's lifetime stats, current season stats and same opponent counts, with a confirm stepzrivalsduels.admin.stats
/duel admin history <player> [page]A player's match historyzrivalsduels.admin.history
/duel admin help [page]The admin help pagesany 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.

On this page