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
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 X-Clearlag
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
? X-Clearlag v1.8 - 更新日志
✨ 新功能
- 调试系统:新增
/xcl debug命令,可在运行时切换调试模式,并附带一个DebugLogger,记录详细的内部操作信息,便于故障排查。 - PlaceholderAPI 扩展:新增
%xclearlag_tps%、%xclearlag_last_removed%、%xclearlag_total_removed%以及%xclearlag_next_clear_<task>%占位符。 - 配置文件自动更新与备份:当配置文件版本发生变化时,会在生成新配置之前将旧配置备份为
config_old.yml。 - 更新检查器:在插件启动时检查 SpigotMC API 以获取新版本。
- Adventure MiniMessage 颜色支持:内部颜色系统升级,改用 Adventure 的 MiniMessage 以实现更好的格式排版。
- 共享依赖目录:Libby 现在会将运行时库下载至
plugins/X-API/,使得所有 X 系列插件共享依赖项,而非各自拥有独立的副本。 - 使用标准化的日志格式更新了启动消息。
- Tab 补全命令隐藏:属于自身命名空间的命令(
xclearlag:*、x-clearlag:*)现在对玩家的 Tab 补全功能隐藏。 - 标准化了插件生命周期(onEnable/onDisable),包含完善的错误处理及优雅降级机制。
? 修复内容
- 调试系统现在会将消息发送给通过命令开启调试的玩家,并且仅当通过配置文件启用时才发送至控制台。命令响应现在使用
config.yml中定义的前缀。 - 调试消息现在采用以下格式包含插件名称:
[DEBUG] [X-Clearlag] [类别] 消息。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
评论 0
登录后参与评分
还没有评论,来抢沙发吧