🧹 CleanGround Pro — 下一代 Folia、Paper 及 Spigot 延迟清理器 (v1.1.0)
支持的服务器加载器: Bukkit • Spigot • Paper • Purpur • Folia(原生区域化多线程)
支持的 Minecraft 版本: 所有 35 个稳定版本,从 1.16.5 到 26.3(1.16.5 – 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3)
CleanGround Pro 是一款超轻量级(约 50 KB)、零崩溃的地面物品与实体优化引擎,旨在现代多线程的 Folia、Paper、Purpur、Spigot 和 Bukkit 服务器上超越传统的 ClearLag 插件性能——且绝不会永久删除玩家意外掉落或死亡掉落的物品!
🏆 CleanGround Pro 与传统 ClearLag 插件对比
| 特性 |
CleanGround Pro v1.1.0 |
传统 ClearLag 插件 |
通用 1.16.5 – 26.3 单 JAR |
✅ 全部 35 个版本(无字节码陷阱) |
❌ 低于 <1.20 时失效或在 26.x 上崩溃 |
| 真正的 Folia 区域多线程 + 精确计数器屏障 |
✅ 100% 区域安全 |
❌ 崩溃或报告清除数量为 0 |
| 纯 Spigot / CraftBukkit 兼容性 |
✅ 零未隔离 Adventure 异常 |
❌ Spigot 上出现 NoClassDefFoundError |
♻️ 54 格 swept 物品回收箱 (/cg trash) |
✅ 免费包含 |
❌ 被删除的物品永久丢失 |
🛡️ 自动死亡掉落保护盾(默认 180s) |
✅ 内置 PDC 保护 |
❌ 在玩家跑回途中扫走死亡掉落物 |
🔍 Folia 安全的区块延迟热点检查器 (/cg hotspots) |
✅ 显示最卡顿的前 5 个区块 |
❌ 缺失功能或在 Folia 上崩溃 |
| 🎯 实时倒计时 BossBar + ActionBar 警报 |
✅ 零聊天垃圾信息 |
❌ 刷屏玩家聊天窗口 |
✨ 旗舰功能
1. ♻️ 54 格 swept 物品回收箱 (/cg trash)
- 扫描过程中清除的每个非白名单地面物品都会自动捕获到一个环形缓冲区的 54 格回收箱 GUI 中(自动合并相同的堆叠!)。
- 拥有
cleanground.trash(可配置)权限的玩家或管理员可以运行 /cg trash 来救援误扫的物品——消除玩家挫败感和员工退款工单!
2. 🛡️ 智能物品与死亡掉落保护
- 死亡掉落保护盾:使用
PersistentDataContainer 自动标记玩家死亡时掉落的每个物品达 180 秒(protect-death-drops-seconds),并在拾取时干净地移除标签,使堆叠保持 100% 可堆叠性!
cleanground.bypass 强制执行:拥有 cleanground.bypass 权限的玩家掉落的物品不受扫描影响。
- 内置贵重物品白名单:自动保留钻石、下界合金装备、鞘翅、不死图腾、信标、潜影盒、附魔物品、自定义命名物品、带有 lore 的物品以及刚掉落的物品(
minimum-age-ticks: 100)。
3. 🔍 Folia 安全的区块延迟热点检查器 (/cg hotspots)
- 扫描所有世界中已加载的区块(在 Folia 上使用 Folia 的
RegionScheduler),并输出实体最多和物品最多的前 5 个最高延迟区块,附带确切的世界名称和 X, Z 坐标,以便管理员立即定位失控的刷怪农场和延迟机器。
4. ⚡ 智能敌对生物削减与紧急低 TPS 保护盾
- 限制每个区块内的敌对生物数量(
max-hostiles-per-chunk: 25),同时严格保护命名生物、驯服宠物、村民、流浪商人以及 Boss(凋灵、末影龙、远古守卫者、监守者)。
- 运行
/cg cullmobs 以削减超过区块限制的多余敌对生物,而不触碰地面物品。
- 当服务器 TPS 降至
17.5 以下时自动触发紧急清理(可配置冷却时间)。
5. 🎯 视觉倒计时 BossBar 与零垃圾信息 ActionBar 警报
- 在扫描最后 10 秒内显示实时递减的倒计时 BossBar(在剩余 3 秒时从黄色变为红色),配合 ActionBar 倒计时警报和跨版本音效提示(
1.16.5–26.3)。
💻 命令与权限
基础命令: /cleanground(别名:/cg, /clearlag, /cl, /groundcleaner)
| 命令 |
权限 |
描述 |
/cg trash [clear] |
cleanground.trash |
打开 54 格 swept 物品回收箱 GUI(clear 需要管理员权限) |
/cg sweep |
cleanground.admin |
强制立即清理地面物品、投射物和实体 |
/cg cullmobs |
cleanground.admin |
削减超过区块限制的多余敌对生物(保留地面物品) |
/cg hotspots |
cleanground.admin |
检查所有世界中最卡顿的前 5 个区块(Folia 安全) |
/cg count |
cleanground.admin |
查看引擎状态、实时 TPS、下次扫描计时器、回收箱计数及区块统计 |
/cg pause / /cg resume |
cleanground.admin |
临时暂停或恢复计划中的扫描任务 |
/cg reload |
cleanground.admin |
热重载 config.yml、计时器和回收箱设置 |
额外权限: cleanground.bypass —— 拥有此权限的玩家掉落的物品永远不会被清扫。
🧩 PlaceholderAPI 扩展 (%cleanground_*%)
| 占位符 |
输出 |
%cleanground_time_left% / %cleanground_time_formatted% |
剩余秒数(142)或格式化时间(MM:SS,如 02:22) |
%cleanground_last_removed% / %cleanground_last_items% / %cleanground_last_mobs% |
最近一次清理周期的总数 |
%cleanground_last_vehicles% / %cleanground_total_sweeps% |
上次扫描清除的空载具 / 终生扫描次数 |
%cleanground_ground_items% / %cleanground_trash_count% |
活跃的地面物品 / 当前存储在回收箱中的物品数量 |
%cleanground_tps% / %cleanground_engine% |
实时服务器 TPS(20.00)及运行时环境(Folia, Purpur, Paper, Spigot) |
%cleanground_status% / %cleanground_paused% |
扫描器状态(Active, Paused, Disabled) |
⚙️ 配置预览
点击查看默认的 config.yml(可从 v1.0.0 安全自动迁移)
清理:
启用: true
间隔秒数: 300
警告时间: [60, 30, 10, 3, 2, 1]
移除空载具: true
移除投射物: true
移除经验球: false
倒计时 Boss 栏秒数: 10
动作栏警告: true
回收箱:
启用: true
大小: 54
允许玩家领取: true
物品过滤:
保护死亡掉落秒数: 180
保护命名物品: true
保护自定义描述: true
保护附魔物品: true
最小存在刻数: 100
生物清除:
启用: true
每区块最大敌对生物: 25
在清理时执行: true
保护命名生物: true
保护驯服生物: true
保护村民: true
保护 Boss: true
TPS 保护:
启用: true
TPS 阈值: 17.5
冷却秒数: 180
🧹 CleanGround Pro — Next-Gen Folia, Paper & Spigot Lag Cleaner (v1.1.0)
Supported Server Loaders: Bukkit • Spigot • Paper • Purpur • Folia (Native Regionized Multi-Threading)
Supported Minecraft Releases: All 35 Stable Releases from 1.16.5 through 26.3 (1.16.5 – 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3)
CleanGround Pro is an ultra-lightweight (~50 KB), zero-crash ground item and entity optimization engine engineered to outperform legacy ClearLag plugins on modern multithreaded Folia, Paper, Purpur, Spigot, and Bukkit servers — without ever permanently deleting players' accidental drops or death loot!
🏆 CleanGround Pro vs. Legacy ClearLag Plugins
| Feature |
CleanGround Pro v1.1.0 |
Legacy ClearLag Plugins |
Universal 1.16.5 – 26.3 Single JAR |
✅ All 35 Releases (0 Bytecode Traps) |
❌ Drops <1.20 or crashes on 26.x |
| True Folia Region Multi-Threading + Exact Counter Barrier |
✅ 100% Region-Safe |
❌ Crashes or reports 0 cleared |
| Pure Spigot / CraftBukkit Compatibility |
✅ Zero Unisolated Adventure |
❌ NoClassDefFoundError on Spigot |
♻️ 54-Slot Swept Item Recovery Bin (/cg trash) |
✅ Included Free |
❌ Deleted items are lost forever |
🛡️ Automatic Death-Drop Shield (180s Default) |
✅ Built-In PDC Protection |
❌ Sweeps player death loot mid-runback |
🔍 Folia-Safe Chunk Lag Hotspot Inspector (/cg hotspots) |
✅ Top 5 Laggiest Chunks |
❌ Missing or crashes Folia |
| 🎯 Live Countdown BossBar + ActionBar Alerts |
✅ Zero Chat Spam |
❌ Floods player chat |
✨ Flagship Features
1. ♻️ 54-Slot Swept Item Recovery Bin (/cg trash)
- Every non-whitelisted ground item cleared during a sweep is automatically captured into a ring-buffered 54-slot Recovery Bin GUI (auto-merging identical stacks!).
- Players with
cleanground.trash (configurable) or admins can run /cg trash to rescue accidentally swept items — eliminating player frustration and staff refund tickets!
2. 🛡️ Smart Item & Death-Drop Protection
- Death-Drop Shield: Automatically tags every item dropped on player death for
180 seconds (protect-death-drops-seconds) using PersistentDataContainer, then strips the tag cleanly on pickup so stacks stay 100% stackable!
cleanground.bypass Enforcement: Items dropped by players with cleanground.bypass are immune to sweeps.
- Built-in Valuable Whitelist: Automatically preserves Diamonds, Netherite gear, Elytras, Totems, Beacons, Shulker Boxes, enchanted items, custom-named items, lore items, and freshly dropped items (
minimum-age-ticks: 100).
3. 🔍 Folia-Safe Chunk Lag Hotspot Inspector (/cg hotspots)
- Scans loaded chunks across all worlds (using Folia's
RegionScheduler when on Folia) and outputs the Top 5 highest-entity and highest-item chunks with exact world names and X, Z coordinates so admins immediately locate runaway mob farms and lag machines.
4. ⚡ Smart Hostile Mob Culling & Emergency Low-TPS Shield
- Caps hostile mobs per chunk (
max-hostiles-per-chunk: 25) while strictly protecting named mobs, tamed pets, villagers, wandering traders, and bosses (Wither, Ender Dragon, Elder Guardian, Warden).
- Run
/cg cullmobs to cull excess hostile mobs without touching ground items.
- Automatically triggers an emergency cleanup when server TPS drops below
17.5 (configurable cooldown).
5. 🎯 Visual Countdown BossBar & Zero-Spam ActionBar Alerts
- Displays a live depleting Countdown BossBar during the final 10 seconds before a sweep (shifting from yellow to red at 3 seconds), paired with ActionBar countdown alerts and cross-version sound cues (
1.16.5–26.3).
💻 Commands & Permissions
Base Command: /cleanground (Aliases: /cg, /clearlag, /cl, /groundcleaner)
| Command |
Permission |
Description |
/cg trash [clear] |
cleanground.trash |
Open the 54-slot Swept Item Recovery Bin GUI (clear requires admin) |
/cg sweep |
cleanground.admin |
Force an immediate ground item, projectile & entity cleanup |
/cg cullmobs |
cleanground.admin |
Cull excess hostile mobs over chunk limits (preserves ground items) |
/cg hotspots |
cleanground.admin |
Inspect the Top 5 laggiest chunks across all worlds (Folia-safe) |
/cg count |
cleanground.admin |
View Engine, live TPS, next sweep timer, Recovery Bin count & chunk stats |
/cg pause / /cg resume |
cleanground.admin |
Temporarily pause or resume scheduled sweeps |
/cg reload |
cleanground.admin |
Hot-reload config.yml, timers, and Recovery Bin settings |
Extra Permission: cleanground.bypass — Items dropped by players with this permission are never swept.
🧩 PlaceholderAPI Expansion (%cleanground_*%)
| Placeholder |
Output |
%cleanground_time_left% / %cleanground_time_formatted% |
Seconds remaining (142) or MM:SS (02:22) |
%cleanground_last_removed% / %cleanground_last_items% / %cleanground_last_mobs% |
Totals from the most recent cleanup cycle |
%cleanground_last_vehicles% / %cleanground_total_sweeps% |
Empty vehicles cleared last sweep / lifetime sweep count |
%cleanground_ground_items% / %cleanground_trash_count% |
Active ground items / items currently stored in Recovery Bin |
%cleanground_tps% / %cleanground_engine% |
Live server TPS (20.00) & runtime (Folia, Purpur, Paper, Spigot) |
%cleanground_status% / %cleanground_paused% |
Sweeper status (Active, Paused, Disabled) |
⚙️ Configuration Preview
Click to view default config.yml (auto-migrates safely from v1.0.0)
sweep:
enabled: true
interval-seconds: 300
warning-times: [60, 30, 10, 3, 2, 1]
remove-empty-vehicles: true
remove-projectiles: true
remove-xp-orbs: false
countdown-bossbar-seconds: 10
actionbar-warnings: true
recovery-bin:
enabled: true
size: 54
allow-player-claim: true
item-filter:
protect-death-drops-seconds: 180
protect-named: true
protect-lore: true
protect-enchanted: true
minimum-age-ticks: 100
mob-culling:
enabled: true
max-hostiles-per-chunk: 25
cull-during-sweep: true
protect-named: true
protect-tamed: true
protect-villagers: true
protect-bosses: true
tps-protection:
enabled: true
tps-threshold: 17.5
cooldown-seconds: 180
评论 0
登录后参与评分
还没有评论,来抢沙发吧