Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
NoLag Ultimate 21.6.2
Advanced Minecraft Server Optimization, Performance Monitoring & Security Protection
NoLag Ultimate is a free, open-source, all-in-one Minecraft server optimization and protection plugin. It combines performance diagnostics, adaptive resource management, lag-machine detection, network security, and configurable gameplay safeguards in a single toolkit.
Designed for server administrators who want greater control over performance and stability, NoLag focuses on identifying specific sources of server load rather than relying only on periodic entity or item clearing.
Version 21.6.2 introduces Netty Protection, a new network and packet security system, alongside extensive bug fixes, stability improvements, and safer optimization behavior.
What's New in 21.6.2?
NEW — Netty Network & Packet Protection
A new security layer designed to detect and limit suspicious network activity, excessive packet traffic, and selected malformed packet patterns.
Key capabilities:
- Asynchronous packet inspection: Processes incoming packets through Netty's event-loop pipeline, outside the main server tick thread.
- Adaptive packet-rate limiting: Uses per-connection token buckets with configurable sustained rates and burst allowances.
- Bot connection throttling: Controls excessive login attempts from individual IP addresses.
- Early connection protection: Provides best-effort packet-rate monitoring during connection establishment, before the player fully joins.
- Extreme flood detection: Monitors sustained, unusually high packet rates and can terminate abusive connections.
- Tab-completion flood protection: Limits excessive command-suggestion requests.
- Custom payload protection: Restricts high-frequency plugin-message and custom-payload traffic.
- Inventory click protection: Detects excessive container interaction packets.
- Invalid movement filtering: Checks supported movement packet fields for invalid or non-finite coordinates.
- Crash-packet heuristics: Inspects selected packet structures for suspiciously oversized strings and binary payloads.
- Configurable IP exemptions: Supports trusted addresses and network-specific settings.
- Connection statistics: Reports inspected packets, flood activity, blocked exploit candidates, and connection protection status.
The module is configurable through:
features.netty-protection in config.yml
Built with performance in mind: Packet inspection uses cached packet metadata, per-channel rate tracking, and bounded connection-tracking structures to reduce unnecessary processing.
Important: Netty Protection is an application-level security layer, not a replacement for upstream DDoS mitigation, firewall protection, or your hosting provider's network security. Early-stage protection depends on server internals and may not be available in every environment. Some protection thresholds may require adjustment for proxies, heavily modded clients, or unusual server workloads.
Major Bug Fixes & Stability Improvements
Version 21.6.2 also includes improvements across multiple existing systems.
Item and entity management
- Improved dropped-item expiration tracking after item merges.
- Better synchronization between persistent item metadata and in-memory expiration records.
- Safer retry handling for temporarily unavailable entities.
- Improved restoration of temporarily disabled mob AI.
- More reliable entity-visibility processing and tracking.
- Improved preservation and restoration of supported mob names in legacy stack handling.
Performance and resource management
- Refined chunk optimization and existing-chunk prefetch tracking.
- Improved handling of player view-distance changes.
- Reduced conflicts between Chunk Optimization and Nether Protection.
- Improved scheduled maintenance behavior and cache management.
- Better handling and reporting of unsuccessful manual RAM maintenance operations.
- Corrected performance activity calculations and selected diagnostic messages.
Safety and compatibility
- Safer handling of fluid-related lag-machine activity without destructive block removal.
- Improved redstone protection threshold handling.
- Improved Netty handler lifecycle and connection tracking.
- Additional safeguards for asynchronous operations.
- Improved dashboard task scheduling.
- Clearer warnings for unsupported or potentially unsafe feature configurations.
- More conservative behavior for features that could modify complex gameplay structures.
These changes focus on reliability, controlled resource usage, and reducing unintended effects on normal gameplay.
Performance Monitoring & Diagnostics
Monitor your server and investigate potential performance problems with integrated diagnostic tools.
- TPS & MSPT Monitoring: Track server tick performance and processing time.
- Memory Monitoring: Inspect JVM heap usage and memory-pressure indicators.
- Server Statistics: View available entity, chunk, memory, and world statistics.
- Performance Impact Analyzer: Examine supported activity categories, including entities, chunks, redstone, physics, fluids, and memory.
- In-Game Dashboard: Access performance information through a graphical interface.
- Plugin Lag Watcher: Use sampling-based estimates to identify potentially expensive plugin activity.
- bStats Integration: Optional anonymous usage statistics for supported server environments.
Plugin Lag Watcher uses sampling estimates rather than exact execution-time measurements for every plugin. For detailed profiling, use a dedicated profiler alongside NoLag.
Advanced Lag-Machine Protection
Redstone Protection
NoLag includes detection and mitigation mechanisms for unusually intensive redstone activity.
Depending on the enabled protection, the system can examine repeated updates, clock-like behavior, and activity concentrated around specific blocks or chunks.
Capabilities include:
- Redstone activity tracking.
- Suspicious clock-pattern detection.
- Per-block and area-based activity analysis.
- Configurable activity limits.
- Selective restriction of excessive redstone behavior.
The advanced Redstone Lag Detector is separately configurable and disabled by default in the supplied configuration.
Because redstone restrictions may affect legitimate farms and machinery, administrators should test aggressive settings before enabling them on production worlds.
Fluid Flood Protection
NoLag includes a dedicated protection system for suspicious fluid-based machines and excessive fluid activity.
Rather than treating every water or lava source as harmful, the detector considers multiple behavioral and structural signals.
Detection signals include:
- Unusually intensive fluid propagation.
- Repeated dispenser and piston activity.
- Concentrated fluid-source placement.
- Ice-related activity.
- Selected flying-machine patterns.
- Multiple simultaneous indicators of potentially harmful mechanisms.
The module supports configurable detection thresholds, tracking windows, confidence requirements, cooldowns, and emergency fluid throttling.
Safety improvement in 21.6.2: The reviewed implementation avoids physically deleting existing blocks as part of its flood protection. Instead, protection focuses on limiting or cancelling selected suspicious activity.
This helps reduce the risk of permanent changes to legitimate player builds.
Adaptive Chunk Optimization
Chunk processing and player movement can place significant pressure on Minecraft servers, especially when players travel quickly through large worlds.
NoLag includes a native chunk-pressure controller designed to work with the server's existing chunk system.
Features include:
- Adaptive view-distance control.
- Adaptive simulation-distance control.
- Supported chunk send-distance adjustments.
- TPS/MSPT-aware pressure monitoring.
- Gradual adjustments with recovery hysteresis.
- Player movement awareness.
- Chunk load and unload statistics.
- Optional, bounded prefetch requests for already-generated chunks.
- Restoration of managed settings when appropriate.
The controller does not replace Minecraft's chunk engine, generate distant terrain for free, or force-unload chunks.
Default configuration: Chunk Optimization is enabled. Existing-chunk prefetch is disabled by default and can be enabled separately after testing.
The results depend on player movement, world generation, server hardware, view-distance configuration, and other installed plugins.
Nether Traversal Protection
High-speed movement through the Nether can generate frequent chunk transitions and increase world-streaming pressure.
NoLag's Nether Protection monitors selected travel patterns and applies configurable optimizations when necessary.
- Detect unusually rapid traversal patterns.
- Monitor repeated chunk transitions.
- Adapt individual player chunk send distances.
- Apply configurable vehicle or movement damping.
- Use violation thresholds, cooldowns, and recovery periods.
- Provide permission-based exemptions.
The objective is to reduce selected sources of traversal-related server load rather than automatically prohibit normal Nether exploration.
Nether roof teleport blocking remains disabled by default.
RamFixer & Memory Optimization
RamFixer monitors JVM memory pressure and performs configurable maintenance operations.
Available functionality:
- Medium, high, and critical memory-pressure thresholds.
- Incremental maintenance with bounded processing budgets.
- Internal cache maintenance.
- Selected invalid-entity cleanup.
- Optional chunk maintenance with safety checks.
- Manual memory sweeps.
- Configurable garbage-collection options.
Operations that could create additional server load are restricted or disabled by default where appropriate.
Note: JVM memory management depends on garbage collection and actual server workload. NoLag does not guarantee an immediate reduction in allocated RAM or eliminate every cause of memory-related lag.
Entity AI, Visibility & Mob Management
NoLag includes optional systems for adjusting selected entity behavior and visibility.
Adaptive Entity AI
When enabled, this module can temporarily reduce AI processing for eligible entities outside configured player ranges under performance pressure.
Protected categories are excluded where applicable, and the module includes restoration behavior when conditions recover.
Disabled by default because it intentionally modifies entity behavior.
Entity Culling
A configurable per-player visibility-management system based on viewing direction and distance.
It affects supported entity visibility rather than universally removing entity AI or server-side ticking.
Disabled by default to avoid unnecessary gameplay or compatibility changes.
Mob Stacker
NoLag includes legacy stack tracking and separation support.
New virtual mob merges are currently disabled because preserving complete mob state during merging and restoration requires additional safety guarantees.
Existing supported stacks can still be handled by the compatibility logic.
Dropped Item Optimization
Item Expiry
Instead of periodically removing all dropped items at once, NoLag tracks eligible dropped items using configurable individual expiration times.
- Per-item lifetime tracking.
- Persistent expiration metadata.
- Improved behavior after compatible item merges.
- Retry handling for temporarily unavailable entities.
- Protection for named items according to configuration.
- Administrative cleanup controls.
Default item lifetime: 180 seconds.
Item Stacker
Compatible nearby dropped items can be combined to reduce the number of separate item entities.
This behavior is configurable and should be tested with custom-item and economy plugins.
TNT, Physics & Hopper Protection
Additional safeguards help administrators manage selected high-cost gameplay operations.
TNT Protection
- Configurable primed TNT and explosive-minecart limits per chunk.
- Selected chain-reaction restrictions.
- Explosion fire controls.
- Configurable explosion-yield handling.
Physics Protection
- Selected block-physics restrictions during low-TPS conditions.
- Support for configurable performance thresholds.
Hopper Throttling
- Restricts selected hopper transfers under configured server pressure.
- Uses configurable light and heavy throttling thresholds.
These systems may affect farms, redstone contraptions, inventory automation, or explosion behavior. Configure them according to your server's gameplay requirements.
Additional Server Utilities
NoLag also includes:
- Armor Stand Limiter: Configurable armor stand limits per chunk.
- Command Security: Restrict selected commands with permission-based bypasses.
- Elytra Protection: Configurable restrictions during low server TPS.
- Void Rescue: Rescue eligible players who fall below the world boundary.
- Autosave Optimizer: Optional staggered world saving.
- Fast Leaf Decay: Currently unavailable as an accelerated feature until claim/region safety checks can be supported reliably; vanilla decay remains active.
The Autosave Optimizer is disabled by default to avoid redundant disk I/O. Native server autosaving remains the recommended default.
Commands
The main command is /nolag.
Aliases: /nl, /lag, /antilag
| Command | Description |
|---|---|
/nolag |
Main server optimization status |
/nolag tps |
Display TPS and MSPT |
/nolag stats |
Server and resource statistics |
/nolag performance |
Performance Impact Analyzer |
/nolag dashboard |
Open the monitoring GUI |
/nolag ramfix |
Start manual memory maintenance |
/nolag cleanup |
Request eligible expired-item cleanup |
/nolag items |
View item expiration information |
/nolag plugins |
Plugin Lag Watcher diagnostics |
/nolag autosave |
Autosave Optimizer status |
/nolag netty |
Netty Protection status and statistics |
/nolag netty reset |
Reset Netty Protection statistics |
/nolag netty reload |
Reload Netty Protection settings |
/nolag reload |
Reload NoLag configuration |
/nolag version |
Display plugin and server version |
Administrative commands require the appropriate nolag.* permissions.
Compatibility
Development stack
- Java 21
- Maven
- Paper API 1.21.8
- Configurable Bukkit-style plugin architecture
Primary server platforms
- Paper
- Purpur
- Spigot
- Bukkit-compatible server implementations
Folia — Experimental / Partial Compatibility
NoLag includes Folia-aware scheduler handling, but not every module is available or fully operational under Folia's region-threaded architecture.
Certain entity, item, fluid, Nether, cleanup, and autosave operations are limited or disabled where cross-region access cannot be performed safely.
Folia should not be treated as having complete feature parity with Paper.
Compatibility can vary across Minecraft and server software versions. Test the exact server build before deployment.
Installation & Configuration
- Download the NoLag Ultimate plugin JAR.
- Place it in your server's
pluginsdirectory. - Restart the server.
- Configure the generated
plugins/NoLag/config.yml. - Review the enabled protections and their thresholds.
- Use
/nolagand/nolag dashboardto inspect available diagnostics.
Important configuration sections:
features.netty-protectionfeatures.fluid-flood-protectionfeatures.ram-fixerfeatures.item-expiryfeatures.nether-chunk-protectionchunk-optimizeradvanced-optimization
Back up important worlds and test gameplay-altering settings before using them on a production server.
Our Approach
Optimization should improve server performance without becoming another source of lag.
NoLag Ultimate emphasizes:
- Configurable safeguards instead of one-size-fits-all restrictions.
- Bounded maintenance and monitoring operations.
- Adaptive responses to server conditions.
- Improved protection against selected lag-producing mechanisms.
- Platform-aware safety decisions.
- Transparent diagnostics and administrator control.
Actual performance depends on hardware, player activity, world characteristics, configuration, JVM settings, and installed plugins. NoLag does not guarantee a fixed TPS, eliminate every lag source, or replace dedicated network-level security protection.
Open Source
NoLag Ultimate is open-source software licensed under Mozilla Public License 2.0 (MPL-2.0).
Modrinth: https://modrinth.com/plugin/nolag-ultimate
GitHub: https://github.com/VoidOaz/NoLag-Ultimate
Bug reports, suggestions, compatibility feedback, and code contributions are welcome.
NoLag Ultimate 21.6.2 — Optimize smarter. Protect better.


