AnvilEnhanced 1.16.5 - 1.21.4 icon

AnvilEnhanced 1.16.5 - 1.21.4 -----

Let players use anvil to enchant over the vanilla limit and rename in color.




Hey guys. Sorry for the lack of update recently but i lost motivation to continue and i almost quit... I finally have a fix for the Too expensive module that was broken since 1.21. I also add a new option so you can now set maximum cost per rank.

Added - You can now specify maximum cost by rank in the bottom of each file.
Fixed - The module for the "Too expensive!" is now fully functional.

If you find any bugs or want to submit a suggestion, please join my Discord

If you like my plugin, PLEASE, let a review!!! ❤️
----------, Dec 25, 2024

Added - New option to enable/disable the update checker

Fixed - A small error in the config.yml (resouce-pack should have been resource-pack-enabled)

You have to delete the config.yml file and the plugin will create a new one or you can modify:
Code (YAML):
resource-pack : true
with
Code (YAML):
resource-pack-enabled : true
and add this to the bottom of the file:

Code (YAML):
#########################################################
# 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

If you like my plugin, PLEASE, let a review!!! ❤️
----------, Mar 24, 2024

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

If you like my plugin, PLEASE, let a review!!! ❤️
----------, Feb 25, 2024

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.

If you find any bugs or want to submit a suggestion, please join my Discord

If you want to support me, you can do it in 2 ways:
Purchase my Premium version
Simply let a review ❤️
----------, Feb 24, 2024

New - You can now enable/disable renaming with a new permission: anvilenhanced.rename
The permission is enabled by default. You need to set the permission to false to prevent a player from renaming an item with the anvil.

If you find any bugs or want to submit a suggestion, please join my Discord

If you want to support me, you can do it in 2 ways:
Purchase my Premium version
Simply let a review ❤️
----------, Feb 4, 2024

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

If you want to support me, you can do it in 2 ways:
Purchase my Premium version
Simply let a review ❤️
----------, Dec 1, 2023

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
----------, Oct 4, 2023

New feature - Now the player receive a message with the cost of the enchantment when the cost is over the limit set in the config file.
Would like to see a BossBar instead? Check my premium version!

If you find any bug, please report it in the discussion section or the Discord. Please do not use de review section to report a bug.

If you like my plugin, PLEASE, let a review!!!
----------, Sep 19, 2023

Fix - Fixed a condition where you didn't keep the level of the enchantment when it was higher than the limit set in the default.yml file or any other <rank>.yml file

Change - Commented lines for additional groups. Only the default group is active by default in config.yml

Change - Clicking on Download now will now redirect you to the plugin's Modrinth page. You'll be able to download it from there.
----------, Sep 6, 2023

Looks like I forgot to upload the new file
----------, Aug 9, 2023

Improvement - Modification of the conditions when merging 2 items. Now you keep the correct level when you combine 2 items according to the permissions you have, the level of the enchantments on the items and the limit set in the default.yml file. (or any <rank>.yml)

I'm going to do a little more in-depth tutorial as soon as I have time so that everything is clearer with permissions and groups.
----------, Aug 9, 2023

Fix - Now when you combine 2 items and you have anvilenhanced.enchant.use-books and anvilenhanced.enchant.bypassuselimit permissions you keep levels on both items. For example 1 Chestplate with Protection VI combined with 1 Chestplate with Unbreaking V will result in 1 Chestplate with Protection VI + Unbreaking V
----------, Jul 31, 2023

Fix - I changed the conditions to make them even more logical with permissions and level limits

New - New permission anvilenhanced.enchant.bypassuselimit

Change
- anvilenhanced.bypass is changed to anvilenhanced.enchant.bypassmaxlimit

Now with those 2 permissions you can bypass the limit separately for:
anvilenhanced.enchant.use-books
and the 3 other permissions:
anvilenhanced.enchant.book
anvilenhanced.enchant.item
anvilenhanced.enchant.item-book


That means that you can let your players combine enchantment up to level 6 but use books to enchant items over that limit.

If you have any questions or suggestions, or if you find bugs, please join the Discord https://discord.gg/WJmxrz3S or you can post here on Spigot in the discussion section.
----------, Jul 3, 2023

