Список изменений
Critical Bug Fix
- Server Sleep Mode Data Loss - Fixed critical issue where villager trades disappeared after servers wake from sleep mode (specifically reported on PebbleHost servers with 60-second idle sleep). Villagers now correctly retain their custom trades through sleep/wake cycles.
New Features
- EntitiesLoadEvent Handler - Added entity load event listener to catch villager loads even when chunks remain loaded, ensuring data restoration regardless of chunk state
- Shutdown Data Persistence - Implemented automatic save of all managed villagers during plugin disable to prevent data loss during server sleep/shutdown cycles
- Startup Data Restoration - Added automatic restoration of already-loaded villagers on plugin enable to handle plugin reloads and server wake-ups
Improvements
- Enhanced Debug Logging - Added detailed logging with trade counts, profession info, and UUIDs to make troubleshooting and verification easier
- Synchronous Storage Method - Implemented synchronous data storage option for shutdown scenarios to prevent async scheduling issues
Bug Fixes
- Fixed villager trades disappearing after server sleep/wake cycles
- Resolved issue where ChunkLoadEvent wasn't firing for already-loaded chunks during server wake
- Prevented data loss when plugin disables during sleep mode
- Fixed non-functional GUI after editing villager name or permission - Editor GUI now properly re-registers inventory mappings and re-renders the page when reopening after name/permission edits, allowing continued trade editing and interaction
Файлы
VillagerTradeEdit-1.4.7.jar(82.14 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.4.7
Загрузчики
FoliaPaperPurpur
Версии игры
1.21–1.21.10
Загрузок
708
Дата публикации
4 мес. назад

