Kit System

Create kits that players can redeem for items, tools, and resources. Perfect for server rewards, starter kits, or purchasable item sets.

Basic Kit Creation

Use functions to create reusable kits:

// Create starter.mcfunction
give @s minecraft:stone_sword 1
give @s minecraft:stone_pickaxe 1
give @s minecraft:stone_axe 1
give @s minecraft:bread 16
tellraw @s {"text":"Starter kit redeemed!","color":"green"}

Then create an alias:

/cmd add starter function:starter

Advanced Kits with Cooldowns

Use scoreboard objectives for cooldown tracking:

/cmd add kit_starter execute unless score @s kit_starter_cooldown matches 1.. run function:starter && scoreboard players set @s kit_starter_cooldown 24000

Permission-Based Kits

Restrict kits to certain players:

/cmd add vip_kit execute if entity @s[tag=vip] run function:vip_kit || tellraw @s {"text":"You need VIP to use this kit!","color":"red"}

Custom Syntax for Kit Selection

// In syntax.json
{
  "kit": {
    "pattern": "/kit ",
    "description": "Redeem a kit by name"
  }
}

// In aliases.json
{
  "kit_starter": "function:starter",
  "kit_tools": "function:tools",
  "kit_food": "function:food"
}