Commands and permissions
Every command group of MineDuels, who may use it, and the permission nodes.
Players use the commands below. Admins use /md (permission mineduels.admin). Permissions are checked by your permissions plugin, for example LuckPerms. A node that is true by default is given to everyone.
Player commands
| Command | What it does | Permission node (default) |
|---|---|---|
/queue, /ranked, /unranked | Join a queue, or open the queue menu. | no node |
/leave | Leave your queues. | no node |
/forfeit | Give up your current match. | no node |
/duel <player> with accept, deny | Challenge a player, answer a challenge. | mineduels.duel (true) |
/rematch | Ask for a rematch after a match. | mineduels.duel (true) |
/spectate | Watch a running match. | mineduels.spectate (true) |
/party (/p) | Parties: create, invite, accept, join, leave, kick, promote, disband, chat, info, members, open, duel, games, teams, broadcast, menu. | mineduels.party (true) |
/kit editor | Arrange and save your kit layouts. | mineduels.editor (true) |
/settings | Open your personal settings menu. | no node |
/stats, /leaderboard, /history | Your stats, the best players, your past matches. | no node |
/friend (/friends) | add, remove, accept, deny, list, requests, notify, toggle. | mineduels.friends (true) |
/clan | create, invite, join, leave, kick, promote, demote, tag, top, list, info, chat, open, disband, menu. | mineduels.clan (true), mineduels.clan.create (true) |
/tournament (/tourney) | join, leave, info, menu; hosts also host, start, cancel. | mineduels.tournament (true), mineduels.tournament.host (op) |
/fly, /spear, /elytra | The lobby movement modes. | mineduels.fly or mineduels.lobby.fly, mineduels.spear, mineduels.elytra (op) |
Network commands
These exist when cross-server is enabled.
| Command | Where | What it does | Permission |
|---|---|---|---|
/servers | backend | Opens the server selector. | mineduels.servers (true) |
/regions | lobby | Opens the regions menu: choose which regions you play in. In a party only the leader can change it. | none |
/gduel <player> [kit] [arena] [rounds] | lobby | Challenge a player on another server. Without a kit the kit, arena and rounds pickers open; arena is a name or random. | mineduels.duel |
/lobby, /hub | proxy | Go back to a lobby server. | no node |
/mdproxy | proxy | Shows the backends, their roles, players and heartbeats. | mineduels.proxy.admin |
/mdproxy drain start [reason], stop, status | proxy | Stop new logins and transfers before a proxy restart. | mineduels.proxy.admin |
/mdproxy reload | proxy | Reload the gate settings and webhook.yml. | mineduels.proxy.admin |
Admin commands
All of these need mineduels.admin (op by default).
| Command | Use |
|---|---|
/md reload | Reload the configuration files. See the reload matrix. |
/md setlobby | Set the lobby spawn. |
/md arena ... | Create, edit and test arenas: create, list, delete, setarea, delarea, setpoint, delpoint, wand, save, startmode, copies, release, test. |
/md kit ... | Create and edit kits. |
/md drain start [reason], stop, status | Stop new players and matches before a restart. See Restarts and the game server gate. |
/md web url, status, key list, key create <name> <read|write|admin>, key remove <name> | Show the web API address and manage its API keys. |
/md animation, /md debug | Preview an animation, show diagnostics. |
The full setup order is in Creating kits and arenas.
Other permission nodes
| Node | Default | Meaning |
|---|---|---|
mineduels.proxy.bypass | none | Proxy: connect to game servers without being in a match, and join a draining lobby or proxy. Without a permissions plugin use gate.bypass-players. |
mineduels.build | op | Build and use lobby items freely in the lobby. |
mineduels.lobby.bypass | op | Leave the lobby region without being sent back. |
mineduels.match.commands.bypass | op | Use any command during a match (see match.allowed-commands). |
mineduels.spectate.silent | op | Spectate without the players being told. |
mineduels.spectate.bypass | op | Spectate players who switched spectators off. |
mineduels.party.size.<n> | false | Parties this player leads hold at most n members. Example nodes: 4 and 16. |
mineduels.party.broadcast | true | Use /party broadcast. |
mineduels.party.broadcast.bypass | op | Broadcast without a cooldown. |
mineduels.editor.cosmetics | op | The shield designer and armor trims of the kit editor (mineduels.editor.shield, mineduels.editor.trims alone). |
mineduels.editor.layouts.<2-9> | false | That many layout slots per kit when kit-editor.max-layouts is lower. |
Examples
Give your VIPs larger parties and extra kit layouts (LuckPerms):
/lp group vip permission set mineduels.party.size.16 true
/lp group vip permission set mineduels.editor.layouts.5 trueLet a host group run tournaments without the cooldown:
/lp group events permission set mineduels.tournament.host true
/lp group events permission set mineduels.tournament.bypass trueLet staff join game servers to check arenas, and drain a server before a restart:
/lp group staff permission set mineduels.proxy.bypass true
/md drain start restart at 22:00Stop everyone from using /fly in the lobby but keep it for staff:
/lp group default permission set mineduels.fly false
/lp group staff permission set mineduels.fly true