ChestShare 图标

ChestShare

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.2.3
本资源为搬运资源,原资源地址: https://modrinth.com/mod/chestshare
资源信息

Minecraft 版本: 1.21.1

平台: fabric

标签: optimization storage

资源介绍

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).
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Ultimate VR Modpack!

价格:0 墨喵币
下载量:0

查看详情
Fake Gamemode

价格:0 墨喵币
下载量:0

查看详情
reViva

价格:0 墨喵币
下载量:0

查看详情
Clustersback

价格:0 墨喵币
下载量:0

查看详情