TheoKah / CarrotShop

SignShop for Sponge
MIT License
16 stars 15 forks source link

[Suggestion] Item blacklist/banlist #58

Open tomwolf22 opened 5 years ago

tomwolf22 commented 5 years ago

Hello, I would like to request an item blacklist/ban system, where certain items can be prevented from being sold by players through the shops.

How it could work: 1: Config option with a list of ids to check 2: Permissions carrotshop.create.buy.[item ID] for a whitelist or negate it for a blacklist. If you find a better solution :).

A great feature I have found in other plugins is to hold the item in hand, run a command and the item's name is added to the blacklist in the config. Makes it so much easier for modded items.

You could also have a Boolean option to toggle whether it is a whitelist/blacklist. This could be done as a global blacklist, per world or by the type of shop Buy/Sell/Trade

Thanks, Tom

tomwolf22 commented 5 years ago

I'll save making a new thread, to suggest adding limits to the number of a type of sign a player can make too.

PsalmsFighter commented 4 years ago

I'd love to see this implemented as well!