This is a complete recode of the plugin. Your old configuration will be compatible with this version, however you may want to add some lines to the bottom to get full functionality out of this update:
Code (YAML):
...
# Options here options:
show-receive-message: true
# Messages here messages:
full-inv: "&c%player%'s inventory is full!" give-item: "&6Given &e%player% %item%&6." receive-item: "&6You have been given %item%&6."
New | Customisable messages
You can now change the receive and give messages (see above).
You can now disable the receive message (see above).
New | Consumption of items can now be disabled
You can add a new flag to each item, "consume", which is either true or false (default = true).
Code (YAML):
infinite-cookie:
name: "&a&lMagic Cookie &7(Example Item)" item: COOKIE
# You can prevent items from being taken away when clicked consume: false
lore: -
"&7Does not get consumed" commands: -
"heal %player%"