Disabling named items from being sold with /sell <hand/all>

Discussion in 'Spigot Plugin Help' started by DavidVioMC, Jan 21, 2020.

  1. I have some custom items, for example few different types of diamonds that are used for crafting different armor sets. The issue I have is where they are sold with /sell which I don't want. Easiest way would be to disable named items being sold with /sell, is that a thing or not? I had a quick look thru Essentials config and can't seem to find anything.
  2. It won't recognize the custom items, just the itemstack. Just use the command /setworth 0 or go find items in the worth.yml and remove it or set to 0
    • Like Like x 1
  3. Thanks for the reply, the issue is, I still want the items to be sold, I just don't want named items to be sold, for example vanilla diamonds can be sold but named diamonds can't.

    Since you're saying Essentials only recognised item stack and not named items, it shouden't be too hard to disable the command in essentials config or negetive the permission and make a plugin that hooks into vault and behaves the same as /sell but ignored named items.