Paper & Purpur Only

SURGICAL
ANTI-LAG.

Stop the lag machine, not the server. CircuitBreaker isolates specific chunks overflowing event checks and freezes them instantly, preserving main thread ticks.

Lab Console Simulator

Toggle the mock lag machine to witness CircuitBreaker's chunk-freezing mechanism in real time.

Control Panel

Status
🔒

Chunk Frozen

Resuming event loop in seconds

Chunk Event Console
Region [10, -8]
Location: Chunk [10, -8]
Events:
TPS: MSPT:

How Redstone Clocks Lag Servers
& Why CircuitBreaker Stops It.

Redstone machinery is core to Minecraft, but it is also the easiest tool to weaponize. Griefers and uninformed players build simple setups that force millions of updates on the server thread, resulting in unplayable TPS. Here is exactly how it happens.

The Malpractice: Redstone Chains

A typical lag machine uses observer clocks facing each other, rapid comparator clocks, or arrays of sticky pistons moving blocks back and forth.

This causes the server to constantly recalculate block states, light changes, and collision updates. Since Minecraft ticks occur on a single thread, these block updates block the CPU, dropping TPS from 20 to 5.

🛡️

The Remedy: Surgical Interception

Instead of banning redstone or shutting down the world, CircuitBreaker monitors the physics updates per chunk.

If updates exceed 20,000/sec, the chunk gets flagged. On strike 3, the plugin locks that chunk's physics loop. The lag machine freezes instantly, while neighboring chunks and normal player contraptions remain active.

Live Global Sentinel network

Live Telemetry Console

Real-time metrics aggregated via bStats (ID: 32242) across production server environments globally.

Active Deployments
3,224 +

Total verified servers running CircuitBreaker.

Lag Machines Neutralized
12,854

Looping redstone/entity lag machines frozen.

Playtime Logged (Min)
482,920

Total player playtime monitored & safeguarded.

Chunks Protected
95,822

Individual chunk event loops analyzed.

Mitigation Efficiency Index

Hourly server MSPT response before vs after freeze mitigation.

Unfiltered (82ms) CircuitBreaker Active (14ms)
00:00 06:00 12:00 18:00 24:00

Platform & Loaders

Distribution across Minecraft server software.

PaperMC 68%
Purpur 22%
Spigot / Bukkit 10%

Documentation Hub

Comprehensive setup guides, command permissions, and configuration options. Click on a command row to review mechanics.

Installation & Setup

Compatibility Info

  • Server engine: PaperMC or Purpur (1.16 - 1.21+)
  • Folia Compatibility: Unsupported (Disabled automatically to protect threaded chunk data)
  • Java Version: Java 17 or higher

Installation Steps

  1. Download the compiled jar release file.
  2. Place the file into the /plugins directory of your Paper server.
  3. Start or reboot your server to generate configuration logs.
  4. Open config.yml and adjust thresholds matching your hardware specs.

Config.yml Reference

YAML Syntax
# CircuitBreaker Configuration File
# Core switches and monitoring parameters

# Master toggle for the anti-lag system
enabled: true

# --- Lag Detection Thresholds ---
# Number of block physics updates in 1 second (20 ticks) to register a strike
lag-threshold: 5000

# Number of strikes a chunk accumulates before being frozen
strike-limit: 3

# Minutes of clean performance before strikes are reset
strike-reset-minutes: 15

# --- Action Settings ---
# Duration (in ticks) to apply a soft reset to the chunk (200 ticks = 10s)
soft-reset-duration-ticks: 200

# Duration (in ticks) to hard freeze the chunk (6000 ticks = 5m)
# Set to -1 to freeze permanently until unfrozen by an administrator
freeze-duration-ticks: 6000

# --- Alert Settings ---
# Send alert notifications to online administrators
notify-admins: true

# Chat message sent directly to players inside the chunk when it gets frozen
chunk-frozen-message: "&cThis chunk has been frozen due to excessive lag detection!"

Plugin Command Directory

Command Permission Short Description
No commands matched your query.