Lag Squared
Prevents various lag machines without messing up game mechanics
Lag Squared
Lag² - Anti-Lag Machine Plugin
Stop lag machines before they crash your server.
Lag² automatically detects and neutralises common lag machines:
- Entity pileups - temporarily disable, remove, or break laggy circuits - Entity pileups - snowballs, arrows, eggs, and similar chunk-filling projectiles - Entity pileups - merges thousands of orbs into fewer, larger ones - Entity pileups - enforces per-chunk entity limits for configured entity types
<div align="center"> <img src="https://www.image2url.com/r2/default/gifs/1776629192579-c6598934-5767-43ba-b73e-7f8aa78e98d9.gif" alt="redstone showcase"> </div>
Features
- Permission levels - disable (safe), remove (clean), or drop (break & loot) - Permission levels with click-to-teleport - know exactly where lag happens - Permission levels - view status, inspect chunks, and find the busiest hotspots - Permission levels - minimal performance impact - Permission levels - staff access can be split by role instead of requiring OP
Commands
| Command | Description | |--------|-------------| | `/lagsq status` | Shows tracker and limiter activity | | `/lagsq top [count]` | Lists the most active loaded chunks | | `/lagsq inspect [world] [chunkX] [chunkZ]` | Inspects a chunk or your current chunk | | `/lagsq reload` | Reloads the plugin configuration and services |
Permissions
Lag² now uses integer-based permission levels with OP bypass.
| Permission | Description | |------------|-------------| | `lagsq.level.1` | Receive alerts and use `/lagsq status` and `/lagsq inspect` | | `lagsq.level.2` | Use click-to-teleport actions and `/lagsq top` | | `lagsq.level.3` | Use `/lagsq reload` | | `lagsq.admin` | Full access to all Lag² permission-gated features |
Default required levels can be changed in `config.yml` under `permission-levels`.
Configuration
All settings are in `config.yml`. You can adjust:
- Redstone update thresholds and actions - Projectile limits per chunk - XP orb merging radius and limits - General entity cleanup limits and removal behavior - Alert sounds, coordinates, and teleport buttons - Staff permission level requirements
Support
*Made for server admins who want performance without compromise.*
*Please, if you have suggestions or have any bugs, report them on the plugin's GitHub page. It will be linked in the project.* ~~~~