Kzvxly Anti Lag Machine

About

A Minecraft Paper plugin for 1.21.11 that monitors and limits redstone clock loops to prevent server lag. It automatically detects and disables fast-looping observer chains that exceed a configurable tick threshold, breaking the loop to restore performance. The plugin also tracks entity spawns per chunk, and when a player spawns an excessive number of entities in a single chunk, it sends an immediate alert to all online admins via chat and console. Includes configurable limits for both redstone clock cycles and entity spawn counts, with cooldown periods to prevent alert spam. Provides admin commands to view current stats, adjust thresholds, and manually re-enable disabled redstone circuits.