Anvil Enhanced
Like the plugin? Check out the Premium version
With AnvilEnhanced, you can apply enchantments beyond the vanilla limits and add color to item names (legacy color codes only; hex support requires the premium version).
Example Usage
- Give a player a Sharpness X book, and with AnvilEnhanced, they can use the anvil to transfer that powerful enchantment onto any compatible item.
- Merge two identical items or books to go beyond vanilla limits. For example, combining two Sharpness V swords creates a Sharpness VI sword.
Ranks and Enchantment Levels
The Ranks folder includes a default.yml file that defines rank settings. You can set the required permission for the rank, its priority, the "Too Expensive" limit, and individual enchantment limits.
To add a new rank, create a new YAML file in the Ranks folder using the same structure as default.yml.
Default Configuration
Default Configuration
#########################################################
# _ _ _ ___ _ _ #
# /_\ _ ___ _(_) | __|_ _ | |_ __ _ _ _ __ ___ __| |#
# / _ \| ' \ V / | | _|| ' \| ' \/ _` | ' \/ _/ -_) _` |#
#/_/ \_\_||_\_/|_|_|___|_||_|_||_\__,_|_||_\__\___\__,_|#
# Continued by BitByLogic, Original Author mvez73 #
#########################################################
Settings:
# Whether to enable the color in the anvil.
# If you use another plugin for renaming in color,
# you can disable this option to avoid conflict.
Color-Enabled: true
# Whether to bypass the too expensive vanilla check.
Too-Expensive-Bypass: true
Cost:
# The minimum cost of an enchantment.
Maximum: 40
# Whether to send a chat alert when the cost is higher
# than the maximum vanilla limit.
Chat-Alert: true
# The message to send when the cost is too high.
Alert-Message: "&7ᴇɴᴄʜᴀɴᴛ ᴄᴏꜱᴛ &8» &c%cost%"
Resource-Pack:
# Whether to enable the resource pack.
Enabled: true
# The URL of the resource pack.
# The default resource pack only contains Roman numerals
# beyond enchantment level 10.
URL: "https://github.com/mvez73/roman_numerals/raw/main/roman_numerals.zip"
# The SHA-1 hash of the resource pack.
# The SHA-1 hash MUST match the hash of the resource pack.
# If the hashes do not match, the resource pack will not load.
#
# Generate your own SHA-1 hash here: https://emn178.github.io/online-tools/sha1_checksum.html
SHA-1: "3281e3d8fa8cfdf3a47591d22dfe33f49fda0df0"
Update-Checker:
# Whether to receive notifications about new versions.
Enabled: true
# How often to check for updates (in hours).
Check-Interval: 12
Formula and Enchant Cost
Enchanting and repair costs are calculated using Minecraft's original anvil formula.
Learn more here: Anvil Mechanics.
To exceed the 40-level "Too Expensive" cap, enable Too-Expensive-Bypass in config.yml and adjust the limit in the rank-specific YAML file.
Credits
Thanks to @Jikoo for letting me use code from his plugin AnvilUnlocker.
Note: ProtocolLib must be installed.
Colored Renaming
Rename your items with color!
See Minecraft Formatting Codes for available options.
Note: Only legacy color codes are supported; hex colors require the premium version.
Resource Pack
Players are prompted to install a resource pack when joining the server (configurable in config.yml).
It only adds Roman numerals beyond X (10) for enchantment levels — no other changes are made.
With this pack, Sharpness 15 will display as Sharpness XV.
Permissions
anvilenhanced.*— Grants all permissionsanvilenhanced.admin.reload— Reloads the plugin configurationanvilenhanced.enchant.bypassmaxlimit— Bypass the MAX_LEVEL limit when combining or using booksanvilenhanced.enchant.bypassuselimit— Bypass the MAX_LEVEL limit when using books onlyanvilenhanced.rename— Rename itemsanvilenhanced.color— Rename items with coloranvilenhanced.enchant.*— Grants all enchantment-related permissionsanvilenhanced.enchant.books— Combine two booksanvilenhanced.enchant.items— Combine two itemsanvilenhanced.enchant.item-book— Enchant an item with a book or combine identical-level enchantmentsanvilenhanced.enchant.use-books— Apply a book’s enchantment to an item
Commands
/aereload— Reloads the plugin configuration
Requests or help should be done in the discussion section or Discord; reviews are not monitored for support requests.
If you find the plugin useful, please give it a favorite!
All Versions
+ Add Version- Fixes an issue where disabling the resourcepack didn't work
- Fixes backwards compatability with InventoryView interface
- Fixes an issue where players cannot break/place blocks after using anvil
### **NOTE: Breaking Changes**
This update completely changes the way the config and rank files work. Thus, you need to delete and regenerate these files. Please make a back up prior to doing so.
### ⚡ Core Improvements
- Complete rewrite of the plugin for cleaner, more maintainable code.
- Optimized performance and reduced conflicts with other plugins.
- Refactored all core mechanics including enchanting, merging, and anvil handling.
### ✨ New & Improved Features
- Rank-based configuration system fully overhauled:
- Ranks are based on permissions and priorty. No need for Vault.
- Resource pack system expanded:
- Ability to define custom resourcepack
- Permissions structure cleaned and expanded for more granular control.
### 🛠 Configuration Changes
config.ymlandRanksfolder fully redesigned for clarity and flexibility.- Default configuration includes clear explanations for every setting.
- Cost, Too Expensive, and Color settings refactored for consistency.
This rewrite lays the foundation for faster updates, more features, and improved stability!
- Added** - You can now specify maximum cost by rank
- Fixed** - The "Too expensive!" module is now fully fonctional with 1.21+
- Added** - New option to enable/disable the update checker
- Added** - New enchantments from 1.21
- Fixed** - A small error in the config.yml (resouce-pack should have been resouce-pack-enabled)
You have to delete the config.yml file and the plugin will create a new one or you can modify:
``
resouce-pack: true
`
with
`
resource-pack-enabled: true
`
and add this at the bottom of the file:
`
#########################################################
# Enable or disable the update checker. If disabled, #
# you'll not see if there's a new version available #
#########################################################
update-checker-enabled: true
``If you find any bugs or want to submit a suggestion, please join my [Discord](https://discord.gg/Yw78UPcj)
If you like my plugin, PLEASE, let a review!!! ❤️
- New option** - You can now enable/disable the ability to rename with color in the anvil. Suggested by a member in discord to avoid conflict with other plugins like CMI that already has this feature.
- Fixes** - Fixed the code for groups and corresponding files where under certain conditions it could return an error in the console. Also removed debug code that i forgot (again...)
If you find any bugs or want to submit a suggestion, please join my [Discord](https://discord.gg/Yw78UPcj)
If you want to support me, you can do it in 2 ways:
Purchase my [Premium version](https://www.spigotmc.org/resources/anvilenhanced-premium-1-16-5-1-20-4.110141/) or Simply let a review ❤️
- Fix** - Possible errors if you delete the default.yml file.
- Fix** - Possible errors if you disable the too-expensive option.
- Add** - Warning in the console if you have too-expensive enabled but you don't have ProtocolLib installed.
- Added** - You can now enable/disable renaming with a new permission: **anvilenhanced.rename**
If you find any bugs or want to submit a suggestion, please join my [Discord](https://discord.gg/Yw78UPcj)
If you want to support me, you can do it in 2 ways:
Purchase my [Premium version](https://www.spigotmc.org/resources/anvilenhanced-premium-1-16-5-1-20-2.110141/)
Simply let a review ❤️
- Fix** - Fixed an issue where the text was green even if you didn't have enough levels when the too-expensive-enabled was set to false.
If you find any bugs or want to submit a suggestion, please join my [Discord](https://discord.gg/WJmxrz3S)
If you want to support me, you can do it in 2 ways:
Purchase my [Premium version](https://www.spigotmc.org/resources/anvilenhanced-premium-1-16-5-1-20-2.110141)
Simply let a review ❤️
- New feature** - Now you can enable/disable the message sent in the chat for the enchantment cost. You can also modify the message and add color (no hex color) to the message.
- Fix** - There was a bug with the message when renaming the item. The message was sent every time you added/removed a character in the input field. Now it's sent only once when changing the name and once again if the name is back to what it was.
- You have to delete the config.yml file to regenerate a new one***
Would like to see a BossBar instead? Check my [premium version](https://www.spigotmc.org/resources/anvilenhanced-premium-1-16-5-1-20-1.110141/)!
If you find any bug, please report it here or the [Discord](https://discord.gg/Yw78UPcj).
If you like my plugin, PLEASE, let a review!!!