Skip to Content
MineDuels

Creating kits and arenas

Full `/md kit` and `/md arena` workflows, subcommands, and how they connect.

Everything here needs permission mineduels.admin. Aliases: /mineduels ....

Kits define what players fight with and which rules apply. Arenas define where they fight. A kit only appears in queue when at least one ready arena copy can host it (points set, blocks saved, kit linked).


Name rules (kits and arenas)

Ids may use a-z, 0-9, _, and -, up to 32 characters. Names are stored lowercase.

Files on disk:

TypePaths
Kitplugins/MineDuels/kits/<id>.yml
Arenaplugins/MineDuels/arenas/<id>.yml + <id>.cda (block data, created on first save)

Arenas: first-time setup

Build the map in any world (creative world, plot, Multiverse world, etc.). MineDuels later pastes copies into the arena grid world (config.yml → arena.world).

Step 1: Selection wand

/md arena wand

You receive the arena wand.

ActionEffect
Left click blockCorner 1 of the cuboid
Right click blockCorner 2 (air click uses the block under you)
Sneak + left clickSet spawn point a at your feet (heading matters)
Sneak + right clickSet spawn point b

Optional: /md arena wand <arena> binds the wand to one template when several builds overlap.

Step 2: Create the template

With both corners set in the same world:

/md arena create uhc_flat

This writes arenas/uhc_flat.yml and stores the selection size. It does not copy blocks into the pool yet.

If the build is too wide or tall for your grid spacing, the command fails; raise arena.grid.spacing in config.yml or shrink the selection.

Step 3: Spawn points (required)

Stand on each team spawn inside the selected region (or inside a pasted copy later):

/md arena setpoint uhc_flat a
/md arena setpoint uhc_flat b

Built-in point ids (tab-complete on setpoint):

a, b, c, d, bed-a, bed-b, goal-a, goal-b, spectator, center

Custom ids are allowed if they match the name rules (e.g. mid for a party game).

spectator is where spectators arrive (and where a player who is out of the round is sent back to watch). Without it they arrive in the middle of the arena: the center point if set, otherwise the middle of the arena, a little above the ground.

Mode-specific kits need extra points. After you set a kit rule, run /md kit info <kit> or create from a preset; the plugin prints which arena points are required.

Kit rule (examples)Arena points
beds: truebed-a, bed-b
bridge-goals: truegoal-a, goal-b

Step 4: Save block data (first capture)

/md arena save uhc_flat

This captures blocks from the original world selection, writes the .cda file, and starts pasting idle copies into the arena world.

Step 5: Check the pool

/md arena list

You want copy states that include READY. If you only see pasting or empty counts, wait a few seconds or check the console for arena world errors.

Example: bedwars arena

/md arena wand
# select the island cuboid
/md arena create bw_islands
/md arena setpoint bw_islands a
/md arena setpoint bw_islands b
/md arena setpoint bw_islands bed-a
/md arena setpoint bw_islands bed-b
/md arena save bw_islands

Arenas: changing an existing map

After the first save, do not use /md arena save <name> from the build world again for routine edits.

/md arena edit uhc_flat

You are teleported to a temporary edit paste in creative. Change blocks, move points, gates, or elevators.

CommandEffect
/md arena saveCaptures changes and leaves edit mode (no arena name needed while editing)
/md arena edit cancelDiscards changes and returns you to where you started

While editing, /md arena setpoint, setarea, gate, and elevator work on the edit copy.

Teleport to a saved point (useful in edit mode or when testing in a copy):

/md arena tp uhc_flat a
/md arena tp uhc_flat bed-a
/md arena tp uhc_flat gate-1

Place names include all points, area-<id>, gate-<n>, and elevator-<n>.


Arenas: command reference

Core

CommandWhat it does
/md arena wandGive selection wand (optionally /md arena wand <arena>)
/md arena create <name>New template from wand selection
/md arena setpoint <arena> <point>Save a spawn or marker at your location
/md arena delpoint <arena> <point>Remove a point
/md arena save [<arena>]First capture from build world, or save while in /md arena edit
/md arena edit <arena>Open creative edit session
/md arena edit cancelLeave edit without saving
/md arena listAll templates, sizes, points, copy states
/md arena delete <arena>Delete template and clear copies
/md arena tp <arena> <place>Teleport to a point or gate center
/md arena copies <arena> <min> <max>How many idle copies to keep
/md arena releaseLeave a test copy and reset it (see below)

Spawn safe zones (match start)

For freeze start mode you can keep enemies out of a spawn box at round start:

/md arena wand
# select the safe cuboid
/md arena setarea uhc_flat a

Pair with /md arena setpoint uhc_flat a. Remove with /md arena delarea <arena> <id>.

Start mode

/md arena startmode uhc_flat freeze
/md arena startmode sky_arena gate
/md arena startmode towers elevator
/md arena startmode classic default
ModeMeaning
freezePlayers frozen until countdown ends (default from config if default)
gatePhysical gates open at start; define gate regions (below)
elevatorElevator shafts lift players; define shafts (below)
defaultUse match-start settings from config

Gates (startmode gate)

/md arena startmode duel_gate gate
/fwand duel_gate
# wand: left/right click gate corners inside the arena
/fwand duel_gate define
/fwand duel_gate list
/fwand duel_gate remove 1
/fwand duel_gate clear
/fwand duel_gate settings
/fwand duel_gate set <key> <value>

