Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
Platforms
Bukkit
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed LGPL-3.0-only
Published 5 months ago
Updated 3 days ago
A port of the original mod: https://modrinth.com/mod/better-than-mending by legobmw99
✅ This plugin adds exactly one feature: the ability to sneak-right-click a Mending item to repair it with experience you already have.
- A configuration file is available!
- Permission can be used!
- Effect available!
The permission are :
btm.use : to use the ability
btm.commands.btm : to use /btm
(enabled to everyone by default)
This plugin uses the system provided by the original mod!
Here is how the configuration file looks like:
# -------- CUSTOMIZE ABILITY --------
# Automatically repair all damaged tools in player inventory
# true: auto-repair false: default repair
auto-repair: false
# Prevent mending item destroy when you don't have enough experience
# true: prevent destroy false: default destroy
prevent-destroy: false
# Configure the cooldown (suggested by Kad_L)
cooldown:
# The cooldown between each use of the ability per player. This isn't applied to auto-repair
# The cooldown in seconds (0 = disabled) (default: 0)
time: 0
# Number of uses before the cooldown acts (default: 3)
uses: 3
# True if the cooldown message should be shown
# default: true
message: true
# True if the cooldown should do a sound
# default: true
sound: true
# The cooldown text, $s is the actual remaining seconds
text: "&4Please wait $s seconds before using this ability!"
# The removed experience when the mending ability is used
# You'd better use ratio instead
# default: 20
expValue: 20
# A multiplier for the gained durability
# default: 2.0
ratio: 2.0
# -------- AUTO-REPAIR --------
# auto-repair must be set to true to use these functionalities!
# The delay (in ticks) between each tool's repair
# 20 ticks = 1 second
# default: 40
delay: 40
# True if auto-repair should repair the full inventory for every [delay] ticks or false if it should only repair one tool for every [delay] ticks
# default: true
repairFullInventory: true
# -------- SOUNDS --------
# Should play a sound if the power of mending is used.
# true: played / false: not played
playSound: true
# The volume of the sound, 1 is default
soundVolume: 1
# The speed of the sound, 1 is default, smaller than 1 is slower
soundPitch: 1
# -------- EFFECT --------
# Enable or disable the effect
playEffect: true
# The effect range from the player (suggested by Kad_L)
range: 3
# The color used in the effect (RGB, each value need to be between 0 and 255)
# default (in the order of color): 144, 238, 144
color:
red: 144
green: 238
blue: 144
# The offset of the effect, from the player Eyes location, can be a negative value
offset:
x: 0.0
y: 0.0
z: 0.0
## -------- MISCELLANEOUS --------
# Disable or not statistics (help me to make my plugin better!)
bstat: true