

Leaky 能在掉落物泄漏或危险的高密度堆积演变为服务器性能问题之前,检测出有缺陷的农场、物品泄漏以及危险的掉落物浓度。
Leaky 并非定期删除所有掉落物,而是追踪较大的掉落物集群并观察其随时间的行为。这使得它能够区分临时的掉落物爆发与持续泄漏或浪费的农场。
Leaky 还能在大量掉落物存在于世界中时,降低其带来的性能开销。Leaky 仅适用于服务端。
物品泄漏检测
当足够多的掉落物实体聚集在一个区域时,Leaky 会开始将它们作为掉落物集群进行追踪。它监控以下内容:
- 当前掉落物实体数量
- 新到达的物品
- 已消失的物品
- 玩家拾取
- 集群存在时间
新形成的集群会获得短暂的宽限期,以便像破坏几个容器这样的普通事件不会立即被视为泄漏。随后,集群可以进入越来越严重的状态:
已创建 → 观察中 → 可疑 → 泄漏 → 待删除
运作正常且物品浓度较低的农场可以继续正常运行,而不会被归类为泄漏。Leaky 还可以检测到浪费型农场,即由于大量新产出的物品持续消失,导致掉落物数量保持相对稳定的农场。
物品性能优化
大量的掉落物堆积可能在变得大到需要清理之前,就已经造成显著的服务器开销。Leaky 会降低老旧或密集堆积物品的昂贵碰撞、流体和移动处理计算,同时保持新掉落和正在活跃移动的物品的响应速度。
这减少了在调查、收集或等待消失期间,问题性掉落物堆积对服务器的影响。
报告
当 Leaky 检测到问题时,它会报告有关受影响集群的有用信息,包括其大小、状态、活动和位置。聊天中的坐标是可点击的,可快速传送到受影响的区域。
通知可以配置为发送给附近的玩家、服务器管理员、所有人,或者完全禁用。报告的掉落物浓度也可以选择性地使用发光效果进行高亮显示。
自动清理
确认超标的泄漏可以在达到可配置的大小和警告延迟后自动移除。最近的玩家拾取会推迟清理操作,从而帮助保护正在被积极收集的物品。
一个单独设置的更高的紧急阈值可以立即处理可能威胁服务器稳定性的极端掉落物浓度,而无需等待正常的泄漏分类流程。在物品被移除之前,Leaky 会在内存中存储副本至删除历史记录中,允许在同一服务器会话期间检查和恢复最近被删除的集群。
其他功能
- 检测和记录异常庞大的非物品实体浓度
- 检测未加载区块(non-ticking areas)中的极端掉落物浓度
- 可配置的检测、报告、浪费和清理阈值
- 可选的报告掉落物浓度高亮显示
- 支持检测具有持续物品消失的浪费型农场
- 可配置的通知接收者
- 可点击的坐标和检查操作

/leaky status— 显示当前追踪的集群/leaky inspect <id>— 检查特定集群/leaky deleteCluster <id>— 手动移除一个集群/leaky deletionHistory— 查看最近被移除的集群/leaky restore <id> <dimension>— 恢复一个已移除的集群

已知无兼容性问题。Leaky 应能与其他模组共存。
仅需在服务端安装。


Leaky detects broken farms, item leaks and dangerous concentrations of dropped items before they become a server performance problem.
Instead of periodically deleting all dropped items, Leaky tracks larger item clusters and observes how they behave over time. This allows it to distinguish temporary item bursts from continuously leaking or wasteful farms.
Leaky also reduces the performance overhead of large item concentrations while they remain in the world. Leaky is server-side only.
Item leak detection
Once enough dropped item entities gather in an area, Leaky starts tracking them as an item cluster. It monitors:
- current item entity count
- newly arriving items
- despawned items
- player pickups
- cluster lifetime
New clusters receive a short grace period so ordinary events such as breaking several containers are not immediately treated as leaks. Clusters can then progress through increasingly serious states:
Created → Observing → Suspicious → Leak → Pending deletion
Working farms with low item concentrations can continue operating normally without being classified as leaks. Leaky can also detect wasteful farms where the number of dropped items remains relatively stable because a significant portion of newly produced items continuously despawns.
Item performance improvements
Large piles of dropped items can already cause significant server overhead before they become large enough to require cleanup. Leaky reduces expensive collision, fluid and movement processing for old or densely clustered items while keeping newly dropped and actively moving items responsive.
This reduces the impact of problematic item concentrations while they are being investigated, collected or waiting to despawn.
Reports
When Leaky detects a problem, it reports useful information about the affected cluster, including its size, state, activity and location. Coordinates in chat are clickable for quickly teleporting to the affected area.
Notifications can be configured for nearby players, server operators, everyone, or disabled completely. Reported item concentrations can also optionally be highlighted with the glowing effect.
Automatic cleanup
Confirmed oversized leaks can automatically be removed after reaching a configurable size and warning delay. Recent player pickups postpone cleanup, helping protect items that are actively being collected.
A separate much higher emergency threshold can immediately handle extreme item concentrations that may threaten server stability without waiting for normal leak classification. Before items are removed, Leaky stores copies in an in-memory deletion history, allowing recently deleted clusters to be inspected and restored during the same server session.
Additional features
- Detection and logging of unusually large non-item entity concentrations
- Detection of extreme item concentrations in non-ticking areas
- Configurable detection, reporting, waste and cleanup thresholds
- Optional highlighting of reported item concentrations
- Support for detecting wasteful farms with sustained item despawning
- Configurable notification recipients
- Clickable coordinates and inspection actions

/leaky status— Show currently tracked clusters/leaky inspect <id>— Inspect a specific cluster/leaky deleteCluster <id>— Manually remove a cluster/leaky deletionHistory— View recently removed clusters/leaky restore <id> <dimension>— Restore a removed cluster

No known incompatibilities. Leaky should work alongside other mods.
Only required on the server.
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Leaky - 物品卡顿修复
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
3.8:修复在移除物品时,`autoremovenodelaythreshold` 有时会在世界中留下残留且未 ticking 的物品。
3.6 移除调试日志消息
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