COWMODSКаталог модов

ClearLag++

🎆Trusted on 3100+ Servers🎆⭐Controlls Mob Spawning ⭐Limits Armor Stand⭐Item Frames⭐Laggy Chunkfinder and Unloader⭐And many more features⭐Check it out Yourself⭐1.18-26.3⭐Bukkit/Spigot/Paper/PurPur⭐

Автор: fernsehheft213,8 тыс.97обновлён 16 окт. 2026 г.
Механики игрыОптимизация

Описание

ClearLag Bukkit Spigot Paper Purpur

Placeholder
PlaceholderFunctionExplanation
%clearlag_nextclear%Next Clear TimeDisplays the time remaining until the next scheduled automatic entity clear. The output is formatted in a readable format, such as 5m 30s (5 minutes and 30 seconds)
%clearlag_nextclear_seconds%Extension for nextclearDisplays the time remaining until the next scheduled automatic entity clear. Only in Seconds will be Displayed
%clearlag_autoclear_enabled%Show If AutoClear Is On/OffShow If AutoClear Is On/Off
%clearlag_autoclear_interval%Shows the Time of Auto ClearDisplays the time set for auto clear
%clearlag_lastclear_items%Shows Stats for last Auto ClearShows how many items were removed during auto clear.
%clearlag_lastclear_entities%Shows only entitys for last Auto ClearThe exact number of entities removed during the last auto-clear (excluding items)
%clearlag_lastclear_total%Shows what was deleted in the last clearThe total number of all removed entities (items + other) during the last clear
%clearlag_stats%Last Clear StatisticsShows the number of entities that were removed during the most recent automated or manual clear action. Example output: 150 entities have been removed
%clearlag_entity_total%Total Entity Count (Server)Provides the absolute count of all entities currently loaded across all worlds on the server.
%clearlag_entity_world_%Entity Count (Per World)Displays the number of entities in a specific world defined by replacing You can also use the placeholder %clearlag_entities_in_world_%, it does the same thing For example, %clearlag_entity_world_world_nether% would show the entity count only in the Nether
%clearlag_dropped_items_total%Total Dropped Item CountThe total number of dropped item entities currently lying on the ground across all worlds
%clearlag_ram%RAM UsageReports the server's current Java Virtual Machine (JVM) memory usage. It typically shows the used memory versus the total allocated memory in megabytes (MB). Example output: 1024.55 MB / 2048 MB
%clearlag_mobs_total%Total Entity Count (Mobs)The total number of all living mobs (animals and monsters, excluding players, items, etc.)
%clearlag_loaded_chunks%Total Chunks Loaded ChunksThe total number of all loaded chunks on the server
%clearlag_chunkunload_threshold%Shows how many mobs have been set until the chunk is unloadedDisplays the set entity threshold for automatic chunk unloading.
%clearlag_lastunload_chunks%Displays the total number of Chunks discharged during the automatic discharge scanThe total number of all Chunks That got unloaded while the auto unload scan
English

ClearLag++:


The ClearLag++ plugin for Minecraft servers is a powerful tool for increasing server performance and comprehensively combating lag. It offers a variety of intelligent features to ensure smooth and stable operation.

Intelligent Entity Management

Automatic Cleanup:

Automatically removes dropped items and entities after a configurable time, with a visible countdown.

  • Comprehensive Protection: Excludes named mobs, farmed mobs, and mobs with a scoreboard tag from being cleaned up.
  • After-Death & Recent-Activity Protection: Protects death drops and items dropped near players for a configurable duration.
  • Smart Stacking: Merges items beyond the normal 64 limit and groups non-stackable items (like potions) to keep entity counts low.
  • Clean-up Effects: Adds configurable particles and sounds when entities are cleared to make the process feel seamless.

Targeted Removal:

Administrators can selectively remove hostile, passive, or all mobs using /clearlag killmobs or /clearlag nuke.

Advanced Performance Optimizations

Redstone & Physics Optimization:

Limits the update rate of redstone components and prevents lag from mass falling-block events (sand/gravel) or piston-heavy contraptions.

Entity & Tile Entity Limiter:

Sets strict limits for Item Frames, Armor Stands, Vehicles, Projectiles, and Tile Entities (Hoppers, Chests, Spawners) per chunk and globally.

Mob Spawn & Breeding Limiter:

