Custom repair costs
Since 1.0.0
While the name of this feature is custom repair costs, the limitations actually apply to every xp level cost that anvils may require such as adding new enchantments to an item or changing its name, not only item repairs. This may be the most confusing feature of the plugin to the user because of how the client decides to display the "Too expensive!" message to the player. The client will do this whenever a repair cost goes over 40 xp levels, no matter if the server allows the repair to actually be done, the actual cost however will be displayed without issues on creative mode. CustomAnvils provides two different approaches to fix this issue with the following configuration values:
max represents the maximum xp level cost that the server will allow, Minecraft has this set to 40 by default, however you can go over that by setting this value to let's say 50, this will allow players to do actions on the anvil that would cost for example 45 levels, however, keep in mind that the client will still display the "Too expensive!" message, even though the action will be allowed. limit on the other hand actually limits the maximum cost of the anvil so it can't go over a certain amount of xp levels, so if you set it to let's say 40, the anvil will NEVER ask for more than 40 xp levels, period. No matter how many times you modify an item, -1 will prevent the plugin from limiting costs.
Last updated
Was this helpful?