
ChestShare
Per-player loot in every world-generated chest, 100% server-side. Can even restore chests that were looted before you installed it.
Оцените первым
120
1
Список изменений
Changed
- Async import -
/chestshare import <file> [force]now processes positions via vanilla's asynchronous chunk loading. Positions are grouped by chunk and requested with worldgen tickets, so terrain generation runs on the worldgen worker threads instead of the server thread. The import no longer causes TPS drops — even across large stretches of ungenerated terrain — and runs fully in the background. Command syntax, single-active-job guard, and the final summary format are unchanged.
Fixed
- c2me compatibility (import watchdog crash) - On modpacks bundling c2me, the async import could block the server thread and trigger the watchdog. c2me wraps
ServerChunkManager.getChunkinto a blocking path that awaits chunk generation on the main thread; the import's per-tick poll called that method, so each in-flight chunk was awaited synchronously — causing massive tick lag and a watchdog crash. The import now polls chunk holders directly (getChunkHolder+ChunkHolder.getWorldChunk(), both non-blocking vanilla internals that c2me does not wrap) and never callsgetChunk. As defense in depth, each tick self-limits its import work to 5 ms, capping the worst-case contribution to tick time even if an unexpected call path were to block.
Файлы
chestshare-0.2.1.jar(48.11 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
0.2.1
Загрузчики
Fabric
Версии игры
1.21.1
Загрузок
7
Дата публикации
03.07.2026