Controls the natural spawn rate and prevents breeding lag by limiting the number of animals per chunk.

AI Optimization (Distance-Based Despawn):

Removes mobs that are further from every player than a configurable distance, eliminating the AI and pathfinding cost they cause. Note: this despawns the mob itself, it does not merely switch its AI off. Named, bred, tagged, tamed and leashed mobs are excluded by default, and any mob the game itself never despawns is always kept.

Environmental & Connection Control:

Throttles fire spread, liquid flow, and portal usage. Includes a Packet Rate Limiter (ProtocolLib) to stop network-based lag.

Monitoring, Diagnostics, and Dynamic Control

Performance Metrics & Monitoring:

Provides real-time statistics on TPS, MSPT, CPU utilization, and RAM usage. Includes a BossBar Performance Meter for live monitoring.

Dynamic View Distance:

Automatically scales server-wide view distance and simulation distance based on real-time TPS and player activity.

Performance Alerts & Snapshots:

Notifies administrators and automatically saves Lag Snapshots (detailed reports) when performance spikes or falls below thresholds.

Diagnostic Tools:

The Chunk Scanner identifies chunks with high entity counts, while the Lag Profiler highlights performance bottlenecks. With debug mode enabled, every single entity the plugin removes is written to the console together with the feature responsible — so if something disappears and no removal line appears for it, you know immediately that ClearLag was not the cause.

Multi-World & Time Support:

Features Per-World Profiles and Time-Based Rules allowing for unique settings during day, night, or event modes.

Per-Region Rules (WorldGuard):

Mark individual regions as clear-immune so entities inside them survive every clear, and override the hostile and passive mob limits per region — ideal for marketplaces, arenas and event areas.

Comprehensive Integration:

Full native support for LuckPerms, Discord webhooks, PlaceholderAPI, WorldGuard and ProtocolLib, plus third-party plugins like MythicMobs, EliteMobs, Nexo, Oraxen, ItemsAdder, LevelledMobs, Citizens, the major hologram and NPC plugins, and every common mob stacker.


LuckPerms

All permissions/commands can be managed via LuckPerms



See my other Projects Modrinth

This Plugin is currently in Beta



ClearLag Plugin
Copyright (c) [fernsehheft] [2026]
All Rights Reserved.

This software is proprietary and may not be redistributed, modified, or used for commercial purposes without the express written permission of the copyright holder.

SUPPORT

If something doesn't work, you can let me know on Discord or on my SpigotMC Page

Plugins Used:


Downloads:

If you have any suggestions for improvement or new ideas, please let me know on my dc

BStats

https://bstats.org/plugin/bukkit/ClearLagPlusPlus/27588

Sponsor:

NexoSystems Ad Banner

Use Code pluginhub for 10% on both EPYC and Ryzen servers

Галерея

ClearLagClearLag 2.0ClearLag Commands Updatet

Последние версии

Все версии →
beta

ClearLag++ 1.14.4

1.14.4
16 окт. 2026 г.9,4 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - Nothing ### Fixed: - **ItemsAdder: items dropped by players were never cleared.** On servers with ItemsAdder, every item a player threw out was treated as ItemsAdder content and skipped by the clear, while block drops were removed normally. Now only real ItemsAdder custom items are protected; normal drops are cleared again. The same fix applies to Nexo and Oraxen. ### Removed: - Nothing
beta

ClearLag++ 1.14.3

1.14.3
13 окт. 2026 г.3,1 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - Nothing ### Fixed: - **Smart Stacking now really stacks non-stackable items.** Identical potions, stews or tools were never merged, although the config promised it. They now stack into one pile with a name tag (e.g. `Mushroom Stew x5`). Damaged tools are left unstacked on purpose. - **Hoppers no longer destroy items from stacked piles.** A hopper picking up a pile like `Stone x94` kept 64 and the other 30 vanished. Now everything goes into the hopper, and whatever does not fit stays on the ground. ### Removed: - Nothing
beta

ClearLag++ 1.14.2

1.14.2
12 окт. 2026 г.1 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - Nothing ### Fixed: - **Smart Stacking: name tags disappeared and items were lost.** When a stacked pile (e.g. `Stone x94`) lay next to a normal item stack, Minecraft merged the pile into that stack, which removed the name tag and almost all of the items. ClearLag now handles these merges itself, so the pile keeps its name tag and its full count (`Stone x94` + 5 stone becomes `Stone x99`). Your `max-stack-limit` setting and death-item protection still apply. ### Removed: - Nothing
beta

