Per-player instanced loot for world-generated containers — 100% server-side.
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.
This is a fork of ChestShare by Calamech. All credit for the original concept, design, and implementation goes to Calamech. This fork adds:
/chestshare import status and /chestshare import cancel let you monitor and stop a running import./chestshare adopt-structure <pos> — adopts every storage container in the structure at <pos> and restores each one's original loot from the template, whatever it currently holds. Covers containers that were already looted, emptied, or previously shared with the wrong contents./chestshare toggle restore-empty-structures — optional, off by default. When enabled, an empty container sitting at a known structure storage position is automatically refilled and made a shared container the next time its chunk loads — including an already-explored chunk being revisited — without needing adopt-structure run by hand.| Command | Effect |
|---|---|
/chestshare convert <pos> <loot_table> |
Convert one container into a shared container with the given loot table |
/chestshare reset <pos> |
Clear cached player rolls — loot regenerates for everyone next open |
/chestshare export <file> |
Export all captured containers to a file |
/chestshare import <file> [force] [parallel N] |
Apply an export to this world, in the background (recovery) |
/chestshare import status |
Show progress of a running import (only visible while one is active) |
/chestshare import cancel |
Cancel a running import (only visible while one is active) |
/chestshare adopt-structure <pos> |
Adopt every storage container in the structure at <pos>, restoring each one's original loot (only visible after server startup completes) |
/chestshare toggle restore-empty-structures [true|false] |
View or set whether empty structure containers are auto-refilled and shared the next time their chunk loads, including already-explored chunks |
/chestshare adopt-structure if they came from a registered structure, or with the export/import recovery workflow otherwise (a second copy of the world, same seed and mods, to pre-generate and capture the original loot from).export only ever writes containers this mod has already registered — a chunk merely being loaded doesn't register anything by itself. A fresh chunk-generation event, a player opening the container, or /chestshare adopt-structure does.Container interface — this covers a lot of storage mods for free, since many decorative/simple storage mods build directly on vanilla's own container implementation (confirmed by testing with Carved Wood's chests and barrels; Cobblemon's Gilded Chest also appears to be Container-based, based on how other mods treat it, though it hasn't been directly tested here); and, by name, Sophisticated Storage and CobbleFurnies specifically, which don't implement Container and are supported via reflection instead. A mod whose storage is fully custom — neither Container-based nor one of those two named integrations — isn't covered by passive discovery, though /chestshare adopt-structure can still restore it if it came from a registered structure template.Container.MIT — original work Copyright (c) 2026 Calamech. Source code.