- Minecraft Versions
- 1.16-1.18
- Compatible Java Versions
- 1.8 upwards
Tired of Anvils telling you who's boss?
Well, tell them that they can stick it where the sun don't shine!
What exactly does it do?
It allows you to:
Permissions & Commands:
(Soft) Dependencies:
NBTApi by tr7zw
https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/
Source:
The src is included in the jar.
Just extract them.
Feel free to make changes, just don't claim the plugin as your own or remove my branding.
Have fun.
Well, tell them that they can stick it where the sun don't shine!
What exactly does it do?
It allows you to:
- Set the maximum enchantment cap of an anvil to a specific value.
- Cap the max cost of items to an arbitrary number.
- Reset Item Repair Cost NBT (Requires ItemNBTAPI to be installed)
- Tell anvils they can stick it!
YAML:
# _ _ ___ _____ _____ ___ ___ _____ _____ ___ _ _ ___ _____ _____
# | \| |/ _ \_ _| |_ _/ _ \ / _ \ | __\ \/ / _ \ __| \| / __|_ _\ \ / / __|
# | .` | (_) || | | || (_) | (_) | | _| > <| _/ _|| .` \__ \| | \ V /| _|
# |_|\_|\___/ |_| |_| \___/ \___/ |___/_/\_\_| |___|_|\_|___/___| \_/ |___|
# Not Too Expensive Config
# By TAU
# https://www.spigotmc.org/members/tau.300190/
#
Anvil Max Repair Cost: 2147483600
# Set the max cost for an anvil actions (In Lvl's)
# must less than a signed 32-Bit int
Anvil Reset Max Repair Cost: 39
# Should the plugin reset the repair cost of this action if it costs more than this value?
# Note for 1.17.X: client now disallows taking the result item out when above level 39
# Note: clients will not display this correctly if the value is above 39
# So this plugin will always display the cost as the title of the inventory.
# Note: Will only be checked if it is below or equal to "Anvil Max Repair Cost"
# Display (Message)
Anvil Too Expensive MSG: "&7Anvil - &cToo Expensive &4%lvl%"
Anvil Overflow Level MSG: "&7Anvil - &aEnchantment Cost &b%lvl%"
Not Enough Levels MSG: "&7Anvil - &cYou need to be level &a%lvl%&c to do this"
# Depends #
Item Repair Cost TAG Limit: 20
# This not only gives control over the cumulative repair cost of an item, it also
# can be used to prevent the scenario of an item reaching the 32bit int limit of repair cost
# and thus the system not allowing further repairs
# When set with "Enable Item Tag Cap Reset: true" It will clamp the tag.RepairCost nbt of
# Any item in the Anvil to this level. Preventing the repairs from getting more expensive
# Just by repairing the item. Note: The use of an anvil can still get more expensive with more enchantments etc
Enable Item Tag Cap Reset: false
# If this is enabled you need to install ItemNBTApi
# https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/
# No touchy
Config Version: 2
# No touchy
Permissions & Commands:
Code:
- nottooexpensive
sub-command:
reload : reloads from configuration
permission : (tau.nottooexpensive.reload)
(Soft) Dependencies:
NBTApi by tr7zw
https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/
Source:
The src is included in the jar.
Just extract them.
Feel free to make changes, just don't claim the plugin as your own or remove my branding.
Have fun.