ItemBlocker
This mod is a server utility designed to block unwanted or game-breaking items. It monitors all item-related events: creation, dropping, picking up, right and left click usage, as well as detection in containers. Additionally, the mod checks for prohibited items in merchant menus.
When an item is blocked, it is immediately removed from all online players on the server.
Integration
Starting from version 1.0.1, integration with Curios API is available.
Configuration
The list of banned items is located at [save_name]/serverconfig/itemblocker.json
You can also create a default blacklist in the defaultconfigs folder named itemblocker.json. This list will be automatically applied to every new world you create.
The main mod settings are in the config/itemblocker/itemblocker.toml file
Commands
/itemblocker ban hand- ban the item in hand/itemblocker ban minecraft:stone- ban Minecraft stone/itemblocker unban minecraft:stone- unban Minecraft stone/itemblocker list- list all banned items
All commands require operator rights.
Performance
The mod has been tested on servers with numerous mods and players. It does not cause performance issues and is specifically designed for server-safe operation.