
TagsBits
TagsBits is a complete tag and economy plugin for Paper and Purpur servers, combining player customization, progression systems, and interactive financial features in one lightweight solution.
Список изменений
🛠️ Fixes Implemented
- Core Fix — savePlayer() Completely Rewritten
The database save logic was redesigned to ensure safe and reliable SQLite operations under concurrent access.
✅ Introduced a ReentrantLock to guarantee serialized database access, allowing only one thread to interact with the connection at a time. ✅ Added an ensureConnection() method to automatically verify and re-establish the SQLite connection if it becomes invalid. ✅ Implemented getAutoCommit() checks before starting a new transaction to prevent nested transaction attempts. ✅ Added safe rollback() handling that only executes when autoCommit is disabled. ✅ Protected the restoration of the autoCommit state, including forced reconnection when critical failures occur. ✅ Configured PRAGMA busy_timeout = 5000 to reduce failures when the database is temporarily locked. 2. GUI-Related Fixes
Several compilation issues across GUI classes were resolved.
✅ Replaced ArrayList
