Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for EncryptSL

EconomyPlugin, Economy, Money, LiteEco

Report LiteEco?

R

1.6.9-SNAPSHOT

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 PlaceholderHelper class 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
  • /eco debug test-janitor <player> โ€“ Runs an automated test simulating a database error and credits $500.
    • Permission: lite.eco.admin.debug.testjanitor
  • /eco debug janitor โ€“ Immediately triggers automatic synchronization.
    • Permission: lite.eco.admin.debug.janitor
  • /eco debug inspect <player> โ€“ Displays a detailed readout of the player's cache.
    • Permission: lite.eco.admin.debug.inspect
  • /eco debug stress <player> [iterations] โ€“ Runs a concurrent stress test for transaction atomicity.
    • Permission: lite.eco.admin.debug.stress

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
December 29, 2025
Author
8Downloads

Platforms

Paper
Paper
1.21โ€“1.21.11

Dependencies

PaperPaper

Dependencies: Paper

Plugins and libraries a server needs for this version to run.

No dependencies

Add anything a server has to install alongside this version.