HomeJavaModsCircuitBreaker
CircuitBreaker
ModsJava

CircuitBreaker

by AJA_R3TR0 · on Modrinth

Surgical chunk-based event filters to isolate and defuse lag machines without affecting player performance. Instantly freezes chunk loops exceeding TPS…

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.5–26.2 · Paper⬇ Download for 1.21.5–26.2 · Purpur⬇ Download for 1.21.5–26.2 · Spigot⬇ Download for 1.21.5–1.21.11 · Bukkit
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
CircuitBreaker — screenshot 1

CircuitBreaker v2.5-Vanguard

A chunk-based performance sentinel for Minecraft servers.

Official Website | Modrinth Project | Hangar Project | GitHub Releases


CircuitBreaker is an anti-lag plugin for modern Minecraft (Paper 1.21+). Instead of running crude global cleanups that clear all entities, it targets the specific chunk causing physics load, entity build-ups, or packet exploits, letting you isolate lag machines without disrupting legitimate players.


Core Features


What's New in v2.5-Vanguard


Technical Details

1. Physics Lag (The 3-Strike System)

This module targets Block Physics Lag (pistons, redstone loops, fluid updates).

  1. Counting: Tracks the number of BlockPhysicsEvent occurrences per chunk per second.
  2. Soft Reset (Strikes 1 & 2): If a chunk exceeds the configured lag-threshold, it is temporarily unloaded and reloaded to break simple clock loops.
  3. Hard Freeze (Strike 3): If the loop persists, the chunk and its 3x3 neighbors are put in a frozen state, canceling physics events in those chunks.
  4. Resets: A background timer clears strike lists periodically based on strike-reset-minutes.

2. Smart Entity Culling (Optional)

Must be enabled in config.yml.

  1. Scanning: A background task checks entity counts per loaded chunk at defined intervals.
  2. Culling: If total entities in a chunk exceed entity-culling.threshold, excess entities are removed.
  3. Exceptions: The culler preserves players, whitelisted types, custom-named entities, tamed pets, and vehicles (boats/minecarts).

Admin Commands & Permissions

Settings and ignores are saved to data.yml and persist across restarts.

Permissions

Commands

Command Alias Description
/cb gui /cb panel Opens the visual chest-menu control panel.
/cb status /cb status Checks state of current chunk (NORMAL, WATCHED, FROZEN, IGNORED).
/cb unfreeze [radius] /cb unfreeze Unfreezes chunks within a radius (defaults to 10x10 block area).
/cb top /cb top Lists the top 5 chunks with highest block physics activity.
/cb ignore /cb ignore Adds current chunk to whitelist (ignores physics resets and culling).
/cb unignore /cb unignore Removes current chunk from the whitelist.
/cb reload /cb reload Reloads configuration settings.

Configuration Reference (config.yml)

# CircuitBreaker Configuration File
# Upgraded: v2.5-Vanguard

# Toggle physics lag checks
enabled: true

# Physics threshold settings
lag-threshold: 20000
strike-limit: 3
strike-reset-minutes: 15

# Action Durations (Ticks)
soft-reset-duration-ticks: 200
freeze-duration-ticks: 6000

# Alerts
notify-admins: true
chunk-frozen-message: "&cThis chunk has been frozen due to excessive lag detection!"

# Entity Culling (Optional)
entity-culling:
  enabled: false
  scan-interval-seconds: 15
  threshold: 500
  whitelist:
    - "PLAYER"
    - "VILLAGER"
    - "IRON_GOLEM"
    - "ARMOR_STAND"
    - "ITEM_FRAME"
    - "PAINTING"

# Network Sentinel
packet-sentinel:
  enabled: true
  threshold-per-second: 600

# Updates
auto-update:
  enabled: true

# Discord Integration
discord-webhook:
  enabled: false
  url: ""

# TPS Monitor Sentinel
tps-sentinel:
  enabled: true
  threshold: 18.0
  mspt-threshold: 48.0
  send-to-webhook: true

Requirements & Compatibility


📦 AJA RETRO Plugin Suite


💬 Contact & Custom Quotes

Need direct support or looking to quote a custom plugin? We design and build everything from lightweight server utility plugins up to high-concurrency enterprise-grade server systems:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more