Fabric Version (not maintained by me)! https://www.curseforge.com/minecraft/mc-mods/item-banning-fabric
This mod allows server operators to blacklist certain items. Banned items will be deleted as soon as the container holding it is updated, and they will no longer drop.
You can find the list under [save_name]/serverconfig/itemblacklist.json
You can also create a default blacklist under `defaultconfigs` with the name `itemblacklist.json`. This will automatically be applied to every new world you create.
Commands
-/itemblacklist ban [item] -bans an item
-/itemblacklist unban [item] -unbans an item
-/itemblacklist ban all -unbans all items
-/itemblacklist list -displays all banned items (anyone can use this command)
Support Me
- Join my Discord Server