示例视频:即将推出!
此插件允许玩家通过游戏内图形用户界面(GUI)修复工具,并收取可配置的费用(金钱和经验值)。
玩家可以打开修复 GUI,将受损的工具放入其中,并在拥有足够金钱/经验值的情况下一次性修复所有工具。
管理员可以无需重启服务器即可重新加载配置文件和语言文件。
- 基于 GUI 的工具修复 — 玩家打开修复界面并将受损工具放入以进行修复
- 金钱与经验值费用 — 修复费用按耐久度点数计算,可收取金钱、经验值或两者兼收
- 可配置的费率 — 在
config.yml 中设置每点耐久度的费用,并可切换是否启用金钱/经验值费用
- 安全的物品处理 — 关闭 GUI 时物品会被退回(若背包已满则掉落)
- 简单的管理员管理 — 支持重载命令以即时应用设置
- 所有 DP-Plugins 插件均需要
DPP-Core 插件。
- 如果未安装
DPP-Core,本插件将无法运行。
- 您可以在此处下载
DPP-Core:点击我!
- 本插件需要 Essentials 来支持经济功能(金钱费用)。
1️⃣ 将 DPP-Core 插件、Essentials 以及本插件文件(DP-ToolRepair-*.jar)放入服务器的 plugins 文件夹中。
2️⃣ 重启服务器,插件将自动启用。
3️⃣ 如有需要,您可以打开并修改 config.yml 和 语言文件 以自定义设置,然后使用 /dptr reload 命令应用更改。
config.yml:管理插件的基本设置。
Settings.prefix:插件消息前缀
Settings.EnableMoneyCost:启用/禁用金钱费用
Settings.EnableExpCost:启用/禁用经验值费用
Settings.RepairMoneyCostPerDurability:每点耐久度的金钱费用
Settings.RepairExpCostPerDurability:每点耐久度的经验值费用
❗ 部分命令需要管理员权限(dptr.admin)。
命令列表及示例
| 命令 |
权限 |
描述 |
示例 |
/dptr open |
dptr.use |
打开工具修复 GUI |
/dptr open |
/dptr reload |
dptr.admin |
重新加载配置文件和语言文件 |
/dptr reload |
❗使用命令时的注意事项
- 修复费用根据耐久度计算,并在 GUI 内部显示
- 如果玩家没有足够的金钱/经验值,修复将被取消
- 金钱费用需要 Essentials(经济系统)
- 管理员命令需要 OP 状态或
dptr.admin 权限
- 经济交易通过 DPP-Core MoneyAPI 处理(金钱费用需要 Essentials 经济系统)
- 如果您有任何问题或遇到麻烦,请联系您的服务器管理员或参考插件分发页面。
- 随时欢迎提出新功能或改进建议!
Example Video : Coming soon!
This plugin lets players repair their tools through an in-game GUI, charging configurable costs in money and/or experience.
Players can open the repair GUI, place damaged tools inside, and repair them all at once if they have enough money/EXP.
Admins can reload config and language files without restarting.
- GUI-based tool repair — Players open the repair inventory and place damaged tools to repair
- Money and EXP costs — Repair cost is calculated per durability point and can charge money, EXP, or both
- Configurable rates — Set cost per durability and toggle money/EXP costs in
config.yml
- Safe item handling — Items are returned when closing the GUI (or dropped if inventory is full)
- Simple admin management — Supports reload command to apply settings instantly
- All DP-Plugins require the
DPP-Core plugin.
- The plugin will not work if
DPP-Core is not installed.
- You can download
DPP-Core here: Click me!
- This plugin requires Essentials for economy support (money cost feature).
1️⃣ Place the DPP-Core plugin, Essentials, and this plugin file (DP-ToolRepair-*.jar) into your server’s plugins folder.
2️⃣ Restart the server, and the plugin will be automatically enabled.
3️⃣ If needed, you can open and modify config.yml and language files to customize settings, then apply with /dptr reload.
config.yml: Manages basic plugin settings.
Settings.prefix: plugin message prefix
Settings.EnableMoneyCost: enable/disable money cost
Settings.EnableExpCost: enable/disable exp cost
Settings.RepairMoneyCostPerDurability: money cost per durability
Settings.RepairExpCostPerDurability: exp cost per durability
❗ Some commands require admin permission (dptr.admin).
Command List and Examples
| Command |
Permission |
Description |
Example |
/dptr open |
dptr.use |
Open the tool repair GUI |
/dptr open |
/dptr reload |
dptr.admin |
Reload config and language files |
/dptr reload |
❗Notes when using commands
- Repair costs are calculated by durability and shown inside the GUI
- If the player does not have enough money/EXP, the repair is cancelled
- Money cost requires Essentials (economy)
- Admin commands require OP status or the
dptr.admin permission
- Economy transactions are handled via DPP-Core MoneyAPI (Essentials economy required for money cost)
- If you have any questions or issues, please contact your server administrator or refer to the plugin distribution page.
- Feel free to leave suggestions for new features or improvements anytime!
评论 0
登录后参与评分
还没有评论,来抢沙发吧