HomeJavaModsChestShare
ChestShare
ModsJava

ChestShare

by Calamech · on Modrinth

Per-player loot in every world-generated chest, 100% server-side. Can even restore chests that were looted before you installed it.

⬇ Download on Modrinth

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

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:

  1. Copy your server setup (same mods, same seed), delete the world copy.
  2. Pre-generate the explored area on that mirror (Chunky works great) — ChestShare captures every container as it generates.
  3. /chestshare export recovery on the mirror.
  4. /chestshare import recovery on 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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more