Lag Squared
PluginMIT

Lag Squared

Prevents various lag machines without messing up game mechanics

44
Downloads
1
Followers
2 months ago
Updated
📦
2
Versions

📖About Lag Squared

Lag² - Anti-Lag Machine Plugin

Stop lag machines before they crash your server.

Lag² automatically detects and neutralises common lag machines:

  • Redstone clocks - temporarily disable, remove, or break laggy circuits
  • Projectile spam - snowballs, arrows, eggs, and similar chunk-filling projectiles
  • XP orb piles - merges thousands of orbs into fewer, larger ones
  • Entity pileups - enforces per-chunk entity limits for configured entity types
redstone showcase

Features

  • Configurable actions - disable (safe), remove (clean), or drop (break & loot)
  • Staff alerts with click-to-teleport - know exactly where lag happens
  • Chunk inspection commands - view status, inspect chunks, and find the busiest hotspots
  • Lightweight & efficient - 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.
~~~~