- Refactored server executor and Left Click Block signatures for Paper 26.2 compatibility
- Registered 26.1 and 26.2 modules
Features
- Added update checker to alert server operators and administrators when a new version of the plugin is available.
Bug Fixes
- Fixed a bug where list configurations without inline values (such as blacklisted-worlds) were incorrectly reset to defaults during config migrations.
Bug Fixes
- Fixed ghost block bugs by triggering immediate BFS recalculations upon block breaks (onBlockBreak calls forceNextBfs).
- Bypassed ESP checks for air and non-solid block updates to prevent visual ghost block accumulation.
- Fixed the configuration updater (ConfigUpdater.java) failing to migrate older config versions.
- Fixed the hide level reveal logic to accurately calculate world section boundaries.
Performance
- BFS Engine Optimization: Reduces CPU usage by up to 50% during visibility checks by rewriting the pathfinding algorithm logic.
- Memory Allocation Overhaul: Decreases Garbage Collection (GC) overhead by up to 80% using direct arrays and bitwise operations, significantly preventing server micro-stutters and TPS drops.
- Smart Chunk Caching: Up to 30% faster visibility updates by caching chunk states and eliminating redundant Bukkit API lookups.
- Efficient Task Scheduling: Minimizes redundant thread workloads by only queueing updates when players move significantly.
Stability
- Added rehide-on-ascend config option to control whether chunks re-hide when players climb back above the hide level.
- Refactored code structure into a Gradle multi-module project layout (common, nms-*, plugin) to cleanly isolate version-specific NMS dependencies.
- Implemented double-buffered atomic map reads in ConfigManager to prevent thread contention and TOCTOU (Time-of-Check to Time-of-Use) issues during reload.
- Prevented potential memory leaks and race conditions during chunk unloading by improving cleanup inside unloadChunk.
Compatibility
- Added native multi-version Minecraft 1.21 support with separated NMS submodules (nms-v1_21_R1 through nms-v1_21_R8).
- Updated internal configuration version schema to 5 (config-version: 5).
- Added support for custom hide-style options (AIR or DEEPSLATE).
Security
- Improved Anti-ESP validation logic for Y-levels below the configured hide level to prevent client-side ESP bypasses.
- Hardened block occlusion checks (strict block occlusion) in the ray-trace Anti-Xray module.
Bug Fixes
- Fixed NoSuchFieldError crash on 1.21.1 servers (chunkMap field incompatibility)
- Fixed entity hiding not working on player join/reconnect
- Fixed entities not being revealed when player crosses below hideLevel
- Fixed double ESP chunk processing causing packet corruption
- Fixed EspChunk section parser crash on malformed chunk data
- Fixed ViaVersion compatibility issue with chunk refresh packets
Performance
- Skip empty-air chunks during anti-freecam resend (~30-50% fewer packets)
- Reduced chunk burst rate from 40→20 per player to prevent bandwidth saturation
- Eliminated Arrays.copyOf() allocation in EspChunk hot path (GC reduction)
- Anti-freecam crossing cooldown increased to 8s to prevent exploit spam
- Copy-on-Write chunk block maps (deferred 34KB allocation per player)
- All optimizations synchronized across all NMS modules (R1—R8)
Stability
- Cross-version entity tracker uses reflection with Bukkit API fallback
- Entity hiding runs at 20 + 60 ticks after join (catches late-loading entities)
- Fixed thread safety issues during plugin reload and shutdown
- Fixed race condition in entity hiding between Netty I/O and main thread
- Defensive sanity checks in EspChunk to prevent IndexOutOfBoundsException
Compatibility
- Auto-detect server version (supports 1.21.1 — 1.21.11)
- All NMS modules synchronized (R1—R8)
- Proper Folia scheduler support for entity hide/unhide operations
Security
- Entity hiding cap overflow protection with oldest-entry eviction
- Rehide cooldown enforcement to prevent bypass
Bug Fixes
- Fixed Anti-Freecam (Rehide) not working
- Fixed players not receiving ESP protection on join/respawn
Performance
- ~93% memory allocation reduction on network threads
- Copy-on-Write chunk block maps
- Optimized anti-xray filtering
- Object pooling for hot-path allocations
- Reduced redundant lookups per packet
Stability
- Fixed memory leak in entity tracking
- Fixed race condition during chunk resend
- Fixed thread safety issue on plugin reload
- Eliminated network thread contention
- Thread-safe shutdown
Security
- Entity hiding cap overflow protection
- Rehide cooldown enforcement
