Anyone have a plugin?

Discussion in 'Spigot Plugin Development' started by hhsthekiller, Jul 2, 2016.

  1. I need a plugin which when you right click an item it gives you a permission and removes that item from your inventory BUT it needs to check for lores


    So if i gave permissions to a diamond which was named [EXAMPLE]
    if someone named a diamond [EXAMPLE] it wouldnt work (it wouldnt give them the permisson)


    if you want an example look at cosmicpvp's ranks or gkits; when you right click them they disappear from your inventory and give you the perms but if you right clicked the normal diamond (if you gkit was a diamond) it does nothing
     
  2. This plugin is custom.
     
  3. FormallyMyles

    Supporter

    I believe you could do something like this with @Gianluca's coupons: https://www.spigotmc.org/resources/coupons.17973/

    (Example config http://pastebin.com/raw/kGLu6kFN)