CommandToItem [1.8-1.19] | Custom consumable command items icon

CommandToItem [1.8-1.19] | Custom consumable command items -----

Create items that when consumed, commands will be executed!



Recode
[​IMG]
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%"
       
  • Fix | General fixes to some bugs.
    • The plugin is now also open source :)

[​IMG]
----------, Aug 23, 2019
Resource Information
Author:
----------
Total Downloads: 15,424
First Release: Mar 12, 2016
Last Update: Aug 9, 2021
Category: ---------------
All-Time Rating:
34 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings