items: ... infinite-cookie:
name: "&a&lMagic Cookie &7(Example Item)" item: COOKIE
# You can prevent items from being taken away when clicked consume: false
# You can also add a short cooldown to prevent it from being spammed cooldown: 60
lore: -
"&7Does not get consumed" commands: -
"heal %player%"
... messages: ... cooldown: "&cYou must wait &4%cooldown% &cseconds before using this item again."
New |Consumption messages can now be added to items
These will be sent to the player when an item is used
Code (YAML):
strength-sword:
name: "&e&lInstant Strength &7(Example Item)" item: GOLD_SWORD
# You can add messages which will be sent to the player upon consumption # You can use: # %item% for the name of the item # %player% for the players name # %cooldown% for players new cooldown after use messages: -
"&7&oYou feel a sudden rush of blood..." lore: -
"&7Gives you Strength 4" commands: -
"effect %player% 5 15 3"
Fix |A bug where an item would be used twice when looking at the ground has been fixed