

Better Mending for Spigot
Adapted version of the original mod: Better-Than-Mending by legobmw99
This modification introduces just one, but highly practical improvement: you can now point at an item with the "Mending" enchantment, hold Shift and right-click to restore its durability using the experience you already possess.
Key features:
- Flexible configuration via configuration file
- Permission system for managing functionality
- Visual and sound effects for enhanced gameplay experience
Permission system:
btm.use : use the restoration ability
btm.commands.btm : access to /btm command
(enabled for all players by default)
Important: the plugin uses the mechanics of the original modification!
Configuration options:
# -------- RESTORATION SETTINGS --------
# Automatic repair of all damaged tools in inventory
# true: auto-repair false: standard repair
auto-repair: false
# Prevent item destruction when insufficient experience
# true: prevent destruction false: standard destruction
prevent-destroy: false
# Cooldown settings (suggested by Kad_L)
cooldown:
# Time between ability uses per player
# In seconds (0 = disabled) (default: 0)
time: 0
# Number of uses before cooldown activates (default: 3)
uses: 3
# Display cooldown message
# default: true
message: true
# Cooldown text, $s - remaining seconds
text: "&4Please wait $s seconds before next use!"
# Experience cost when using ability
# Recommended to use ratio instead of fixed value
# default: 20
expValue: 20
# Multiplier for gained durability
# default: 2.0
ratio: 2.0
# -------- AUTOMATIC REPAIR --------
# Auto-repair must be enabled to use these functions!
# Interval (in ticks) between tool repairs
# 20 ticks = 1 second
# default: 40
delay: 40
# Repair entire inventory at once or one tool at a time
# default: true
repairFullInventory: true
# -------- SOUNDS --------
# Play sound when ability activates
# true: enabled / false: disabled
playSound: true
# -------- VISUAL EFFECTS --------
# Enable/disable effects
playEffect: true
# Effect radius from player
range: 3
# Effect color in RGB format
color:
red: 144
green: 238
blue: 144