ClearLag++ 1.14.1

1.14.1
4 окт. 2026 г.6,6 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - Nothing ): ### Fixed: - **Armor stands no longer disappear when placed.** Sometimes placing an armor stand took the item from the player but placed nothing. The mob spawn limiter counted armor stands as mobs and blocked them once an area was full, and it could even remove armor stands that were already standing. Armor stands are now completely ignored by the mob spawn limiter. - **The armor stand / item frame limiter no longer eats items.** When the limit is reached, the placement is blocked and the player keeps the item. Players with `clearlag.bypass.limit` can always place them. - **The armor stand / item frame limiter now stays off when it is not in your config.** Older configs without this section had the limiter running silently (10 per chunk, 100 per world). It is now off unless you turn it on, like in the default config. ### Removed: - Nothing (:
beta

ClearLag++ 1.14.0

1.14.0
25 сент. 2026 г.9,3 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - **Per-world auto-clear messages** The auto-clear countdown and success messages (and their sounds) went to every online player regardless of the world they were in. The new list limits them to players in the named worlds (case-insensitive). An empty list — the default, also when the key is missing from an existing config — keeps the old behaviour of messaging every world. ### Fixed: - Nothing ### Removed: - Nothing
beta

ClearLag++ 1.13.1

1.13.1
19 сент. 2026 г.3,8 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - Nothing ### Fixed: - **Holograms and shop items from other plugins no longer get cleared.** Until now ClearLag only protected holograms from DecentHolograms, HolographicDisplays and FancyHolograms. Chest-shop plugins that create their own holograms and floating display items (for example mc-PlayerShop) lost them on every auto-clear. ClearLag now recognises these on its own, no matter which plugin placed them: hologram/display entities, click hitboxes, and floating items that can never be picked up, never despawn, have no gravity or sit on another entity. Normal dropped items are not affected. On by default, can be turned off with `hooks.holograms.plugin-displays-immune: false`. - **Item Merge no longer touches shop display items.** A shop's floating item could previously be merged with a matching dropped item next to it and disappear. ### Removed: - Nothing
beta

ClearLag++ 1.13.0

1.13.0
29 авг. 2026 г.11,3 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - **Dry-Run for clears.** `/clearlag clear <items/entity/all> --preview` shows what a clear would remove without removing anything. You get the total, split into items and entities, a ranking of the most common types and a breakdown per world. It uses the exact same rules as a real clear, so exclusions, plugin hooks, WorldGuard regions, death-item protection, mob stacking and per-world profiles all behave identically. `--dry-run` and `-p` work as well. - **New permission** `clearlag.preview` lets staff run the preview without giving them the right to actually clear. - **Skip-If-Empty.** New option `auto-clear.skip-if-empty`. When there is nothing worth clearing, the countdown broadcasts and the clear itself are skipped. No more "Clearing in 60 seconds..." followed by "0 entities have been removed" on a quiet server. You can set how many entities count as worthwhile (`min-entities`) and skip the countdown and the clear independently. - **Villager / AI Throttle.** New section `villager-optimization`. Turns off the AI of villagers while no player is within the configured radius, and turns it back on the moment somebody comes close, right-clicks the villager or hits it. Villagers are the most expensive vanilla mob to tick, and since they must never be removed, this is the only way to get that time back. Other pathfinding-heavy mob types can be added to the list. Frozen mobs are tracked and always restored on enable, reload and shutdown, so nothing stays frozen. Mobs that were disabled by an operator or another plugin are never touched. Note: while frozen, a villager does not restock trades and does not walk to its bed, so keep the radius large enough for your trading halls. - **Anti-Crash Item Limits.** New section `anti-crash-items`. Blocks items with metadata large enough to crash a client or stall the server: oversized display names, huge amounts of lore, extreme enchantment levels, books with absurd page counts or page lengths, shulker boxes nested inside each other, and items whose total data size is far beyond anything legitimate. Checked when an item is dropped, renamed in an anvil, or signed as a book. Three modes: `strip` (trim and keep the item), `cancel` (block it) and `log-only` (only report, change nothing) so you can see what your server would catch before enforcing anything. Staff with `clearlag.anticrash.alert` get notified, rate-limited. - **Performance History.** New section `metrics-history` plus the command `/clearlag history <30m/24h/7d>`. TPS, MSPT, CPU, RAM, entity, item, chunk and player counts are written to a local database and kept for a configurable number of days. The command shows averages, lowest TPS, peaks, the worst period in the window and a coloured trend line, so "was the server laggy last night?" can finally be answered. New permission `clearlag.history`. The database driver is downloaded by the server automatically. If that fails, only this one feature switches itself off with a warning. ### Fixed: - Chunk scans no longer freeze the server for a moment. `/clearlag chunkfinder` and the Auto-Unload task used to walk every loaded chunk within a single tick, which on a large server caused exactly the lag spike Auto-Unload is meant to prevent. The scan is now spread over several ticks with a configurable budget (new section `chunk-scan`). Set `chunk-scan.time-sliced: false` to get the old behaviour back. - `/clearlag chunkfinder` now also shows how many items and how many mobs are in each chunk, so you can tell at a glance whether a hot chunk is a dropped-item pile or a mob farm. - `/clearlag clear` with an invalid type now shows the correct usage instead of silently doing nothing and reporting "0 entities removed". ### Removed: - Nothing removed in this version.
beta

