Skip to Content
MineDuels

Kit rules

Every rule of a kit, its type, default and allowed range, with a ready example for each game mode.

Every kit file has a rules: section. Rules decide what players can do in a match and which arena points are required. A rule you leave out uses its default. A value out of range is clamped, and a value of the wrong type falls back to the default.

You can edit the file, or use the command:

/md kit rule <kit> <rule> <value>
/md kit info <kit>

/md kit info <kit> lists every rule with its current value and the arena points the kit needs.

Building and the arena

RuleTypeDefaultMeaning
buildtrue/falsetruePlayers place blocks and break the blocks they placed
build-margin0 to 160How many blocks outside the arena box players may place blocks
break-arenablock listnoneBlocks of the arena itself that may be broken. See Breakable blocks
interact-arenablock listnoneBlocks of the arena that may be used (doors, buttons, chests) without being breakable
allow-craftingitem listallItems players may craft during the match
drop-itemstrue/falsefalsePlayers may drop items
pickup-itemstrue/falsefalsePlayers may pick items up

Survival

RuleTypeDefaultMeaning
hungertrue/falsetrueHunger drains
natural-regentrue/falsetrueHealth regenerates from saturation
fall-damagetrue/falsetrueFall damage applies
void-depth0 to 645Blocks below the arena where a player dies

Rounds and time

RuleTypeDefaultMeaning
rounds-to-win1 to 101Rounds a player or team must win
time-limit30 to 3600600Seconds a round may last
time-limit-enddraw or sudden-deathdrawWhat happens at the limit
reset-between-roundstrue/falsetrueThe arena is reset after each round
respawn-delay0 to 303Seconds before a player respawns (modes with respawns)

Combat

RuleTypeDefaultMeaning
hit-delay0 to 2010Ticks between hits. 10 is half a second, 0 is no delay
knockbackprofile nameemptyA profile of knockback.yml. Empty uses default
explosion-knockback0.0 to 5.01.0Multiplier for knockback from explosions

Game modes

Pick one main mode for each kit.

RuleTypeDefaultMeaning
sumotrue/falsefalseLeaving the platform loses the round
boxingtrue/falsefalseThe first to land hits-to-win hits wins
hits-to-win1 to 1000100Hits needed in boxing
bedstrue/falsefalseDestroy the enemy bed. Needs bed-a and bed-b
bridge-goalstrue/falsefalseScore by reaching the enemy goal. Needs goal-a and goal-b
points-to-win1 to 205Goals needed in bridge
goal-radius1 to 82Size of a goal in blocks
tnt-tagtrue/falsefalsePass the TNT to another player
tnt-tag-seconds5 to 12030Fuse of the TNT
tnt-sumotrue/falsefalseSumo with TNT
fireballtrue/falsefalseFireballs can be thrown
fireball-cooldown0 to 20010Ticks between fireballs
fireball-power0.0 to 10.01.0Explosion size of a fireball
fireball-speed0.1 to 5.01.0Flight speed of a fireball
auto-tnttrue/falsefalseTNT is lit when placed
tnt-fuse0 to 20050Ticks before placed TNT explodes
skywars-loottrue/falsefalseChests in the arena are filled from a loot table
loot-tabletable nameskywarsTable of loot.yml
golden-headtrue/falsefalseGolden heads work as an item of this kit

Kit editor

RuleTypeDefaultMeaning
editortrue/falsetrueThe kit shows in the kit editor. false hides it
layouts0 to 90Layout slots for this kit. 0 uses kit-editor.max-layouts
editor-shieldtrue/falsetrueThe shield designer
editor-trimstrue/falsetrueArmor trims
editor-extrastrue/falsefalseThe kit room
editor-enchantertrue/falsefalseThe enchanter tab
editor-armourtrue/falsefalseThe armor tab

Global switches in kit-editor.yml can still turn a feature off for every kit.

Examples by game mode

NoDebuff

rules:
  build: false
  natural-regen: false
  fall-damage: true
  drop-items: false
  hit-delay: 20
  knockback: default

Rounds and time

rules:
  rounds-to-win: 3
  time-limit: 600
  time-limit-end: sudden-death
  reset-between-rounds: true
  respawn-delay: 3

Boxing

rules:
  boxing: true
  hits-to-win: 100
  hit-delay: 0
  hunger: false
  knockback: combo

Sumo

rules:
  sumo: true
  rounds-to-win: 3
  knockback: sumo
  hunger: false
  fall-damage: false
  void-depth: 2
  time-limit: 300

TNT Sumo

rules:
  tnt-sumo: true
  auto-tnt: true
  tnt-fuse: 40
  build: true
  build-margin: 2
  explosion-knockback: 1.5
  knockback: sumo

Bedwars

rules:
  beds: true
  build: true
  build-margin: 4
  respawn-delay: 3
  hunger: false
  time-limit: 1200
  time-limit-end: sudden-death
  editor-extras: true

The arena needs the points bed-a and bed-b.

Bridge

rules:
  bridge-goals: true
  points-to-win: 5
  goal-radius: 2
  respawn-delay: 0
  build: true
  build-margin: 2

The arena needs the points goal-a and goal-b.

TNT Tag

rules:
  tnt-tag: true
  tnt-tag-seconds: 30
  rounds-to-win: 3
  fall-damage: false

Fireball Fight

rules:
  fireball: true
  fireball-cooldown: 10
  fireball-power: 1.5
  fireball-speed: 1.0
  auto-tnt: true
  tnt-fuse: 50
  beds: true
  explosion-knockback: 1.5
  build: true
  build-margin: 4

Skywars

rules:
  skywars-loot: true
  loot-table: skywars
  build: true
  build-margin: 4
  drop-items: true
  pickup-items: true
  void-depth: 8

Chests are filled from loot.yml. See Loot tables.

Kit editor

rules:
  editor: true
  layouts: 3
  editor-extras: true
  editor-enchanter: true
  editor-shield: true
  editor-trims: true
  editor-armour: true

layouts: 3 gives the kit three layout slots. Players above the default need mineduels.editor.layouts.2 and mineduels.editor.layouts.3.

Death messages

Override a death message in the kit file:

death-messages:
  killed: "<red>%victim% <gray>was killed by <red>%killer%"

Messages that the kit does not set use the defaults from messages.yml and the death-messages section of config.yml.

More complete kits: Example kits and Kit examples.

On this page