Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Changelog - Version 1.6.9 (Dev)
I cannot say with 100% certainty that the bug has been fully resolved, as I was unable to replicate it. However, I have made a series of changes to the synchronization code and implemented several improvements to prevent this from happening again and to minimize any potential impact.
🚀 Key Improvements & Fixes
- Data Synchronization: Reworked balance sync logic. Added automatic synchronization retry logic after a failed attempt and improved logging.
- Bug Fixes: Fixed a critical bug where a zero balance could be saved after an Exception. Resolved various potential errors and data corruption risks.
- Placeholder Overhaul: Refactored PAPI and MiniPlaceholders into a dedicated
PlaceholderHelperclass with lazy initialization. This ensures consistency and cleaner code. - Internal Updates: Updated Flyway, cleaned up unused functions, and improved internal API handling (AccountAPI, task management).
🛠 Debug & Admin Tools
New debug commands have been added for server administrators to test database stability and cache states.
/eco debug failmode– Toggles database error simulation on/off.- Permission:
lite.eco.admin.debug.failmode
- Permission:
/eco debug test-janitor <player>– Runs an automated test simulating a database error and credits $500.- Permission:
lite.eco.admin.debug.testjanitor
- Permission:
/eco debug janitor– Immediately triggers automatic synchronization.- Permission:
lite.eco.admin.debug.janitor
- Permission:
/eco debug inspect <player>– Displays a detailed readout of the player's cache.- Permission:
lite.eco.admin.debug.inspect
- Permission:
/eco debug stress <player> [iterations]– Runs a concurrent stress test for transaction atomicity.- Permission:
lite.eco.admin.debug.stress
- Permission:
Note: Messages for these commands are hardcoded and not included in localization files as they are intended for administrative use only.
Tutorial for Debugging Click to view
Thanks to Schneidertm for report issue issue-118
Information
| Published on | December 29, 2025 |
|---|---|
| Downloads | 3 |
Platforms
Paper (1.21-1.21.11)
Dependencies
Paper