-Added new feature to the config: commands-when-crafted This works to execute commands when crafting an item. You can add multiple commands.
Code (Text):
'super_sword':
id: '276'
name: "&4&lSuper Sword"
lore:
- "&6This is one of the best"
- "&6swords on the server!"
category: weapons_armor
enchants:
- 'DAMAGE_ALL;6'
- 'FIRE_ASPECT;3'
requires:
- '264;15;&bUnique Diamond;&7A legendary mineral;&7very hard to obtain..'
commands-when-crafted:
- "broadcast &2&l%player% crafted a &4&lSUPER SWORD&2&l!"
-Fixed bug with "craft with money" item dissapearing.