
TrialChamberPro
Because Trial Chambers deserve better than being a "one and done" dungeon.
1.4K
14
Список изменений
1.2.23 - 2026-02-14
Fixed
- Vanilla Vaults Broken: Unregistered/vanilla vaults now work correctly when plugin is installed
- Root cause:
VaultInteractListenerintercepted ALL vault interactions server-wide, cancelling the event for vaults not in the plugin's database - Fix: Early-return check skips plugin logic for vaults outside registered chambers
- Root cause:
- Custom Death Message Not Working: Death messages set from async thread had no effect (event already processed)
- Fix: Use synchronous cache lookup (
getCachedChamberAt) so death message is set while event is still being processed
- Fix: Use synchronous cache lookup (
- Async Block Data Access:
saveVault()accessedblock.blockData.asStringon IO thread (unsafe Bukkit API access)- Fix: Block data string is now read on the main thread and passed as a parameter
runBlockingin Async Thread:UndoListenerusedrunBlockinginsiderunTaskAsync, blocking Bukkit's async thread pool- Fix: Replaced with
plugin.launchAsync {}coroutine pattern
- Fix: Replaced with
- JDBC Resource Leaks:
StatisticsManagerhad 5 methods withPreparedStatement/ResultSetnot wrapped in.use{}- Fix: All JDBC resources now use
.use{}for automatic cleanup
- Fix: All JDBC resources now use
loadingLocksMemory Leak: Per-player mutex map inStatisticsManagergrew without bound- Fix: Entries now cleaned up alongside cache invalidation
Improved
- Messages Performance:
getMessage()now caches the parsedmessages.ymlinstead of re-reading and re-parsing the file on every call; cache invalidated on/tcp reload - Shutdown Reliability:
PlayerMovementListener,PlayerDeathListener, andPasteConfirmListenercoroutine scopes now properly cancelled on plugin disable - Time Tracking Data Preservation: Player time-in-chamber data is flushed to database on plugin shutdown (previously up to 5 minutes of data could be lost)
- Duplicate Command Handlers: Removed redundant
TCPCommand/TCPTabCompletercreation during async initialization (already registered at startup)
Файлы
TrialChamberPro-1.2.23.jar(12.35 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.23
Загрузчики
FoliaPaperPurpur
Версии игры
1.21.1–1.21.11
Загрузок
217
Дата публикации
1 мес. назад
