DuraPing
再也不必担心心爱的装备损坏。 当工具、武器或护甲耐久度低下时,通过聊天、声音、屏幕闪烁或快捷栏提示及时发出警报。
DuraPing 是一款 客户端侧的便捷模组,它会监控你身上所有装备的耐久度,并在其损坏前发出警告。你可以选择偏好的通知方式(聊天、声音、屏幕闪烁或快捷栏提示),设置对你而言有意义的阈值,从此不再因多挥出一击而损失附魔装备。它支持 Fabric 和 NeoForge,无需在服务器端安装任何内容,除非你的装备真的面临危险,否则它将静默运行。
概览
| ? 多级警报 | 提供警告、危险和严重三个阈值,以及在耐久度为 2 时触发的紧急警报,该警报会跳过免打扰模式。 |
| ? 四种警报渠道 | 聊天、自定义声音、屏幕闪烁和快捷栏提示。各项功能均可独立开关。 |
| ? 全槽位监控 | 主手、副手以及全部四件护甲,每一刻都在监控中。 |
| ? 智能防骚扰 | 按层级设置的冷却时间、滞后重触发机制,以及在挖掘期间基于活动的静音处理。 |
| ?️ 单项阈值设置 | 可通过物品 ID 为特定物品覆盖警告、危险和严重的百分比阈值。 |
| ⏱️ 免打扰与开关 | 使用按键绑定可静音警报几分钟,或关闭所有警报。 |
| ? 游戏内配置 | 两个加载器均提供 Cloth Config 界面(Fabric 通过 Mod Menu,NeoForge 通过模组列表),同时也支持纯 JSON 文件配置。 |
| ? 仅客户端侧 | 适用于原版服务器、模组服务器以及单人游戏。无需服务器端安装。 |
全部功能
警报
- 多级阈值:默认情况下分别为警告 (25%)、危险 (10%) 和严重 (5%),每个级别拥有独立的颜色和冷却时间。
- 耐久度为 2 时的紧急警报:无视免打扰状态,并启用你开启的所有警报类型:聊天中的横幅提示、分层的关键声音警报,如果你已启用,则还有强烈的屏幕闪烁和快捷栏提示。
- 聊天消息:显示物品名称及剩余的确切使用次数。
- 自定义声音:用于警告和严重警报。
- 屏幕闪烁:在整个屏幕上短暂显示低透明度的白色叠加层,以便在不看屏幕的情况下获得提示。
- 快捷栏提示:用于更安静的、仅文本的提醒。
智能监控
- 持续监控 主手、副手和所有护甲。
- 警告和危险仅在向下穿越阈值时触发 一次,随后仅在恢复后重新触发,并配备可配置的 滞后机制 以兼容经验修补或模组提供的耐久度恢复。严重警报会在其冷却时间内重复触发(默认每 7 秒一次),直到你修复或更换物品,或者启动免打扰。
- 当你正在挖掘时,在穿越警告和危险阈值时各触发一次警报,从而避免长时间挖掘造成的骚扰。如果单个方块需要 2 秒或更长时间才能破坏(例如黑曜石),危险警报也会在其冷却时间内重复触发。
- 可选的 低于警告值静音:每次降至警告层级时仍正常发出警报,但随后的警告提醒仅以视觉形式呈现(闪烁或提示),无声音或聊天。
自定义
- 单项覆盖:为翼服、下界合金镐或其他任何物品设置不同的阈值,通过物品 ID 进行索引。
- 可调阈值、各级别冷却时间和免打扰持续时间。
- 双加载器下的游戏内配置界面:通过 Cloth Config 实现:Fabric 通过 Mod Menu,NeoForge 通过模组列表(模组 → DuraPing → 配置)。JSON 配置文件在所有平台上依然有效。
控制
- 按键绑定用于 切换、免打扰或取消,以及按需 显示主手耐久度(默认在小键盘上,完全可重新绑定)。
自动交换(默认关闭)
- 当你在放置或使用方块时,会将磨损的工具替换为同物品的更耐用版本;将磨损的护甲替换为适合该槽位的更耐用护甲。除非你关闭“允许更低品质”,否则该装备可以是较低品质的版本;磨损的翼服可以被胸甲替换,但绝不会是另一件翼服。使用服务器同步的库存操作,在真实服务器上也能稳定运行。
配置
配置文件位于 config/duraping.json,首次启动时会根据所有设置创建。以下摘录展示了主要键及其默认值,外加一个翼服的覆盖示例(overrides 默认值为空)。请在关闭游戏的情况下编辑此文件:它在启动时读取一次,切换 DuraPing 或保存配置界面时会覆盖它。
{
"enabled": true,
"chat": true,
"sound": true,
"flash": false,
"toast": false,
"warn": 25,
"danger": 10,
"critical": 5,
"warnCooldownSec": 30,
"dangerCooldownSec": 15,
"criticalCooldownSec": 7,
"overrides": {
"minecraft:elytra": { "warn": 15, "danger": 7, "critical": 1 }
}
}
你可以在游戏内配置界面中更改除单项覆盖外的所有设置:Esc → 模组 → DuraPing,然后在 NeoForge 上点击 配置,或在 Fabric 上点击滑块图标(Fabric 还需要 Mod Menu;两者都需要 Cloth Config)。在 26.2 和 26.3 版本中,“模组”是暂停菜单中的一个图标。单项覆盖需写入 JSON 文件中,通过命名空间化的物品 ID 进行索引,例如 minecraft:netherite_pickaxe。
按键绑定
| 按键 | 操作 |
|---|---|
| 小键盘 7 | 开启或关闭所有警报 |
| 小键盘 8 | 免打扰 5 分钟,或取消当前的免打扰状态 |
| 小键盘 9 | 显示当前主手的耐久度 |
| 小键盘 0 | 手动触发自动交换(必须开启自动交换,且仅在达到或低于自动交换阈值时交换装备,默认为 15%) |
可在 选项, 控制, 按键绑定, 杂项 中重新绑定其中任意按键。
需求
| 加载器 | Fabric 或 NeoForge |
| Fabric 必需 | Fabric API |
| Minecraft | 1.21.9 至 1.21.11、26.1 至 26.1.2、26.2 或 26.3 |
| Java | 21(1.21.x)或 25(26.x) |
文件按 Minecraft 版本和加载器分类,请根据你的游戏版本在 Modrinth 或 CurseForge 上选择对应的版本。在 NeoForge 上,26.1 系列需要 26.1.2。在 Fabric 上,26.3 需要 Fabric Loader 0.19.3 或更高版本。
在 NeoForge 上,当你点击“Mods”时,有两个构建会崩溃,无论是否安装了 DuraPing:21.9.16-beta(Minecraft 1.21.9)和 21.10.0-beta(Minecraft 1.21.10)。这是 NeoForge 的一个 Bug。请在 1.21.9 上使用 21.9.15-beta,在 1.21.10 上使用 21.10.1-beta 或更高版本。DuraPing 仍然可以在受影响的构建中运行,但无法打开其配置界面,因此请在 config/duraping.json 中更改设置并重启游戏。
可选: Cloth Config 用于游戏内设置界面(Fabric 上还需要 Mod Menu)。如果不安装它们,也可以通过配置文件进行所有操作。
多人游戏
DuraPing 完全基于客户端。它的警报仅读取你自己的物品栏,因此它可以在原版服务器、未安装该模组的模组服务器以及单人游戏中正常工作,无需任何权限或服务器端安装。26.x 构建还会发送下面描述的遥测数据。
遥测数据
26.x 构建会将伪匿名的使用统计数据报告给 FastStats:一个随机 ID、游戏、模组和加载器版本、加载器名称、Java 版本和供应商、操作系统名称、版本和架构、CPU 核心数、当前服务器或世界中的玩家数量、启动器是否报告已登录的在线账户、DuraPing 的模组 ID,以及这是一个客户端。ID 存储在 config/faststats/config.properties 中,只要该文件未被删除,它就会保持不变,并且实例中的所有 FastStats 模组都会共享此 ID。FastStats 还会通过 Cloudflare 推断每个安装的近似国家/地区,并声明不存储你的 IP 地址。总数在 DuraPing 仪表板 上公开。
1.21.x 构建不包含 FastStats,且 DuraPing 的副本在 Fabric 26.1 或 26.1.1 上不会加载。
在没有该文件的实例中,除非你打开 FastStats 界面并保持指标开启状态并按下“完成”,否则首次启动时不会发送任何数据。随后会在下一次计划发送时发出报告,通常是在启动后 30 分钟,或在 Fabric 上关闭游戏时。否则,报告将在启动后约 30 秒发送,之后每 30 分钟发送一次。在 Fabric 上,关闭游戏时还会发送另一份报告。
要退出,请打开 选项, 遥测数据, FastStats,取消勾选相关框,然后按下“完成”,或者在 config/faststats/config.properties 中设置 enabled=false 并重启。如果“遥测数据”呈灰色不可用(这在离线账户和关闭了遥测功能的账户上会发生),请使用配置文件。任一方法都适用于实例中的所有 FastStats 模组。
发现 Bug?有新想法?
欢迎提交 Bug 报告和功能建议。请在 Discord 发布,附上你的加载器和 Minecraft 版本、DuraPing 版本以及任何相关的控制台输出。这也是快速提问和帮助测试的地方。
DuraPing
Never break your favorite gear again. Timely durability alerts through chat, sound, screen flash, or hotbar toast, the moment a tool, weapon, or armor piece runs low.
DuraPing is a client-side quality-of-life mod that watches the durability of everything you have equipped and warns you before it breaks. Pick how you want to be told (chat, sound, a screen flash, or a hotbar toast), set the thresholds that matter to you, and stop losing enchanted gear to one swing too many. It runs on Fabric and NeoForge, needs nothing on the server, and stays out of your way until your gear is actually in danger.
At a glance
| ? Multi-tier alerts | Warn, Danger, and Critical thresholds, plus an emergency alert at 2 durability that bypasses snooze. |
| ? Four alert channels | Chat, custom sound, screen flash, and hotbar toast. Each one toggles independently. |
| ? Every slot watched | Main hand, offhand, and all four armor pieces, every tick. |
| ? Smart anti-spam | Per-tier cooldowns, hysteresis re-arming, and activity-aware quieting while you mine. |
| ?️ Per-item thresholds | Override warn, danger, and critical percentages for specific items by id. |
| ⏱️ Snooze and toggle | Keybinds to silence alerts for a few minutes or switch all alerts off. |
| ? In-game config | A Cloth Config screen on both loaders (Fabric via Mod Menu, NeoForge via the Mods list), plus a plain JSON file. |
| ? Client-side only | Works on vanilla servers, modded servers, and singleplayer. No server install. |
Every feature
Alerts
- Multi-tier thresholds: Warn (25%), Danger (10%), and Critical (5%) by default, each with its own color and cooldown.
- Emergency alert at 2 durability: ignores snooze and uses every alert type you have on: a banner in chat, a layered critical sound, and a strong flash and toast if you enabled them.
- Chat messages with the item name and exact uses remaining.
- Custom sounds for warn and critical.
- Screen flash: a brief, low-opacity white overlay across the whole screen for a glance-free heads-up.
- Hotbar toast messages for a quieter, text-only nudge.
Smart monitoring
- Watches the main hand, offhand, and all armor continuously.
- Warn and danger fire once on a downward threshold crossing, then re-arm only after you recover, with configurable hysteresis for Mending or modded durability regen. Critical keeps repeating on its cooldown (every 7 seconds by default) until you repair or swap the item, or snooze.
- While you are mining, warn and danger alert once as you cross them, so a long dig does not spam you. Danger also repeats on its cooldown while a single block takes 2 seconds or more to break, such as obsidian.
- Optional quiet-below-warn: each drop into the warn tier still alerts normally, and warn reminders after that are visual-only (flash or toast), no sound or chat.
Customization
- Per-item overrides: different thresholds for an elytra, a netherite pickaxe, or anything else, keyed by item id.
- Tunable thresholds, per-tier cooldowns, and snooze duration.
- In-game config screen on both loaders via Cloth Config: Fabric through Mod Menu, NeoForge through the Mods list (Mods → DuraPing → Config). The JSON config file still works everywhere.
Controls
- Keybinds to toggle, snooze or cancel, and show main-hand durability on demand (defaults on the numpad, fully rebindable).
Auto-swap (off by default)
- Swaps a worn-down tool for a more durable copy of the same item when you hit or use a block, and worn-down armor for a more durable piece that fits the slot. That piece can be a lower tier unless you turn off Allow Lower Quality, and a worn elytra can be replaced by a chestplate, never another elytra. Uses server-synced inventory actions that hold up on real servers.
Configuration
The config lives at config/duraping.json and is created on first launch with every setting. This excerpt shows the main keys at their defaults, plus an example elytra override (overrides is empty by default). Edit the file with the game closed: it is read once at startup, and toggling DuraPing or saving the config screen overwrites it.
{
"enabled": true,
"chat": true,
"sound": true,
"flash": false,
"toast": false,
"warn": 25,
"danger": 10,
"critical": 5,
"warnCooldownSec": 30,
"dangerCooldownSec": 15,
"criticalCooldownSec": 7,
"overrides": {
"minecraft:elytra": { "warn": 15, "danger": 7, "critical": 1 }
}
}
You can change every setting except per-item overrides live from the in-game config screen: Escape → Mods → DuraPing, then Config on NeoForge or the sliders icon on Fabric (Fabric also needs Mod Menu; both need Cloth Config). On 26.2 and 26.3, Mods is an icon in the pause menu. Per-item overrides go in the JSON file, keyed by the namespaced item id, for example minecraft:netherite_pickaxe.
Keybinds
| Key | Action |
|---|---|
| Numpad 7 | Toggle all alerts on or off |
| Numpad 8 | Snooze for 5 minutes, or cancel an active snooze |
| Numpad 9 | Show current main-hand durability |
| Numpad 0 | Manual auto-swap trigger (auto-swap must be on, and it only swaps gear at or below the auto-swap threshold, 15% by default) |
Rebind any of these under Options, Controls, Key Binds, Miscellaneous.
Requirements
| Loader | Fabric or NeoForge |
| Required on Fabric | Fabric API |
| Minecraft | 1.21.9 to 1.21.11, 26.1 to 26.1.2, 26.2, or 26.3 |
| Java | 21 (1.21.x) or 25 (26.x) |
Files are split by Minecraft version and loader, so pick the one that matches your game on Modrinth or CurseForge. On NeoForge, the 26.1 line needs 26.1.2. On Fabric, 26.3 needs Fabric Loader 0.19.3 or newer.
On NeoForge, two builds crash when you click Mods, with or without DuraPing installed: 21.9.16-beta (Minecraft 1.21.9) and 21.10.0-beta (Minecraft 1.21.10). This is a NeoForge bug. Use 21.9.15-beta on 1.21.9, and 21.10.1-beta or newer on 1.21.10. DuraPing still runs on the affected builds, but its config screen can't be opened there, so change settings in config/duraping.json and restart the game.
Optional: Cloth Config for the in-game settings screen (plus Mod Menu on Fabric). Everything works without them through the config file.
Multiplayer
DuraPing is fully client-side. Its alerts read only your own inventory, so it works on vanilla servers, modded servers that do not have it, and in singleplayer, with no permissions or server-side install required. The 26.x builds also send the usage metrics described below.
Usage metrics
The 26.x builds report pseudonymous usage statistics to FastStats: a random id, the game, mod and loader versions, the loader name, the Java version and vendor, the operating system name, version and architecture, the CPU core count, the number of players on the current server or world, whether the launcher reports a signed-in online account, DuraPing's mod id, and that this is a client. The id is stored in config/faststats/config.properties, stays the same until that file is deleted, and is shared by every FastStats mod in the instance. FastStats also records an approximate country for each install, inferred by Cloudflare, and says it does not store your IP address. The totals are public on the DuraPing dashboard.
The 1.21.x builds do not include FastStats, and DuraPing's copy does not load on Fabric 26.1 or 26.1.1.
In an instance without that file, nothing is sent on the first launch unless you open the FastStats screen and press Done with metrics still on. The first report then goes out at the next scheduled send, normally 30 minutes after launch, or when the game closes on Fabric. Otherwise a report is sent about 30 seconds after launch and every 30 minutes after that. On Fabric, another report is sent when the game closes.
To opt out, open Options, Telemetry Data, FastStats, untick the boxes, and press Done, or set enabled=false in config/faststats/config.properties and restart. If Telemetry Data is greyed out, which happens on offline accounts and accounts with telemetry turned off, use the config file. Either one applies to every FastStats mod in the instance.
Found a bug? Have an idea?
Bug reports and feature ideas are welcome. Post them in the Discord with your loader and Minecraft version, your DuraPing version, and any relevant console output. It is also the place for quick questions and helping test.
下载 DuraPing
下载 DuraPing
下载 DuraPing
下载 DuraPing
下载 DuraPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DuraPing
下载 DuraPing
下载 DuraPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DuraPing
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DuraPing
新增
- 在 Fabric 和 NeoForge 上支持 Minecraft 26.2 和 26.3。
- 在 Fabric 上支持 Minecraft 26.1 和 26.1.1。在 NeoForge 上,26.1 系列需要 26.1.2。
- 在 Fabric 上,26.3 需要 Fabric Loader 0.19.3 或更高版本。
更改
- FastStats 已更新至 0.31.0。它现在作为独立条目出现在模组列表中,并在遥测数据屏幕中添加了一个 FastStats 按钮以允许用户选择退出。匿名使用指标仅保留在 26.x 构建中,且 DuraPing 的 FastStats 副本不会在 Fabric 26.1 或 26.1.1 上加载。
- Cloth Config 在 Modrinth 和 CurseForge 的所有文件列表中均列为可选依赖项。如果没有安装它,配置界面将不可用,模组将通过 JSON 配置文件运行。
修复
- 当未安装 Cloth Config 时,Mod Menu 不再在启动时记录错误。
- 配置界面的按键帮助现在指向“选项”、“控制”、“按键绑定”、“杂项”。
- 磨损物品现在每次掉入更严重的等级时都会发出警报。之前用于警告的警报会静默随后跟随的危险警报。
- 剩余耐久为 2 时的紧急警报现在会在暂停期间触发,并且对于高耐久物品(剩余 3 和 2 次使用时均显示为 0%)也会触发。同一物品的等级警报不再替换其提示框和闪烁效果。
- 启用滞回功能后,物品在警告阈值附近波动时不再每次都发出警报,并且无论物品是逐渐恢复还是瞬间恢复,都遵循相同的重新激活规则。
- 在单人游戏中,方块点击处理器不再在集成服务器线程上运行。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