UltraRepair 高级物品修复
作者:Demeng
发布时间:2018年12月8日
原生版本:未知
测试支持:1.8,1.9,1.10,1.11,1.12,1.13,1.14,1.15,1.16,1.17,1.18,1.19,1.20
先进的物品维修与每件物品的定制,成本,冷却时间,等等。
点此下载插件详细介绍
UltraRepair 是一个高度可定制的 Minecraft 插件,允许玩家以自定义的费用、冷却时间和声音来修复物品(单个或整个背包)。
🎉UltraRepair
📌插件信息
- 原生 Minecraft 版本: 1.21
- 测试 Minecraft 版本: 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20, 1.20.6, 1.21
- 源码地址: GitHub
- 语言支持: 可在 language file (messages.yml) 中自定义
- 捐赠链接: PayPal
✨主要特性
- 费用 (经济系统整合): 支持使用游戏内货币进行修复,需要 Vault 和一个经济插件!
- 物品自定义: 可以为不同的物品设置不同的修复费用,基于物品类型、附魔、名称、Lore、自定义模型数据等。
- 基于耐久度的额外费用: 可以根据损失的耐久度增加修复费用 (倍数),或者禁用此功能。
- 修复手持物品或全部物品: 修复单个物品或一次性修复整个背包。
- 确认 GUI: 通过简洁的游戏内菜单确认修复,让玩家清楚地了解花费。
- 冷却时间: 为修复单个物品和整个背包设置冷却时间。
- 权限绕过: 允许管理员或 VIP 绕过费用或冷却时间。
- 声音: 修复物品后播放令人满意的音效。
- 可配置: 自定义 GUI 的外观和感觉,调整消息以适应您的服务器主题,并调整选项以使插件感觉像您自己的。
🔩依赖
以下依赖项仅在您希望使用经济功能(向玩家收取游戏内货币以修复物品)时才需要:
- Vault
- 支持 Vault 的经济插件 (例如 EssentialsX)
📜命令和权限
/ultrarepair
描述: 显示插件信息。
别名: /ur
/ultrarepair reload
描述: 重新加载配置文件。
权限: ultrarepair.reload
别名: /ultrarepair rl
/repairhand
描述: 修复玩家手中的物品。
权限: ultrarepair.repair.hand
别名: /repair hand
/repairall
描述: 修复玩家背包中所有可修复的物品。
权限: ultrarepair.repair.all
别名: /repair all
ultrarepair.bypass.cost
描述: 绕过修复费用 (免费修复)。
ultrarepair.bypass.cooldown
描述: 绕过修复冷却时间。
⚙️配置文件
settings.yml
# UltraRepair Configuration
# Whether to use Vault for economy support.
economy: true
# Repair costs will be multiplied by this value times the damage of the item.
durability-multiplier: 0.0
# Cooldown in seconds after using /repairhand.
hand-cooldown: 5
# Cooldown in seconds after using /repairall.
all-cooldown: 60
# Default cost for repairing an item in hand, if economy is enabled.
default-hand-cost: 100
# Default cost for repairing all items, if economy is enabled.
default-all-cost: 500
# Whether to require the player to confirm the repair using a GUI.
require-confirmation: true
# Whether to display the item's name in the GUI.
display-item-name: true
# Whether to close the GUI after a successful repair.
close-on-success: true
# Whether to play a sound effect after a successful repair.
play-sound: true
# Sound effect to play after a successful repair. See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html for valid sounds.
sound: BLOCK_ANVIL_USE
# Volume of the sound effect.
sound-volume: 1.0
# Pitch of the sound effect.
sound-pitch: 1.0
# The title of the confirmation GUI.
gui-title: '&a确认修复?'
# The material to use for the confirm button. See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html for valid materials.
confirm-material: LIME_STAINED_GLASS_PANE
# The name of the confirm button.
confirm-name: '&a确认'
# The lore of the confirm button.
confirm-lore:
- '&7点击确认修复.'
# The material to use for the cancel button. See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html for valid materials.
cancel-material: RED_STAINED_GLASS_PANE
# The name of the cancel button.
cancel-name: '&c取消'
# The lore of the cancel button.
cancel-lore:
- '&7点击取消修复.'
# The items which cannot be repaired
unrepairable-items:
- AIR
- STONE
# The items that are repairable with no cost by default.
free-repairable-items:
- WOODEN_SWORD
- WOODEN_SHOVEL
- WOODEN_PICKAXE
- WOODEN_AXE
- WOODEN_HOE
messages.yml
# UltraRepair Messages Configuration
prefix: '&8[&aUltraRepair&8] &7'
no-permission: '%prefix%&c你没有权限执行此操作.'
reloaded: '%prefix%&a配置文件已重载.'
usage: '%prefix%&c用法: %usage%'
no-item-in-hand: '%prefix%&c你必须手持物品才能使用此命令.'
not-repairable: '%prefix%&c此物品不可修复.'
repair-success-hand: '%prefix%&a你已修复了你手中的物品.'
repair-success-all: '%prefix%&a你已修复了你背包中的所有物品.'
on-cooldown-hand: '%prefix%&c请等待 %time% 秒后再修复你手中的物品.'
on-cooldown-all: '%prefix%&c请等待 %time% 秒后再修复你背包中的所有物品.'
not-enough-money: '%prefix%&c你需要 $%amount% 才能修复此物品.'
payment-failed: '%prefix%&c支付失败, 请重试.'
console-reload: 'UltraRepair 配置文件已重载.'
menus.yml
# UltraRepair Menus Configuration
# The slots where the items to repair are displayed
item-slots:
- 13
# The slots where the confirm and cancel buttons are displayed
confirm-slot: 29
cancel-slot: 33
🔗相关链接
❓问题与帮助
如有任何问题,请加入官方 Discord 服务器并创建支持票,不要在评论区寻求支持!
Made with ❤️ by Demeng Development.
Official Partner of Revivenode
Use code 'DEMENG' at checkout for 15% off your first purchase!