Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
ChestShare
Summary
Per-player loot in every world-generated chest — 100% server-side. Can even restore chests that were looted before you installed it.
Description
Every player gets the dungeon chest. Not just the first one.
On a survival server, the first player to find a structure empties it. Everyone after them explores a looted world. ChestShare gives each player their own instance of every world-generated container — same seed, same loot, nobody left out.
And it's 100% server-side: drop one jar in mods/, done. No client install, works with vanilla clients, launcher-locked modpack players, and cracked-open modpacks alike.
What it does
- Per-player loot instances — chests, trapped chests, barrels, shulkers, dispensers, chest minecarts, and modded containers built on vanilla mechanics. Two players opening the same dungeon chest see the exact same items, each in their own copy.
- Deposit friendly — players can take and stash items in their instance; everything persists with the world.
- Mod-generated structures included — containers are captured at chunk generation, whether they use a loot table or were pre-filled with custom modded items (full NBT).
- No exploits — hoppers and pipes can't touch shared containers; breaking one drops only the breaker's own instance; player-placed chests keep vanilla behavior, always.
- Double chests, done right — combined 54-slot screen, each half tracked separately.
Installed the mod too late? We did too.
ChestShare was born on a live Cobblemon (COBBLEVERSE) server where players had already explored and emptied chests across the whole map. Vanilla deletes a chest's loot table the moment it's opened — that information is gone from the world forever.
But world generation is deterministic. So ChestShare ships a recovery workflow:
- Copy your server setup (same mods, same seed), delete the world copy.
- Pre-generate the explored area on that mirror (Chunky works great) — ChestShare captures every container as it generates.
/chestshare export recoveryon the mirror./chestshare import recoveryon your real server: every chest still standing — including the ones already looted — becomes a shared container with its original loot.
The import runs spread across server ticks (no freeze, no watchdog kill) and skips non-empty containers by default so it never eats player storage. On our server: 332 containers exported from the mirror, 241 restored in one command, zero downtime beyond a restart.
Commands (op level 2)
| Command | Effect |
|---|---|
/chestshare convert <pos> <loot_table> |
Convert one container (e.g. a chest looted pre-mod) into a shared container |
/chestshare reset <pos> |
Wipe player instances — loot regenerates for everyone |
/chestshare export <file> |
Export all captured containers to a file |
/chestshare import <file> [force] |
Apply an export to this world (recovery) |
Good to know
- Fabric, Minecraft 1.21.1, Java 21. Requires Fabric API. Server-side only (also works in singleplayer/LAN).
- Chunks generated before install: unopened containers still convert automatically on first open (their loot table is intact); already-looted ones need the recovery workflow above.
- Fully custom container implementations (not based on vanilla loot mechanics) aren't covered.
- Cosmetic: no chest lid animation on shared containers (server-side trade-off).


