
占位符
| 占位符 |
功能 |
说明 |
| %clearlag_nextclear% |
下次清理时间 |
显示距离下一次计划的自动实体清理的剩余时间。输出格式为可读形式,例如 5m 30s(5 分 30 秒) |
| %clearlag_nextclear_seconds% |
下次清理时间的扩展 |
显示距离下一次计划的自动实体清理的剩余时间。仅以秒为单位显示 |
| %clearlag_autoclear_enabled% |
显示自动清理开启/关闭状态 |
显示自动清理是否处于开启或关闭状态 |
| %clearlag_autoclear_interval% |
显示自动清理的时间间隔 |
显示设置的自动清理时间间隔 |
| %clearlag_lastclear_items% |
显示上次自动清理的物品统计 |
显示在自动清理期间移除的物品数量。 |
| %clearlag_lastclear_entities% |
仅显示上次自动清理的实体 |
上次自动清理中移除的实体确切数量(不包括物品) |
| %clearlag_lastclear_total% |
显示上次清理中删除的内容总量 |
上次清理中移除的所有实体的总数(物品 + 其他实体) |
| %clearlag_stats% |
上次清理统计 |
显示在最近一次自动或手动清理操作中移除的实体数量。示例输出:已移除 150 个实体 |
| %clearlag_entity_total% |
实体总数(服务器) |
提供服务器上所有世界中当前加载的所有实体的绝对数量。 |
| %clearlag_entity_world_<worldname>% |
实体数量(按世界) |
显示特定世界中的实体数量,通过将 <worldname> 替换为实际世界名称来实现。你也可以使用占位符 %clearlag_entities_in_world_<worldname>%,功能相同。例如,%clearlag_entity_world_world_nether% 将仅显示下界中的实体数量 |
| %clearlag_dropped_items_total% |
掉落物总数 |
当前在所有世界中地面上存在的掉落物实体的总数 |
| %clearlag_ram% |
内存使用情况 |
报告服务器的当前 Java 虚拟机 (JVM) 内存使用情况。通常显示已用内存与总分配内存的比例,单位为兆字节 (MB)。示例输出:1024.55 MB / 2048 MB |
| %clearlag_mobs_total% |
生物总数(怪物) |
所有活体生物(动物和怪物,不包括玩家、物品等)的总数 |
| %clearlag_loaded_chunks% |
已加载区块总数 |
服务器上已加载区块的总数 |
| %clearlag_chunkunload_threshold% |
显示设置多少生物后卸载区块 |
显示用于自动区块卸载的实体阈值设置。 |
| %clearlag_lastunload_chunks% |
显示在自动卸载扫描期间卸载的区块总数 |
在自动卸载扫描过程中卸载的所有区块的总数 |
English
ClearLag++:
Minecraft 服务器的 ClearLag++ 插件是一款强大的工具,旨在提升服务器性能并全面解决卡顿问题。它提供了多种智能功能,确保服务器运行流畅且稳定。
智能实体管理
自动清理:
在可配置的时间后自动移除掉落的物品和实体,并带有可见的倒计时。
- 全面保护: 排除对命名生物、养殖生物以及带有记分板标签的生物进行清理。
- 死亡后 & 近期活动保护: 保护死亡掉落物以及在玩家附近掉落的物品,保护时长可配置。
- 智能堆叠: 合并超过正常上限(64)的物品,并将不可堆叠的物品(如药水)分组,以保持实体数量低位。
- 清理特效: 在实体被清理时添加可配置的粒子效果和声音,使过程更加无缝自然。
定向移除:
管理员可以使用 /clearlag killmobs 或 /clearlag nuke 命令选择性移除敌对生物、被动生物或所有生物。
高级性能优化
红石 & 物理优化:
限制红石组件的更新速率,防止因大量下落方块事件(沙/砾石)或活塞机械装置导致的卡顿。
实体 & 方块实体限制器:
对每个区块和全局范围内的物品展示框、盔甲架、载具、投射物以及方块实体(漏斗、箱子、刷怪笼)设置严格限制。
生物生成 & 繁殖限制器:
控制自然生成速率,并通过限制每个区块的动物数量来防止因繁殖导致的卡顿。
AI 优化(基于距离的消失):
移除距离所有玩家超过可配置距离的生物,消除它们带来的 AI 寻路开销。注意: 这会直接消失该生物本身,而不仅仅是关闭其 AI。命名、繁殖、标记、驯服和拴绳的生物默认会被排除,且游戏本身永远不会消失的生物始终保留。
环境与连接控制:
限制火焰蔓延、液体流动和传送门的使用。包含一个基于 ProtocolLib 的数据包速率限制器,以阻止因网络导致的延迟。
监控、诊断与动态控制
性能指标与监控:
提供 TPS、MSPT、CPU 占用率和 RAM 使用量的实时统计数据。包含用于实时监控的 BossBar 性能计。
动态视距:
根据实时 TPS 和玩家活动自动调整全服务器的视距和模拟距离。
性能警报与快照:
当性能出现峰值或低于阈值时,通知管理员并自动保存延迟快照(详细报告)。
诊断工具:
区块扫描器可识别实体数量过多的区块,而延迟分析器则突出显示性能瓶颈。启用调试模式后,插件移除的每一个实体都会连同负责该操作的特性一起写入控制台——因此,如果某个实体消失且没有为其显示移除行,您就能立即知道 ClearLag 并非原因。
多世界与时间支持:
具备按世界配置文件和基于时间的规则功能,允许在白天、夜晚或事件模式下设置独特的参数。
按区域规则 (WorldGuard):
将各个区域标记为清除免疫,使其内部的实体在所有清除操作中幸存,并按区域覆盖敌对和被动生物的限额——非常适合市场、竞技场和活动区域。
全面的集成:
原生完整支持 LuckPerms、Discord 网页钩子、PlaceholderAPI、WorldGuard 和 ProtocolLib,以及第三方插件如 MythicMobs、EliteMobs、Nexo、Oraxen、ItemsAdder、LevelledMobs、Citizens、主要全息图和 NPC 插件以及所有常见的生物堆叠插件。
LuckPerms
所有权限/命令均可通过 LuckPerms 进行管理
查看我的其他项目 Modrinth
本插件目前处于 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.
支持
如果有任何问题无法正常工作,您可以通过 Discord
或在我的 SpigotMC 页面上告知我
使用的插件:
下载:
如果您有任何改进建议或新想法,请通过我的 Discord 告诉我
BStats
赞助商:

