Back to mods
ChestShare project artwork

Modrinth · Minecraft mod

ChestShare

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ChestShare release should I use?

Updated 2 months ago
Latest stable file 0.2.3
Game version 1.21.1
Loader Fabric

ChestShare 0.2.3 targets 1.21.1 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is ChestShare required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does ChestShare 0.2.3 need?

0.2.3. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add ChestShare without breaking your instance.

Built for ChestShare 0.2.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.2.3. It targets 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.2.3. It opens that exact file at the source.

About this project

What does ChestShare add?

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:

  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

  • 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).

Project description from Modrinth.

Pick your setup

ChestShare by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ChestShare versions and loaders

3 of 3 releases match

Looking for an older file? The official Modrinth project page is in Resources.