Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Tags
Creators
Details
Licensed ARR
Published 2 days ago
Updated 3 weeks ago
ItemContainer
ItemContainer is a lightweight Paper 1.21 plugin that prevents specific items from being placed into certain containers.
Define rules in config.yml – for example, stop players from putting Dragon Eggs into Ender Chests, or prevent Shulker Box nesting.
Features
- Config‑driven – add or remove restrictions without touching code
- Shift‑click, drag, number‑key & normal clicks – all transfer methods are blocked
- Custom messages – per‑rule cancel message shown to the player
- Reload command –
/itemcontainer reloadapplies changes instantly (OP only) - Lightweight – zero overhead when no rules match
Example Config
rules:
DRAGON_EGG:
containers:
- ENDER_CHEST
message: "§cYou cannot place a Dragon Egg inside an Ender Chest!"
SHULKER_BOX:
containers:
- SHULKER_BOX
message: "§cShulker boxes cannot be nested!"
Commands
| Command | Permission | Description |
|---|---|---|
/itemcontainer reload |
itemcontainer.reload |
Reloads the config file |
Requirements
- Paper 1.21.x
- Java 21