Fix - The plugin is now "compatible" with Excellent Enchants and probably other plugins that add custom enchantments.
By compatible i mean that AnvilEnhanced will not throw any errors in the console and continue working as expected for vanilla enchantments. Custom enchantments will simply be ignored by AnvilEnhanced.

Fix - I forgot to remove debug code when player join. It's now fixed.

As usual, if you find any bugs or have suggestions, do it in the comment section and not in the review section. You can also do it in my Discord https://discord.gg/WJmxrz3S

If you like my plugin, please let a review.
----------, Jul 1, 2023

You don't need to update. This update contains only a new option in the config.yml to enable/disable the resource prompt when players join the server. (Enabled by default)
This option has been requested by a member on the Discord. If you have suggestions, feel free to join the Discord to post it.
If you update, you need to delete your config file so a new one will be created or you can add this code to the bottom of the file:
Code (YAML):
#########################################################
# If you disable this option, players will not be       #
# invited to download the resource pack. The resource   #
# pack does not contain any images and does not alter   #
# the appearance of the game. It only adds Roman        #
# numerals beyond 10.                                   #
#########################################################
resource-pack
: true
----------, Jun 13, 2023

Hi everybody! This update include some fixes and a little new feature

Fix - The cost in level is now calculate properly. The prior penalty cost wasn't calculate and it was very cheap to enchant super weapons/tools/armors.

Fix - There was an issue if you didn't create the files for each rank in config.yml. Now the plugin check if the file exist and if not, use the default.yml file instead. The default.yml is always there since the plugin create it at startup and reload if it's missing.

Add - Each <rank>.yml files are now cached.

New feature - Now when you join the game it ask you to install a resource pack. If you accept, you'll see:
Sharpness XV
instead of:
Sharpness enchantment.level.15

I hope i didn't forget something supid like debug code or anything else. If you find a bug please report it here on Spigot or in my Discord
----------, Jun 11, 2023

One more update. Sorry for the intensive updates of the last days. I modified a lot of code and for lack of time I wanted to go too fast to deploy the plugin. It's 11h30 pm and i work tomorrow morning. I hope i didn't forget anything stupid that will result with another fix update...

Thanks to all of you who use my plugin!

Fix - Enchantments with 1 level like Mending wasn't applied correctly. It's now fixed and should work in any combination: Items + Items, Books + Books and Items + Books.

Change - The plugin now checks if a permission plugin is installed and sends a message to the console depending on whether it finds one or not. This check extends to looking for rank in the config file. If no permissions plugin is found, it returns the default rank. Same thing if it can't find a matching rank between the config file and the player's primary rank.

Add - First part of the caching system. Now the values of the config file are stored in cache at server startup. Next step, caching values of the <rank>.yml files. This will be done this weekend so expect another update saturday or sunday.
----------, Jun 3, 2023

Fix - Sorry i forgot 2 lines of debug when you try to merge 2 items
----------, Jun 1, 2023

Fix - New subfolder and file wasn't created with a new installation. Now they are created as expected.

Sorry for that. I changed a lot of things in the previous update and bugs may appear. If you find any, report it in the discussion section or in my new Discord
----------, May 31, 2023

Here's a new update!!!

Fix - Now you can use the anvil with books or items under the vanilla limit without permissions.
Add - New permission anvilenhanced.enchant.use-books to use books to enchant an item without the possibility to increase enchantment levels.
Change - Now you can use any permissions plugins. I now use Vault to check permissions. Obviously, Vault is now a dependency to use AnvilEnhanced.
Change - I changed a lot of conditions. Now it's more logical the way levels are handle if the level is over the config limit or just over the vanilla limit.
Change - New update checker for my plugin. You'll see a message in the console AND in game if you're OP.
Change - The default.yml and all others .yml files for every rank are in their own sub folder "Ranks". Once you restart the server, just move the files you already created in that folder.
Change - The reload command is now /aereload.

And some code cleaning...

If you find any bugs, please report it in the discussions section. Thanks!

If you like my plugin, please let a review!!!
----------, May 29, 2023

Fixed merging 2 books. Now enchantment level is increasing.
Fixed update checker. Now it shows version plugin and your version correctly.

