Sueta
LE

LessLagg

1.5-SNAPSHOT

Async performance guardian plugin

·Plugin
  1. 1.5-SNAPSHOTlatestLessLagg 1.5-SNAPSHOTApr 6, 2026
    May be the last version
    70 downloads
  2. 1.2LessLagg 1.2Feb 13, 2026
    LessLag v1.2 Release Notes New Features Asynchronous Workload Distribution: Implemented WorkloadDistributor to handle heavy bulk operations (such as clearing thousands of entities) across multiple ticks, preventing main thread freezes. Incremental Analysis: Refactored LagSourceAnalyzer to use IncrementalSnapshotBuilder, spreading snapshot collection over time to reduce analysis overhead. Localization Support: Externalized all hardcoded messages to messages.yml, allowing for full language customization. Pufferfish Hybrid Mode: Added support for Pufferfish Hybrid Mode in CompatibilityManager. New Actions: Added notify-admin and reduce-view-distance to the available action list in ActionExecutor. Configurable Budget: Added configuration options for the workload distributor's per-tick time budget. Performance Improvements Frustum Culling Optimization: Refactored FrustumCuller algorithm to O(m) complexity using player-centric iteration for faster processing. Concurrency: Increased the asynchronous thread pool size from 2 to 4 to better handle concurrent monitoring tasks. Optimized Entity Checks: Improved enforceEntityLimits performance by refactoring distance calculations and map lookups. Bug Fixes Memory Leaks: Fixed a task leak in RedstoneMonitor where scheduled tasks were not properly cancelled on reload. Fixed potential memory leaks by ensuring LessLag instance references are nullified on disable. Thread Safety: Resolved race conditions in ActionExecutor by switching from World objects to UUID as map keys during async analysis. Added verification for thread safety in monitor cleanup routines. Configuration & Logic: Fixed ThresholdConfig incorrectly reading from the root thresholds path instead of automation.thresholds. Fixed WorldChunkGuard interval calculation causing unit errors (seconds vs. ticks). Fixed TPSMonitor threshold logic to prevent "sticky" states where actions would not de-escalate properly. Fixed duplicate per-chunk-limit keys in the default configuration. Fixed ActionExecutor entity limit enforcement to correctly interpret category keys (monster, animal, etc.). Compatibility: Fixed CompatibilityManager logic to avoid false positives when detecting Pufferfish/DAB. Prevented RedstoneMonitor from forcefully disabling when ClearLag is detected (changed to warning only). Refactoring Refactored LagSourceAnalyzer to fix chunk load rate calculation bugs. Added shutdown() method to WorkloadDistributor to ensure clean termination of pending tasks. General code cleanup and linting fixes across the codebase.
    21 downloads
  3. 1.1LessLagg 1.1Feb 12, 2026
    1. RedstoneMonitor Optimization: Replaced expensive string key generation with a custom ChunkKey and bit-shifting for coordinate access. 2. Threshold Logic Fix: Corrected the severity calculation where high TPS was incorrectly flagged as severe. 3. ActionExecutor Optimization: * Deduplicated action execution. Optimized `disableMobAI` using a chunk-based "near player" check instead of O(NM) distance checks. * Switched to getEntitiesByClass for faster entity filtering. 4. Monitor Optimization: Cached configuration values (whitelists, protected types) and JMX beans in FrustumCuller, ChunkLimiter, MemoryLeakDetector, and GCMonitor to avoid repetitive overhead. 5. Refactoring: Cleaned up LessLag.java by extracting monitor lifecycle management, eliminating code duplication in reloadPlugin. 6. Audit Logging: Added console logging for sensitive administrative commands. 7. Testing: Added unit tests for threshold logic and report formatting. And more....
    23 downloads
  4. 1.0LessLagg 1.0Feb 11, 2026
    First release
    19 downloads

Similar projects

Plugin →