X-ClearLag
支持 Folia 的下一代实体清理方案,具备邻近保护与多语言模块化任务功能
? 描述
X-ClearLag 是为现代服务器打造的终极专业级实体管理解决方案。完全从头重构,提供 原生 Folia 兼容性、精确到秒的任务调度以及高级性能优化。通过全新的 邻近保护系统 保护玩家体验,在卡顿飙升时利用基于 TPS 的紧急清理自动干预,并使用 交互式区块检查器 平滑监控你的世界。
这一切都不会产生任何烦人的控制台警告。支持 Spigot、Paper、Purpur 和 Folia (1.8.x - 26.1)。
⚡ 主要命令
/xcl [子命令] (别名: /clearlag, /xclearlag)
help - 显示交互式帮助菜单。
reload - 热重载配置文件和语言文件。
clear - 手动立即触发主要的清理任务。
inspect - 打开 交互式区块检查器 以查找实体聚集点。
clearchunk <world> <x> <z> - 清除指定区块内的所有实体。
tpchunk <world> <x> <z> - 瞬间传送至指定的区块坐标。
update - 检查最新的 X-ClearLag 更新。
⭐ 核心功能
- Folia 与下一代支持 — 100% 兼容 Folia 的区域线程模型。专为极致性能打造。
- 玩家邻近保护 — 智能忽略紧邻活跃玩家掉落的物品和实体。
- TPS 监控与自动清理 — 服务器卡顿?X-ClearLag 会检测 TPS 下降并自动触发紧急手术式清理。
- 批量处理与防尖峰 — 在多个刻内以受控的批次移除数千个实体,防止经典的“清道夫导致服务器冻结”现象。
- 交互式区块检查器 — 查看负载最重的前 12 个区块,并通过交互式聊天点击进行管理。
- 内部通知与 PAPI — 直接在配置中使用
[TITLE], [ACTIONBAR], [BROADCAST], [SOUND]。完全支持 PlaceholderAPI。
- BossBar 倒计时 — 在最后 60 秒内为玩家提供优雅的视觉倒计时条(需要 1.9+)。
- 基于任务架构 — 创建无限数量的独立清理任务。例如,每 5 分钟运行一次掉落物清理,每 30 分钟运行一次
save-all。
- 细粒度保护 — 通过名称标签、拴绳状态、类型白名单或世界黑名单来保护生物。
? 多语言支持
- English —
en
- Español —
es
- Português —
pt
- 日本語 —
ja
- Русский —
ru
- Custom —
custom
? 权限
xclearlag.admin.* — 授予所有管理员权限(默认:OP)。
xclearlag.admin.reload — 访问 /xcl reload。
xclearlag.admin.clear — 访问 /xcl clear。
xclearlag.admin.inspect — 访问 /xcl inspect。
xclearlag.admin.clearchunk — 访问 /xcl clearchunk。
xclearlag.admin.tpchunk — 访问 /xcl tpchunk。
xclearlag.admin.update — 访问 /xcl update。
xclearlag.bypass — 绕过倒计时消息(默认:false)。
xclearlag.notify — 接收清理通知(默认:true)。
? 开发者 API
X-ClearLag 提供了一个轻量级 API,供其他插件与清理引擎交互。支持自定义事件如 XPreClearEvent(可取消)和 XPostClearEvent,使您能够在关键时刻阻止清理或轻松跟踪性能指标。包含完整的 PlaceholderAPI 支持!
⚙️ 配置示例
[!TIP]
这是一个基本示例。有关每个设置和模块的完整说明,请访问我们的 官方 Wiki。
prefix: "&8[&bX-ClearLag&8] &7"
language: "en"
tps-check:
enabled: true
threshold: 16.0
interval: 60
task-to-run: ["clearlag"]
bossbar:
enabled: false
color: "RED"
style: "SOLID"
tasks:
clearlag:
enabled: true
interval: 300
min-players: 3
remove-drops: true
protect-named: true
protect-leashed: true
protect-near-player: false
near-player-radius: 16
countdown: [60, 30, 10, 5, 3, 2, 1]
countdown-commands:
60:
- '[TITLE] &b&lX-ClearLag'
- '[SUBTITLE] &7清理将在 &c60秒后开始'
- '[SOUND] NOTE_PLING'
10:
- '[ACTIONBAR] &e实体将在 &c10秒内被移除&e!'
entities: [ARROW, SNOWBALL, EXPERIENCE_ORB]
protected-entities: [PLAYER, VILLAGER, ARMOR_STAND]
commands: []
optimizations:
batch-size: 100
chunks-per-tick: 40
---
<div align="center">
需要帮助?加入我们的 <a href="https://discord.com/invite/Yb6GsfGWmd">Discord 社区</a> 或阅读 <a href="https://wiki-x-proyects.vercel.app/">官方 Wiki</a>!
</div>
X-ClearLag
Next-generation entity cleanup with Folia support, proximity protection, and multi-language modular tasks
? Description
X-ClearLag is the ultimate, professional-grade entity management solution for modern servers. Completely rebuilt from the ground up, it offers native Folia compatibility, wall-clock precision tasks, and advanced performance optimizations. Protect your players' experience with the brand-new Proximity Protection system, automatically intervene during lag spikes with TPS-based emergency cleanups, and monitor your world smoothly using the Interactive Chunk Inspector.
All of this without a single annoying console warning. Supports Spigot, Paper, Purpur, and Folia (1.8.x - 26.1).
⚡ Main Commands
/xcl [subcommand] (Aliases: /clearlag, /xclearlag)
help - Shows the interactive help menu.
reload - Hot-reloads configuration and language files.
clear - Manually triggers the main cleanup tasks instantly.
inspect - Opens the Interactive Chunk Inspector to hunt down entity clusters.
clearchunk <world> <x> <z> - Wipes all entities from a targeted chunk.
tpchunk <world> <x> <z> - Teleports instantly to a specific chunk coordinate.
update - Checks for the latest X-ClearLag updates.
⭐ Key Features
- Folia & Next-Gen Support — 100% compatible with Folia's regional threading model. Built for elite performance.
- Player Proximity Protection — Smartly ignores dropped items and entities that are right next to your active players.
- TPS Monitor & Auto-Cleanup — Server lagging? X-ClearLag detects TPS drops and automatically triggers an emergency surgical cleanup.
- Batch Processing & Anti-Spike — Removes thousands of entities in controlled batches over multiple ticks, preventing the classic "clearlag server freeze".
- Interactive Chunk Inspector — View the Top 12 busiest chunks and manage them through interactive chat clicks.
- Internal Notifications & PAPI — Use
[TITLE], [ACTIONBAR], [BROADCAST], [SOUND] directly in config. Full PlaceholderAPI support.
- BossBar Countdown — Elegant visual countdown bar for players during the last 60s (Requires 1.9+).
- Task-Based Architecture — Create unlimited independent cleanup tasks. Make one run every 5 mins for drops, and another every 30 mins to run
save-all.
- Granular Protection — Secure mobs by name-tag, leash state, type whitelist, or world blacklists.
? Multi-Language Support
- English —
en
- Español —
es
- Português —
pt
- 日本語 —
ja
- Русский —
ru
- Custom —
custom
? Permissions
xclearlag.admin.* — Grants all admin permissions (Default: OP).
xclearlag.admin.reload — Access to /xcl reload.
xclearlag.admin.clear — Access to /xcl clear.
xclearlag.admin.inspect — Access to /xcl inspect.
xclearlag.admin.clearchunk — Access to /xcl clearchunk.
xclearlag.admin.tpchunk — Access to /xcl tpchunk.
xclearlag.admin.update — Access to /xcl update.
xclearlag.bypass — Bypass countdown messages (Default: false).
xclearlag.notify — Receive cleanup notifications (Default: true).
? Developer API
X-ClearLag provides a lightweight API for other plugins to interact with the cleanup engine. Support for custom events like XPreClearEvent (cancellable) and XPostClearEvent allows you to prevent cleanups during critical moments or track performance metrics easily. Full PlaceholderAPI support included!
⚙️ Configuration Example
[!TIP]
This is a basic example. For a full explanation of every setting and module, please visit our Official Wiki.
prefix: "&8[&bX-ClearLag&8] &7"
language: "en"
tps-check:
enabled: true
threshold: 16.0
interval: 60
task-to-run: ["clearlag"]
bossbar:
enabled: false
color: "RED"
style: "SOLID"
tasks:
clearlag:
enabled: true
interval: 300
min-players: 3
remove-drops: true
protect-named: true
protect-leashed: true
protect-near-player: false
near-player-radius: 16
countdown: [60, 30, 10, 5, 3, 2, 1]
countdown-commands:
60:
- '[TITLE] &b&lX-ClearLag'
- '[SUBTITLE] &7Cleanup in &c60s'
- '[SOUND] NOTE_PLING'
10:
- '[ACTIONBAR] &eEntities removed in &c10s&e!'
entities: [ARROW, SNOWBALL, EXPERIENCE_ORB]
protected-entities: [PLAYER, VILLAGER, ARMOR_STAND]
commands: []
optimizations:
batch-size: 100
chunks-per-tick: 40
评论 0
登录后参与评分
还没有评论,来抢沙发吧