Please update and if you like the plugin let a review. It's really appreciated and it helps sharing the plugin
----------, Apr 17, 2023

Bug fix:
  • Fix a bug where player could enchant items or book with incompatibles enchants like Sharpness+Smite
----------, Sep 22, 2022

Hey guys! Small update today to fix a bug.

Bugs fix:
  • Fix bug where player can enchant item with a non compatible enchantment.
Other:
  • Code cleaning
----------, Aug 4, 2022

Hey guys! This version include some bug fixes and a new feature. You can now set enchantment max limit per user rank.

You have to delete your config.yml to generate a new one and a new file named default.yml
Now enchant limits are stored in default.yml and no longer in config.yml
You have to setup your rank in config.yml with the highest rank in first and the lowest in last.
After you just have to copy default.yml for every rank that you added in config.yml. For example if you added:
- admin
- vip
- member
- default
You'll have to create admin.yml, vip.yml and member.yml and change the value to what you want in each file.
If a user with the rank vip use the anvil and you didn't create a vip.yml file, it will use default.yml
It will work with LuckPerms and PermissionEx too i think. Confirm it in the discussion section please if it works with PermissionEx.

If you find bugs please report it in the discussion section and not in the review section. Thanks!

This update include:
  • - Update version to 2.2.0
  • - Fixed permissions
  • - Added new enchant Swift Sneak to be compatible with 1.19
  • - Add per rank permissions
  • - Changed Update Checker console level. Now you see the new version in yellow
  • - Code clean up
----------, Jul 13, 2022

Sorry guys it seems that i uploaded 2.1.0 last update... I uploaded the good file this time.

**EDIT"" Seems that something's wrong with the upload... Still 2.1.0 file when i click on download now. I'll check this later after work. Sorry for the inconvenience.

**EDIT 2** Here's a link to download version 2.1.1 until i find why Spigot doesn't upload my new file.
Version 2.1.1 is HERE
----------, Jun 29, 2022

Hey guys! I finally found how to fix the permission bug. There was many bugs in fact. I managed to fix them and i clean the code a little bit so the next time it will be easier to fix or update.

If you find any bugs with permissions or anything else let me know in the discussion.
----------, Jun 27, 2022

You can now enable/disable the too expensive module in the config.yml

Delete the config.yml to regenerate a new one or add this to the file.
Code (YAML):
too-expensive-enabled : true
I also modified the maximum cost to match the new variable. If you don't delete the config.yml, you'll have to modify the variable name yourself.
Code (YAML):
maximum-cost : 40
Last thing, i modified the permission so don't forget to change it for your players
  • anvilenchanced.* -> All permissions.
  • anvilenchanced.admin -> to reload the config.
  • anvilenchanced.bypass-> to bypass the MAX_LEVEL limit.
  • anvilenchanced.color -> to rename item in color.
  • anvilenchanced.enchant.* -> All enchant permissions.
  • anvilenchanced.enchant.books -> To combine 2 books.
  • anvilenchanced.enchant.items -> To combine 2 items.
  • anvilenchanced.item-book -> To enchant an item with a book.
If you find bugs please report it here in the discussion section and not in the reviews. Thanks!
----------, Apr 27, 2022

Now the plugin is really compatible with 1.16+
The plugin need java 16 or higher to run
----------, Apr 23, 2022

Sorry i forgot to change the permission for the reload command. Just upload the new file.
----------, Apr 22, 2022

Lots of changes!
You now can combine 2 books and not only 2 items.

Enchanting cost is now properly calculated. If you want to understand how it's calculated, check this website: Anvil mecanics

Autodect server version to enable/disable the posibility to rename in color. Check this website for the Formatting codes

You can configure the 40 levels maximum (Too expensive) in the config.yml
Big thanks to @Jikoo for letting me use the code from his plugin AnvilUnlocker to achieve this.

You can now configure max level for each enchant.

Some code cleaning...
----------, Apr 21, 2022

Resource Information
Author:
----------
Total Downloads: 13,212
First Release: Sep 6, 2020
Last Update: Dec 25, 2024
Category: ---------------
All-Time Rating:
18 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings