You can create multiple kits by including a Kits section in your configuration. On this page we’re going to call this kit Example .
Kits:
Example:
....
We can include 2 groups inside of Kits: Armor and Inventory.
Armor allows us to assign specific armor to people who join the game. For this example we’ll use a gold helmet and iron chest plate.
Kits:
Example:
Armor:
Helmet:
id: 0
type: GOLDEN_HELMET
name: 'Gold Helm'
description: 'Example helmet'
amount: 1
Chestplate:
id: 0
type: IRON_CHESTPLATE
name: 'Iron Chest'
amount: 1
Inventory:
'1':
id: 0
type: BOW
name: 'Practice Bow'
enchantments:
durability: 3
description: 'Example bow'
amount: 1
'2':
id: 0
type: ARROW
amount: 32
You can add Armor in the following slots: Boots, Leggings, Chestplate, Helmet
Kits define saved equipment. Creating a kit does not automatically equip anyone. Run apply-kit, or call it from a Minigame_Join event to equip joining players.
This example uses Minecraft 1.13+ material names. For 1.8.8, change GOLDEN_HELMET to GOLD_HELMET. Inventory entries 1 through 36 correspond to player inventory slots.
Events:
Minigame_Join:
Commands:
- 'apply-kit {player} Example'
Next part of the kit is the Inventory. This example shows all possible options when adding an item, although, they are not all required. Let’s add a bow with durability 3 and 32 arrows.
Kits:
Example:
Armor:
...
Inventory:
'1':
# Damage of the item
id: 0
# Type of item to use
type: BOW
# Name of the item
name: 'Magic Bow'
# Item enchantments
enchantments:
durability: 3
# The description of the item
description: 'Goes pew pew pew'
# Amount of the item to give
amount: 1
'2':
# Basic item with minimal options
id: 0
type: ARROW
amount: 32