v2.0: The Performance Suite Update
This is a major feature update that introduces the
Entity Culling System, transforming CircuitBreaker from a specialized physics-lag tool into an all-in-one server performance suite.
[HR][/HR]
[COLOR=darkblue]✨ New Feature: Entity Culling System[/COLOR]
[cite_start]A new,
optional system has been added to detect and clear excessive entity build-ups[cite: 141]. This runs completely separately from the v1.0 physics lag detector.
- Fully Configurable: The entire feature is disabled by default. [cite_start]You can enable it and configure it in the new entity-culling section of your config.yml[cite: 142].
[cite_start]
- New Scanner: A new, slower, and server-friendly scanner (startEntityScanner) runs on its own configurable timer (scan-interval-seconds) to check for entity-crammed chunks[cite: 143].
[cite_start]
- Threshold Culling: If the number of entities in a single chunk exceeds the entity-threshold, the plugin will perform a "cull"[cite: 142, 145].
- Admin Notifications: When a cull occurs, a message is sent to the console and to all in-game admins (with the antilag.notify permission) detailing how many entities were removed and from which chunk (including coordinates).
[COLOR=darkblue] Smart Culling: No More Deleting Pets![/COLOR]
[cite_start]The biggest feature of the new system is its "smart" culling logic[cite: 146]. The plugin
will not remove entities that are considered "important."
An entity is considered
important (and will be skipped) if it:
[cite_start]
- Is on the new entity-culling.whitelist in the config (e.g., "PLAYER", "VILLAGER")[cite: 147].
[cite_start]
- Has a custom name[cite: 148].
[cite_start]
- Is a tamed pet (like a dog or cat)[cite: 148].
[cite_start]
- Is a vehicle (like a boat or minecart)[cite: 149].
[COLOR=darkblue] Minor Fixes & QoL (v1.1 -> v2.0)[/COLOR]
[cite_start]
- Console Color Fix: All console messages (startup, shutdown, and warnings) have been updated to use Bukkit.getConsoleSender().sendMessage() for proper, sexy "blood-red" color rendering that avoids §c artifacts[cite: 161].
- Code Cleanup: Fixed minor bugs and optimized existing v1.1 code.