Changelog
- fix
enchantEffect
from now on it doesn't showunbreaking 1
. - I added a new command to be able to reset the cooldown for players on certain kits!
/kit reset <player> <kit>
- I added auto-suggest for commands!
- I added a way to make multiple kits pages to the GUI menu.
In Kits:
"page": 1,
"slotOnPage": 10,
In GUI menu:
"pages": 1,
- I added a way to set
unbreakable
to items.
"unbreakable": false
- I added a way to set damage to items.
"damage": 50,
- I added a way to set attributes to items.
"attributes": [
{
"name": "minecraft:generic.attack_damage",
"amount": 10.0,
"operation": "add",
"slot": "mainhand"
},
{
"name": "minecraft:generic.attack_speed",
"amount": -0.3,
"operation": "multiply_total",
"slot": "mainhand"
},
{
"name": "minecraft:generic.movement_speed",
"amount": 1,
"operation": "multiply_base",
"slot": "any"
}
]
Operation: "add" , "multiply_base" , "multiply_total"
Slots: "mainhand", "offhand", "head", "chest", "legs", "feet", "any"
- I added a way to create items books in kits to be able to make rules etc...
{
"displayname": "&6BlanketKits",
"material": "minecraft:written_book",
"amount": 1,
"book": {
"title": "BlanketKits",
"author": "Blanket",
"generation": 0,
"pages": [
{
"page": [
"&6&lDownload the best Kit Mod!",
"&81. &7Download the mod from &aModrinth!",
"&82. &7Add the mod in ur server!",
"&83. &7Have fun XD!"
]
},
{
"page": [
"&6&lBlanketMods",
"&81. &7Hihihi ",
"&82. &7Another &6Krripe"
]
}
]
}
}
Example of a kit with all the additions!
{
"name": "Starter",
"onJoin": false,
"cooldown": "1h",
"claims": true,
"maxClaims": 5,
"permission": "kit.adventurestarter",
"costMoney": false,
"cost": 100,
"claimSound": "minecraft:entity.player.levelup",
"cooldownSound": "minecraft:entity.villager.no",
"page": 1,
"slotOnPage": 10,
"displayItem": {
"material": "minecraft:diamond_sword",
"amount": 1,
"displayname": "&bKit Starter",
"lore": [
"&7A powerful kit to begin your journey!",
"&aIncludes enchanted tools and a food!"
],
"cooldownLore": true,
"enchantEffect": true,
"unbreakable": false
},
"items": [
{
"material": "minecraft:diamond_sword",
"amount": 1,
"enchants": [
{
"name": "minecraft:sharpness",
"level": 50
},
{
"name": "minecraft:unbreaking",
"level": 10
}
],
"displayname": "&bStarter Sword",
"lore": [
"&7A reliable sword for adventure!"
],
"cooldownLore": false,
"enchantEffect": true,
"unbreakable": false,
"damage": 50,
"attributes": [
{
"name": "minecraft:generic.attack_damage",
"amount": 10.0,
"operation": "add",
"slot": "mainhand"
},
{
"name": "minecraft:generic.attack_speed",
"amount": -0.3,
"operation": "multiply_total",
"slot": "mainhand"
},
{
"name": "minecraft:generic.movement_speed",
"amount": 1,
"operation": "multiply_base",
"slot": "any"
}
]
},
{
"material": "minecraft:diamond_pickaxe",
"amount": 1,
"enchants": [
{
"name": "minecraft:efficiency",
"level": 3
},
{
"name": "minecraft:unbreaking",
"level": 2
}
],
"displayname": "&bStarter Pickaxe",
"lore": [
"&7Mine faster with efficiency!"
],
"cooldownLore": false,
"enchantEffect": false,
"unbreakable": false
},
{
"material": "minecraft:diamond_axe",
"amount": 1,
"enchants": [
{
"name": "minecraft:efficiency",
"level": 3
},
{
"name": "minecraft:unbreaking",
"level": 2
}
],
"displayname": "&bStarter Axe",
"lore": [
"&7Chop trees with ease!"
],
"cooldownLore": false,
"enchantEffect": false,
"unbreakable": false
},
{
"material": "minecraft:diamond_shovel",
"amount": 1,
"enchants": [
{
"name": "minecraft:efficiency",
"level": 3
},
{
"name": "minecraft:unbreaking",
"level": 2
}
],
"displayname": "&bStarter Shovel",
"lore": [
"&7Dig through dirt effortlessly!"
],
"cooldownLore": false,
"enchantEffect": false,
"unbreakable": false
},
{
"displayname": "&6BlanketKits",
"material": "minecraft:written_book",
"amount": 1,
"book": {
"title": "BlanketKits",
"author": "Blanket",
"generation": 0,
"pages": [
{
"page": [
"&6&lDownload the best Kit Mod!",
"&81. &7Download the mod from &aModrinth!",
"&82. &7Add the mod in ur server!",
"&83. &7Have fun XD!"
]
},
{
"page": [
"&6&lBlanketMods",
"&81. &7Hihihi ",
"&82. &7Another &6Krripe"
]
}
]
}
}
],
"commands": [
{
"command": "give %player% minecraft:cooked_beef 32",
"displayItem": {
"material": "minecraft:cooked_beef",
"amount": 32,
"displayname": "&6Starter Food",
"lore": [
"&7Receive 32 cooked beef for your adventure!"
],
"cooldownLore": false,
"enchantEffect": false,
"unbreakable": false
}
}
]
}
Example of GUI with the added changes!
{
"title": "&6Select a Kit",
"size": 27,
"pages": 1,
"fillItem": "minecraft:black_stained_glass_pane",
"fillerName": " ",
"fillersEnabled": true,
"fillerSlots": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
],
"nextPageButton": {
"slot": 26,
"material": "minecraft:arrow",
"name": "&aNext Page"
},
"prevPageButton": {
"slot": 18,
"material": "minecraft:arrow",
"name": "&aPrevious Page"
},
"closeButton": {
"slot": 22,
"material": "minecraft:barrier",
"name": "&cClose"
}
}
Config example with all new messages!
{
"messages": {
"kitClaimed": "&aYou have claimed the kit: &6%kit%",
"noPermission": "&cYou do not have permission to use this kit!",
"inCooldown": "&cYou must wait before claiming this kit again!",
"kitNotFound": "&cKit &6%kit% &cdoes not exist!",
"kitCreated": "&aKit &6%kit% &ahas been created!",
"kitGiven": "&aKit &6%kit% &awas given to &6%player%!",
"kitRemoved": "&cKit &6%kit% &chas been removed!",
"playerNotFound": "&cPlayer not found!",
"kitsReloaded": "&aKits configuration reloaded successfully!",
"notEnoughMoney": "&cYou do not have enough money to claim this kit! Cost: &6%cost%",
"kitPurchased": "&aYou have purchased the kit for &6%cost%!",
"economyNotAvailable": "&cThe economy system is not available!",
"kitMaxClaimsReached": "&cYou have reached the maximum number of claims (&6%max%&c) for the kit: &6%kit%!",
"kitCooldownReset": "&aCooldown for kit &6%kit% &ahas been reset for player &6%player%&a!",
"kitCooldownResetSelf": "&aYour cooldown for kit &6%kit% &ahas been reset!"
}
}
- fix the permissions from kits.
- fix italic text in guis
- fix permissions from kits ( after you make a kit, in order for the permission from that kit to appear in LuckPerms, you must use "/lp sync" to refresh the permissions to see them all )
- added customodeldata and name for fillers items.
- added customodeldata for buttons
- fix gui sizes
Sizes: 9,18,27,36,45,54