Hello everyone!
This update brings significant performance improvements and critical bug fixes to ensure AstrumKDR runs smoothly and accurately on your server.
What's New?
Major Performance Boost:
We've completely overhauled how player statistics (KDR, kills, deaths) are handled for placeholders. The system now uses an intelligent cache, eliminating direct database calls on the main thread. This means drastically reduced lag, especially for servers using placeholders in frequently updated scoreboards.
Critical Bug Fixes:
- Stats Accuracy: Fixed a "race condition" bug where a player's stats could temporarily display as 0 or an old value right after they died. The KDR now updates reliably and instantly.
- Admin/Reload Bug: Solved an issue where stats for admins or any player already online during a server reload (/reload) were not being tracked. The plugin now correctly registers stats for all players, regardless of when they joined.
It is highly recommended to apply this update for a more stable and reliable KDR tracking experience.