ClearLag++ 1.12.5

1.12.5
15 авг. 2026 г.8,5 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - Nothing new in this release. ### Fixed: - Item merging removed dropped items silently. When two stacks of the same item were merged, the absorbed one was deleted without announcing it, so other plugins were never told and could not prevent it, and nothing about it appeared in the debug log. It now uses the same removal path as every other feature and is reported as item merging. - The debug log can now be used to rule the plugin out. With that last gap closed, every entity ClearLag deletes is written to the console while debug mode is on, without exception. If something disappears from your world and no removal line appears for it, ClearLag was not the cause — which makes it far quicker to tell whether a missing mob or item is down to this plugin, another plugin, or your server settings. ### Removed: - Nothing removed in this release.
beta

ClearLag++ 1.12.4

1.12.4
11 авг. 2026 г.2,5 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### aAdded: - Every entity ClearLag deletes is now written to the console while debug mode is on, together with the feature that caused it — scheduled clear, manual clear, kill mobs, AI-Optimization, mob spawn limiter, mob stacking, projectile limiter or nuke — plus the entity type, its custom name and its coordinates. Until now the debug output only ever reported what was kept, so a report of "ClearLag removed my mob" could neither be confirmed nor ruled out. If something disappears and no removal line appears for it, ClearLag was not the cause. - Dropped items are now reported with their actual item type instead of just "item", so they can be matched directly against the excluded items list. - The reason a mob was spared is now named in the log: whether it survived because it has a custom name, because it is breedable, or because it carries the exclusion tag. ### Fixed: - Mob stacking removed mobs without announcing it, so other plugins were never told and could not prevent the removal, and nothing about it appeared in any log. It now uses the same removal path as every other feature. - The debug line for a spared mob was easy to mistake for a removal notice — it looked like a deletion but was in fact printed the moment a mob was protected. It now states clearly that the mob was kept. - Removal messages for AI-Optimization and for item clearing were written before the removal was actually carried out, so they could report removals that never happened. - The version number reported by the plugin did not match the release it shipped in, which made it impossible to tell from the version alone whether a fix was included. ### Removed: - The separate removal messages for AI-Optimization and for item clearing. Both are replaced by the single unified removal message, which reports the same information in one place. The distance that triggered an AI-Optimization despawn is still included there.
beta

ClearLag++ 1.12.3

1.12.3
8 авг. 2026 г.2 тыс.Minecraft: 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2bukkit, paper, purpur, spigot
Скачать
Что нового
# Changelogs: ### Added: - Debug logging `[AIOptRemove]` for AI-Optimization mob despawns including location coordinates and player distance. - Debug logging `[ClearItem]` for item auto-clear decisions (`kept (excluded)` / `removed`). ### Fixed: - Issue where entities in `auto-clear.excluded-entities` were still being removed by AI-Optimization distance despawns when `use-exclude-lists: true`. ### Removed: - Legacy `[DEBUG] Removed mob:` debug log format in favor of structured `[AIOptRemove]` logs.