LiteEco - Simple Economy Plugin 1.21.x icon

LiteEco - Simple Economy Plugin 1.21.x -----

EconomyPlugin, Economy, Money, LiteEco



LiteEco 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 reporting issue #118
----------, Dec 29, 2025
Resource Information
Author:
----------
Total Downloads: 33,076
First Release: May 10, 2022
Last Update: Apr 12, 2026
Category: ---------------
All-Time Rating:
29 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings