Kits

kits {
<kit_name> {
items=[
{
// how much items will be given to the player
count=1
// starting item durability
durability=0
enchantments {}
// item ID
identifier="minecraft:diamond_sword"
// lines of raw JSON or simple text with formatting
lore=[]
// same as lore, but only one line
name="{\"italic\":false,\"extra\":[{\"color\":\"yellow\",\"extra\":[{\"text\":\"Killer of %player:name%\"}],\"text\":\"\"}],\"text\":\"\"}"
// item will be placed in slot with specific number if it isn't empty
slot=0
},
{
count=1
durability=0
// lines with enchantement ID and it's level
enchantments {
"minecraft:protection"=1
}
identifier="minecraft:netherite_leggings"
lore=[
"{\"italic\":false,\"extra\":[{\"color\":\"red\",\"extra\":[{\"text\":\"This is the final warning!\"}],\"text\":\"\"}],\"text\":\"\"}"
]
name="{\"italic\":false,\"extra\":[{\"color\":\"yellow\",\"extra\":[{\"text\":\"Gamechangers\"}],\"text\":\"\"}],\"text\":\"\"}"
slot=1
},
{
count=64
durability=0
enchantments {}
identifier="minecraft:apple"
lore=[]
slot=2
}
]
// how long player needs to wait before using command again
timeout=15
}
}
// list with all players with timeouts and their expiration date
timeouts {
"27rogi" {
gameover {
datetime="2023-07-18T13:16:36.231257763"
}
}
}
Last updated