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
| Rule | Type | Default | Meaning |
|---|---|---|---|
build | true/false | true | Players place blocks and break the blocks they placed |
build-margin | 0 to 16 | 0 | How many blocks outside the arena box players may place blocks |
break-arena | block list | none | Blocks of the arena itself that may be broken. See Breakable blocks |
interact-arena | block list | none | Blocks of the arena that may be used (doors, buttons, chests) without being breakable |
allow-crafting | item list | all | Items players may craft during the match |
drop-items | true/false | false | Players may drop items |
pickup-items | true/false | false | Players may pick items up |
Survival
| Rule | Type | Default | Meaning |
|---|---|---|---|
hunger | true/false | true | Hunger drains |
natural-regen | true/false | true | Health regenerates from saturation |
fall-damage | true/false | true | Fall damage applies |
void-depth | 0 to 64 | 5 | Blocks below the arena where a player dies |
Rounds and time
| Rule | Type | Default | Meaning |
|---|---|---|---|
rounds-to-win | 1 to 10 | 1 | Rounds a player or team must win |
time-limit | 30 to 3600 | 600 | Seconds a round may last |
time-limit-end | draw or sudden-death | draw | What happens at the limit |
reset-between-rounds | true/false | true | The arena is reset after each round |
respawn-delay | 0 to 30 | 3 | Seconds before a player respawns (modes with respawns) |
Combat
| Rule | Type | Default | Meaning |
|---|---|---|---|
hit-delay | 0 to 20 | 10 | Ticks between hits. 10 is half a second, 0 is no delay |
knockback | profile name | empty | A profile of knockback.yml. Empty uses default |
explosion-knockback | 0.0 to 5.0 | 1.0 | Multiplier for knockback from explosions |
Game modes
Pick one main mode for each kit.
| Rule | Type | Default | Meaning |
|---|---|---|---|
sumo | true/false | false | Leaving the platform loses the round |
boxing | true/false | false | The first to land hits-to-win hits wins |
hits-to-win | 1 to 1000 | 100 | Hits needed in boxing |
beds | true/false | false | Destroy the enemy bed. Needs bed-a and bed-b |
bridge-goals | true/false | false | Score by reaching the enemy goal. Needs goal-a and goal-b |
points-to-win | 1 to 20 | 5 | Goals needed in bridge |
goal-radius | 1 to 8 | 2 | Size of a goal in blocks |
tnt-tag | true/false | false | Pass the TNT to another player |
tnt-tag-seconds | 5 to 120 | 30 | Fuse of the TNT |
tnt-sumo | true/false | false | Sumo with TNT |
fireball | true/false | false | Fireballs can be thrown |
fireball-cooldown | 0 to 200 | 10 | Ticks between fireballs |
fireball-power | 0.0 to 10.0 | 1.0 | Explosion size of a fireball |
fireball-speed | 0.1 to 5.0 | 1.0 | Flight speed of a fireball |
auto-tnt | true/false | false | TNT is lit when placed |
tnt-fuse | 0 to 200 | 50 | Ticks before placed TNT explodes |
skywars-loot | true/false | false | Chests in the arena are filled from a loot table |
loot-table | table name | skywars | Table of loot.yml |
golden-head | true/false | false | Golden heads work as an item of this kit |
Kit editor
| Rule | Type | Default | Meaning |
|---|---|---|---|
editor | true/false | true | The kit shows in the kit editor. false hides it |
layouts | 0 to 9 | 0 | Layout slots for this kit. 0 uses kit-editor.max-layouts |
editor-shield | true/false | true | The shield designer |
editor-trims | true/false | true | Armor trims |
editor-extras | true/false | false | The kit room |
editor-enchanter | true/false | false | The enchanter tab |
editor-armour | true/false | false | The 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: defaultRounds and time
rules:
rounds-to-win: 3
time-limit: 600
time-limit-end: sudden-death
reset-between-rounds: true
respawn-delay: 3Boxing
rules:
boxing: true
hits-to-win: 100
hit-delay: 0
hunger: false
knockback: comboSumo
rules:
sumo: true
rounds-to-win: 3
knockback: sumo
hunger: false
fall-damage: false
void-depth: 2
time-limit: 300TNT Sumo
rules:
tnt-sumo: true
auto-tnt: true
tnt-fuse: 40
build: true
build-margin: 2
explosion-knockback: 1.5
knockback: sumoBedwars
rules:
beds: true
build: true
build-margin: 4
respawn-delay: 3
hunger: false
time-limit: 1200
time-limit-end: sudden-death
editor-extras: trueThe 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: 2The 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: falseFireball 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: 4Skywars
rules:
skywars-loot: true
loot-table: skywars
build: true
build-margin: 4
drop-items: true
pickup-items: true
void-depth: 8Chests 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: truelayouts: 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.