My plugin StarCache has different kits, well to put an item into a kit you do [item id]%[amount] So for one diamond chestplate it's: 311%1 How can i add an enchantment to that line of code? Code (Text): caches: DiamondArmor: - 310%1 - 311%1 - 312%1 - 313%1 This is my code for diamond armor kit, how can i add prot 4 to the armor?
Hm.. Perhaps you should code your plugin to accept enchantments like essentials? - dchestplate protection:4
Your own plugin and you don't know how it works XD?! Try this page: http://minecraft.gamepedia.com/Enchanting Get the enchantment ids and plugin them in somewhere?
Well there's another format that's a lot longer kinda like when bukkit saves someone's inventory? i forgot the format but i think that's what i did?