
BanChest
Redistributes the inventory of banned players into labelled, glowstone-marked chests scattered across your overworld.
Оцените первым
31
1
Список изменений
1.0.1
Fixed
- Offline players are no longer skipped. The reader called three NBT methods that Mojang
removed in 1.21.5 (
CompoundTag.getList(String, int),ListTag.getCompound(int),ItemStack.parseOptional). On anything newer than 1.21.4 this threwNoSuchMethodError, which the command'scatch (Exception)didn't cover — so every offline player reported "had no items to redistribute" and their data was left untouched. - Armour and off-hand items were being left behind. Since 1.21.9 they live in a separate
equipmentcompound instead of inventory slots 100–103/150; both layouts are now read and cleared. - Player data is resolved from the main world's folder rather than the first world with a
NORMALenvironment, which could pick the wrong directory on multi-world setups.
Changed
- Items are deserialised through
ItemStack.CODEC, and the NBT accessors that changed shape across versions are resolved at runtime, so a single jar covers 1.21.1 through 26.x. - Online players' items are collected as storage + armour + off-hand explicitly instead of
relying on
getContents(). - Failures now report what actually happened instead of looking like an empty inventory:
a missing
.datnames the path that was checked, and an unrecognised server version says so and leaves player data untouched. - Offline reads log a breakdown (inventory / ender chest / equipped) to the console.
Файлы
banchest-1.0.1-dev.jar(22.79 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.1
Загрузчики
PaperPurpur
Версии игры
1.21–26.2
Загрузок
17
Дата публикации
30.07.2026
