hi there, i need for my server a plugin that can modify the repair costs (exp) of anvils for each permission group, and make free repairs for VIPs. greets!
I know there is something with anvil inventories in the new api. I just saw that it's there, haven't looked at it yet. So this should be possible somehow.
I've been searching high and low for this, but It doesn't seem bukkit has an API for Anvils, I'm looking into NMS, but I don't think there will be an easy way to do it :/.
It's impossible to directly change the experience cost of any operation in an anvil, as the client calculates the cost itself and won't even attempt to perform the operation if it can't pay the cost.