使用代码 pluginhub 可在 EPYC 和 Ryzen 服务器上享受 10% 折扣

Placeholder
| Placeholder |
Function |
Explanation |
| %clearlag_nextclear% |
Next Clear Time |
Displays 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 nextclear |
Displays the time remaining until the next scheduled automatic entity clear. Only in Seconds will be Displayed |
| %clearlag_autoclear_enabled% |
Show If AutoClear Is On/Off |
Show If AutoClear Is On/Off |
| %clearlag_autoclear_interval% |
Shows the Time of Auto Clear |
Displays the time set for auto clear |
| %clearlag_lastclear_items% |
Shows Stats for last Auto Clear |
Shows how many items were removed during auto clear. |
| %clearlag_lastclear_entities% |
Shows only entitys for last Auto Clear |
The exact number of entities removed during the last auto-clear (excluding items) |
| %clearlag_lastclear_total% |
Shows what was deleted in the last clear |
The total number of all removed entities (items + other) during the last clear |
| %clearlag_stats% |
Last Clear Statistics |
Shows 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_<worldname>% |
Entity Count (Per World) |
Displays the number of entities in a specific world defined by replacing <worldname> You can also use the placeholder %clearlag_entities_in_world_<worldname>%, 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 Count |
The total number of dropped item entities currently lying on the ground across all worlds |
| %clearlag_ram% |
RAM Usage |
Reports 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 Chunks |
The total number of all loaded chunks on the server |
| %clearlag_chunkunload_threshold% |
Shows how many mobs have been set until the chunk is unloaded |
Displays the set entity threshold for automatic chunk unloading. |
| %clearlag_lastunload_chunks% |
Displays the total number of Chunks discharged during the automatic discharge scan |
The 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
Sponsor:

Use Code pluginhub for 10% on both EPYC and Ryzen servers
评论 0
登录后参与评分
还没有评论,来抢沙发吧