
Saro's Clearlag 是一款强大的服务端优化模组,旨在通过自动清除导致卡顿的实体来保持 Minecraft 服务器的流畅运行。借助高度可自定义的间隔时间、黑名单和白名单,你可以完全控制哪些实体会被清除以及何时清除。非常适合原版和整合包服务器!

-
自动实体清除 ?
- 设置自定义间隔以自动清除实体,保持服务器无卡顿。
- 可配置的警告系统会在实体被清除前提醒玩家。
-
智能过滤系统 ?
- 选择黑名单或白名单模式以实现精确控制。
- 保护特定类型的实体不被清除。
- 完全支持来自任何模组的模组实体!
-
高级保护机制 ?️
- 自动保护命名实体(如命名的宠物)。
- 确保驯服的动物免受清除影响。
- 保护拴绳实体。
- 设置围绕玩家的保护半径。
-
灵活配置 ⚙️
- 配置要清除的实体类型:物品、生物、投射物、船只、矿车、经验球。
- 自定义警告消息和清除通知。
- 通过易于使用的配置文件调整所有设置。
-
仅服务端 ?️
- 客户端无需安装该模组即可连接!
- 非常适合服务器管理员。
- 也可用于客户端以优化单人游戏。
可清除实体类别:
- 物品 ?:掉落在地上的物品
- 敌对生物 ?:僵尸、骷髅、苦力怕等
- 投射物 ?:箭矢、雪球和其他投掷物
- 载具 ?:船只和矿车
- 经验球 ✨:挖矿和击杀生物掉落的经验球
- 自定义模组实体 ?:完全支持来自其他模组的实体!
所有命令都需要 OP 等级 2(操作者权限)
/clearlag clear:立即手动清除实体/clearlag info:显示当前配置设置/clearlag count:统计将被清除的实体数量/clearlag timer:显示距离下次自动清除剩余的时间/clearlag reset:重置自动清除计时器/clearlag reload:从文件重新加载配置/clearlag help:显示命令帮助信息
配置文件位置:
配置文件自动生成于:config/sarosclearlag-common.toml
关键配置选项:
自动清除设置:
- 启用/禁用自动清除
- 设置清除间隔(30-3600 秒)
- 配置警告消息和时间
实体过滤:
- 选择黑名单或白名单模式
- 使用格式添加实体类型:
minecraft:entity_type或modid:entity_type - 示例:
minecraft:zombie,minecraft:item,create:contraption
保护设置:
- 保护命名实体
- 保护驯服动物
- 保护拴绳实体
- 设置围绕玩家的保护半径
消息自定义:
- 自定义清除消息(使用
{count}表示实体数量) - 自定义警告消息(使用
{time}表示剩余秒数) - 启用/禁用广播消息
用例示例:
? 生存服务器:每 5 分钟清除掉落物品和敌对生物,同时保护命名宠物和玩家附近的物品。
?️ 创造服务器:仅清除投射物和经验球,以防止玩家实验造成的卡顿。
⚔️ PvP 服务器:频繁清除物品和生物,但利用保护半径保护玩家附近的物品。

目前支持
- Forge 1.20.1 ✅
更多版本即将推出!
加入我们的 Discord 社区,提供反馈和建议,或报告你发现的任何错误!
项目支持与用法
托管服务: 为了获得最佳性能,我建议使用横幅中链接的 BisectHosting。
整合包: 你可以自由地将我的工作包含在任何整合包中。请确保通过提供指向此项目页面的链接来给予适当的署名。

Saro's Clearlag is a powerful server-side optimization mod designed to keep your Minecraft server running smoothly by automatically clearing lag-causing entities. With highly customizable intervals, blacklists, and whitelists, you have complete control over what gets cleared and when. Perfect for both vanilla and modded servers!

-
Automatic Entity Clearing ?
- Set custom intervals to automatically clear entities and keep your server lag-free.
- Configurable warning system alerts players before entities are cleared.
-
Smart Filtering System ?
- Choose between blacklist or whitelist mode for precise control.
- Protect specific entity types from being cleared.
- Full support for modded entities from any mod!
-
Advanced Protection ?️
- Automatically protect named entities (like named pets).
- Keep tamed animals safe from clearing.
- Protect leashed entities.
- Set protection radius around players.
-
Flexible Configuration ⚙️
- Configure which entity types to clear: items, mobs, projectiles, boats, minecarts, XP orbs.
- Customize warning messages and clear notifications.
- Adjust all settings via easy-to-use config file.
-
Server-Side Only ?️
- Clients don't need the mod installed to connect!
- Perfect for server administrators.
- Can also be used client-side for single-player optimization.
Clearable Entity Categories:
- Items ?: Dropped items on the ground
- Hostile Mobs ?: Zombies, skeletons, creepers, and more
- Projectiles ?: Arrows, snowballs, and other thrown items
- Vehicles ?: Boats and minecarts
- Experience Orbs ✨: XP orbs from mining and mob kills
- Custom Mod Entities ?: Full support for entities from other mods!
All commands require OP level 2 (operator permissions)
/clearlag clear: Manually clear entities immediately/clearlag info: Display current configuration settings/clearlag count: Count how many entities would be cleared/clearlag timer: Show time remaining until next automatic clear/clearlag reset: Reset the automatic clear timer/clearlag reload: Reload configuration from file/clearlag help: Display command help
Configuration File Location:
The config file is automatically generated at: config/sarosclearlag-common.toml
Key Configuration Options:
Auto-Clear Settings:
- Enable/disable automatic clearing
- Set interval between clears (30-3600 seconds)
- Configure warning messages and timing
Entity Filtering:
- Choose blacklist or whitelist mode
- Add entity types using format:
minecraft:entity_typeormodid:entity_type - Examples:
minecraft:zombie,minecraft:item,create:contraption
Protection Settings:
- Protect named entities
- Protect tamed animals
- Protect leashed entities
- Set protection radius around players
Message Customization:
- Customize clear messages (use
{count}for entity count) - Customize warning messages (use
{time}for seconds remaining) - Enable/disable broadcast messages
Example Use Cases:
? Survival Server: Clear dropped items and hostile mobs every 5 minutes while protecting named pets and items near players.
?️ Creative Server: Clear only projectiles and XP orbs to prevent lag from player experiments.
⚔️ PvP Server: Clear items and mobs frequently but protect items near players with a protection radius.

Currently Supported
- Forge 1.20.1 ✅
More versions coming soon!
Join our community on Discord to give feedback and suggestions or report any bugs you find!
Project Support & Usage
Hosting: For the best performance, I recommend using BisectHosting linked in the banner.
Modpacks: You are free to include my work in any modpack. Please ensure proper credit is given by providing a link to this project page.
下载 Saro´s Clearlag
下载 Saro´s Clearlag
下载 Saro´s Clearlag
下载 Saro´s Clearlag
下载 Saro´s Clearlag
下载 Saro´s Clearlag
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!

评论 0
登录后参与评分
还没有评论,来抢沙发吧