EasyItemRestrict
Item Restrict
GitHub: (https://github.com/MCMastery/item-restrict)
This plugin allows the restriction of crafting certain items. Don't want your players to be allowed to craft hoppers?
Simple. Just don't give them the permission itemrestrict.craft.hopper
.
config.yml
The config contains a single variable: show-result
. If you want the recipe's result to display
(which it normally does in a crafting table), set this to true
. Otherwise, set this to false
.
Permissions
Note: When giving permissions, they must be completely lower-case.
itemrestrict.*
- Allows the player to craft all itemsitemrestrict.craft.*
- Same asitemrestrict.*
itemrestrict.craft.<item_name>
- Allows the player to craft<item_name>
. For a list of viable item names, please see (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html).
@zainmz
I was thinking that, however I am pretty sure you can combine permissions, like "itemrestrict.craft.*" and "-itemrestrict.craft.hopper" to craft everything except hoppers (I think you can do this! If you can't, I will make it permission to disable certain items). I need to do some more testing
Instead of making permissions for players to craft the items, you could make the permissions to disable certain items, that would be much easier and less time consuming.