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

EconomyPlugin, Economy, Money, LiteEco

Report LiteEco?

Release
1.6.9-SNAPSHOT

EncryptSL released LiteEco version 1.6.9-SNAPSHOT on Yesterday 9:57 AM

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 onDecember 29, 2025
Downloads3

Platforms

Paper Paper (1.21-1.21.11)

Dependencies

Paper Paper
Edit Plugin Dependencies: Paper