Configuration Example
Code (YAML):
items:
NETHERITE_SWORD:
disable-crafting
: true
disable-smithing
: true
disable-smelting
: true
disable-equipping
: true
remove-from-inventory
: true
disable-drop-from
:
- WITHER
- PIGLIN_BRUTE
disable-worlds
:
- testworld
- testworld_nether
- testworld_the_end
block-generation:
ANCIENT_DEBRIS:
replace
: NETHERRACK
in-dimension
: NETHER
disable-worlds
:
- testworld_nether
Feature List
- Prevent crafting, smithing, smelting, and using items
- Disable pickup, placement, hotbar switching, or equipping
- Remove specific loot from chests or mob drops
- Replace naturally generated blocks based on config
- Auto-remove items from inventories on join, respawn, or GUI use
- World-specific controls and dimension checks
- Logs all removals and blocked actions
Logs
Located in: `[plugins/ItemBlocker/logs/]`
- `removed_loot.log` – Items removed from chests
- `replaced_debris.log` – Block replacements
- `blocked_actions.log` – Crafting, usage, equipping, etc.
Commands
Code (Text):
/itemblocker info - Show plugin info
/itemblocker reload - Reload config
/itemblocker scan - Scan all online players for blocked items
Permissions
Code (Text):
itemblocker.reload - Allow /itemblocker reload
itemblocker.info - Allow /itemblocker info
itemblocker.scan - Allow /itemblocker scan
itemblocker.admin - Grants all permissions