Same definitions exist under /md arena gate <arena> ... and /md arena gatewand <arena>.

Elevators (startmode elevator)

/md arena startmode sky_elev elevator
/fwand sky_elev
/md arena elevator sky_elev define
/md arena elevator sky_elev auto <point> [width] [speed]
/md arena elevator sky_elev list
/md arena elevator sky_elev remove <n>
/md arena elevator sky_elev clear
/md arena elevator sky_elev wallblock <block>
/md arena elevator sky_elev lidblock <block>
/md arena elevator sky_elev lidlayers <layers>

Testing a copy (dev builds)

When dev-commands: true in config:

/md arena test uhc_flat
# walk around inside the copy
/md arena release

release resets the copy you stand in (not copies used by live matches).


Kits: workflow

Create from your inventory

Put the exact loadout in your inventory (lobby hotbar items are ignored). Main hand sets the queue icon material.

/md kit create practice

Then tune rules:

/md kit rule practice build false
/md kit rule practice hit-delay 10
/md kit rule practice rounds-to-win 3

Show one rule:

/md kit rule practice build

Set the same rule on every kit:

/md kit rule all build false

For list-type rules (e.g. break-arena), run /md kit rule <kit> <key> without a value as a player to open the block picker GUI.

Create from a preset

/md kit presets
/md kit preset nodebuff
/md kit preset bedwars my_bedwars

Preset names: nodebuff, sumo, boxing, builduhc, bridge, bedwars, skywars, tnttag, tntsumo, fireball.

Presets set display name, icon, rules, and sometimes items. You still need arenas with the right points.

/md kit arenas practice uhc_flat another_arena
SyntaxMeaning
practice uhc_flatOnly arena uhc_flat
practice uhc_flat bw_islandsEither arena
practice -Any arena that has ready copies (empty list)
practice #tagAny arena tagged #tag in its yaml (if you use arena tags)

Same as editing kits/practice.yml:

arenas:
  - uhc_flat
  - bw_islands

Display name and ranked

/md kit displayname practice <green>Practice
/md kit ranked practice true
/md kit priority practice 50

Higher priority sorts earlier in kit menus (ties by name).

Inventory, effects, match start flair

/md kit setinv practice
/md kit seticon practice
/md kit effects practice speed:1 strength:1
/md kit effects practice -
/md kit starteffects practice speed:1:10s
/md kit startsound practice entity.player.levelup
/md kit startsound practice - 

starteffects apply when the fight phase begins. Sounds accept optional volume and pitch.

Death messages (per kit)

/md kit deathmessage practice killed <red>%victim% fell to <red>%killer%
/md kit deathmessage practice killed -
/md kit deathmessage practice killed off

Types match Kit.DEATH_MESSAGE_TYPES in the plugin (killed, void, etc.; tab-complete in game).

Kit room (editor extras)

For kits with editor-extras: true:

/md kit kitroom builduhc
/md kit kitroom builduhc list
/md kit kitroom builduhc clear
/md kit kitroom builduhc copy other_kit

Opens the category editor for extra items players pick in the kit editor.

Inspect, give, delete

/md kit list
/md kit info practice
/md kit give practice
/md kit give practice Steve
/md kit delete practice

Deleting a kit removes the file; player stats for that kit are kept.


Kits: full /md kit subcommand list

SubcommandUsage
create/md kit create <name>
setinv/md kit setinv <name>
seticon/md kit seticon <name>
displayname/md kit displayname <name> <MiniMessage text>
ranked/md kit ranked <name> <true|false>
priority/md kit priority <name> <number>
arenas/md kit arenas <name> <list or ->
effects/md kit effects <name> <effect:list or ->
starteffects/md kit starteffects <name> <list or ->
startsound/md kit startsound <name> <sound key or -> [vol] [pitch]
deathmessage/md kit deathmessage <name> <type> <text|off|->
rule/md kit rule <name|all> <rule> [value]
preset/md kit preset <preset> [name]
presets/md kit presets
give/md kit give <name> [player]
kitroom/md kit kitroom <name> [list|clear|copy <from>]
info/md kit info <name>
delete/md kit delete <name>
list/md kit list

Rule keys are tab-completed; see Kit rules.


End-to-end example

Goal: Ranked Nodebuff on a new flat arena.

# Arena
/md arena wand
/md arena create nodebuff_arena
/md arena setpoint nodebuff_arena a
/md arena setpoint nodebuff_arena b
/md arena save nodebuff_arena
/md arena list

# Kit
/md kit preset nodebuff
/md kit arenas nodebuff nodebuff_arena
/md kit ranked nodebuff true
/md kit displayname nodebuff <aqua><icon:nodebuff> Nodebuff

# Lobby
/md setlobby
/md reload

Two players open the queue GUI or run /queue, pick Nodebuff, and match when a READY copy is free.


When something does not work

SymptomCheck
Kit missing from queue/md arena list shows READY; kit arenas: includes that name; points a and b exist
"No arena can host kit"Add arena to kit, save arena, or add mode points (beds, goals)
Queue works but players never startArena pool not started (console); Folia arena world must exist at boot
Edits ignoredUse /md arena edit then /md arena save, not first-time save from the old world

More Q&A: FAQ. Copy-paste yaml: Examples.

On this page