NotTooExpensive 1.2.4

Anvil? Too Expensive? I think not; Set a/no anvil level cap.

  1. Tau
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.16
    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:
    • Set the max 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)
    • Tells anvils that they can stick it!

    Code (YAML):

    #  _  _  ___ _____   _____ ___   ___    _____  _____ ___ _  _ ___ _____   _____
    # | \| |/ _ \_   _| |_   _/ _ \ / _ \  | __\ \/ / _ \ __| \| / __|_ _\ \ / / __|
    # | .` | (_) || |     | || (_) | (_) | | _| >  <|  _/ _|| .` \__ \| | \ V /| _|
    # |_|\_|\___/ |_|     |_| \___/ \___/  |___/_/\_\_| |___|_|\_|___/___| \_/ |___|

    # Not Too Expensive Config
    # By TAU

    Anvil Max Repair Cost
    : 2147483600
    # Set the max cost for an anvil actions (In Lvl's)
    # It may say too expensive on a clients screen, But it is just fibbing.
    # Keep it at least a few levels below the 32-Bit int

    Anvil Reset Max Repair Cost
    : 39
    # Should the plugin reset the repair cost of this action to the above value if it costs more than this level?
    # Note: clients will not display this correctly if the value is >39
    #       Instead it will display the cost as hotbar message.
    # Note: Will only be checked if it is below or equal to "Anvil Max Repair Cost"

    # Display (Hotbar)
    Anvil Too Expensive MSG
    : "&7(&6Anvil&7) &cToo Expensive &7(&b%lvl%&7)"
    Anvil Overflow Level MSG
    : "&7(&6Anvil&7) &aEnchantment Cost: &7(&b%lvl%&7)"
    Not Enough Levels MSG
    : "&7(&6Anvil&7) &cYou need to be level &7(&b%lvl%&7)&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

    # No touchy
    Config Version
    : 2
    # No touchy

    Permissions & Commands:
    - nottooexpensivereload, Reloads the plugin's configs
    permission : (tau.nottooexpensive.reload)

    (Soft) Dependencies:
    NBTApi by @tr7zw

    The src is included in the jar, Just extract them, Feel free to add your own additions, Just don't claim the plugin as your own, Otherwise anvils won't be the only ones that will be sticking it.
    Have fun.
    Sam_H_P and DitDit like this.

Recent Reviews

  1. Lamby777
    Version: 1.2.4
    There was a fabric mod for this exact same problem. I'm sure there's also a forge one because of how old forge is. Honestly Mojang should just remove the limit, it's pretty dumb to say "too expensive" when someone has 53 levels and is 100% willing to waste them on one last edit to their armor
  2. Sam_H_P
    Version: 1.2.4
    Great Plugin, solves the "Too Expensive!" issue, though the message telling you the new cost barely works you can still use the anvil.
    1. Tau
      Author's Response
      What doesn't work about it?
  3. MrMelon54
    Version: 1.2.4
    Great plugin for raising the anvil enchantment limit. There is also a client side fabric mod called Anvil Fix which removed the to expensive error message.
  4. bswoo250
    Version: 1.2.4
    Please make an option to display message on chat too.
    Your plugin is awesome!!!!
  5. Rafy
    Version: 1.2.4
    Great Plugin Tau! The only one of its kind that works, others are either outdated or very tricky to use.
    I only found a small bug that momentarily duplicates items when manually added to the anvil, so if you can fix that one it would be great, thanks.
    1. Tau
      Author's Response
      Interesting. I rarely have that happen.
      It's just desync anyway. They're not real dupes.
      I'll do some more testing later with clumsy.
  6. linuxman
    Version: 1.2.4
    FINALLY an anvil plugin that ACTUALLY WORKS! Very well done! I've tried others but they don't seem to work for X reason or they are outdated.
    1. Tau
  7. JoshuaHasSweg
    Version: 1.2.2
    i LOVE this plugin ... i tested it out on 1.16 and it works perfectly! highly suggest it to fix the "too expensive" message on anvils
    1. Tau
      Author's Response
      Do you have Reset Tag cap config option to true and have NBTApi installed?
  8. xardoniak
    Version: 1.1.0
    Just installed this on my server and tested, works great!

    Planning on updating to 1.14?

    1. Tau
      Author's Response
      Once 1.14 goes out of snapshot mode... (It might as well be)