AnvilLot ✪ A Limitless Forge Experience ✪ icon

AnvilLot ✪ A Limitless Forge Experience ✪ -----

Modify the repair cost of an anvil without limits or in any intrusive or confusing way.




[​IMG]

1.17.1 Support Added
With this update comes a number of changes in addition to support for 1.17.1. See those changes below.​

Change Log:
  • 1.17.1 Support Added
  • Forgeable Output can still be seen when cost is too high
    • Now just like in vanilla Minecraft, even if you can not afford to enchant or merge an item in the anvil, the output item will still display.
  • Removed Hard Limit sound effect from config
  • Replaced Too Expensive sound effect with Disabled Sound Effect
  • The Disabled Sound Effect will now only sound when attempting to retrieve an item that you can not afford
    • Before, clicking anywhere in the inventory would sound either the Too Expensive or Hard Limit sound effect - this has been resolved.
  • Removed version support for 1.16, 1.16.1, 1.16.2, 1.16.3, 1.17
You can also view this update here.
Please checkout the discord community to be kept up to date on any plugin releases, ask questions, offer suggestions, or be the first to test out any updates before any major release.
----------, Oct 26, 2021

ANNOUNCEMENT: I will be away for at least a few weeks starting July 1st. Please understand that for the following few months I may or may not be able to respond to any bug reports and/or concerns however that is not me ignoring you, I simply may not have access to the internet for some time until I am back. Thank you for your patience.

Update Log:
With this new exciting update comes support for 1.17 and Java 16. This update comes with plenty of improvements in stability for the plugin in 1.17. Improvements in performance has also been reported on 1.17 with this plugin. Please note that most of these added improvements may only really work on 1.17, earlier versions may not share similar changes.


Please checkout the discord community to be kept up to date on any plugin releases, ask questions, offer suggestions, or be the first to test out any updates before any major release.
----------, Jun 29, 2021

Hello everyone! This update resolves an issue where AnvilLot was unable to be compatible natively with 3rd party plugins that also modified certain functions of the Anvil, e.g. EnchantControl. Be sure to report any 3rd party plugin instances that do not function properly with this plugin by submitting a ticket on the github or notifying me directly on the community discord.

Features
  • New! Most 3rd party plugins that modify anvil mechanics should now natively work with AnvilLot.


Please checkout the discord community to be kept up to date on any plugin releases, ask questions, offer suggestions, or be the first to test out any updates before any major release.
----------, Jan 8, 2021

[​IMG]
1.16.4 Support!
With this update, I have added support for the latest version of 1.16. I have also patched a number of bugs, see the detailed report below. I want to thank the community for testing out this version of the plugin and reporting the bugs that would have gone unnoticed without their help. The config has been modified to introduce a new and exciting feature. Be sure to remove it before updating the plugin!

Features
  • New! A hard limit option was added to config. Stop the player from being able to repair their item an infinite number of times once the specified maximum repair cost is met.
Patches
  • Patched an issue with the anvillot.limit.# counting the specified value incorrectly.
  • Patched NullPointerException issue with renaming text.
  • Patched a bug where items were lost when repairing a damaged item in the anvil with more than the necessary amount needed.
Information pertaining to this update can also be viewed here.
Please checkout the discord community to be kept up to date on any plugin releases, ask questions, offer suggestions, or be the first to test out any updates before any major release.
----------, Dec 8, 2020

Hey there!
This update comes with a couple of "quality of life" fixes.
  • Players will no longer fall while flying when (or after) right clicking an anvil
  • Players will naturally fall when right clicking the anvil instead of "forcing" them to the ground (just like vanilla)
  • Players can now place blocks around the anvil instead of accidentally opening it (not sure how I didn't check for this before)
Shout-out to @geekmakes for reporting these issues.
----------, Oct 14, 2020

[​IMG]
With this update comes a ton of new and replaced features! Support for 1.16 has been added! Check the main page for a list of new features, but the custom repair process is far more streamlined and vanilla friendly. This version of the plugin now replaces the pre-existing anvil mechanics with its own, to give you more customization. Check out the new config!​
Code (Text):
# =============================================|  A N V I L  L O T  |================================================
#        Got an issue to report? Message me on either the discussion page, privately, or submit an issue report on
#        the github page!
#        Please leave a review on the spigot page, it truly helps a lot!
#        Solution developed by qruet
# ===================================================================================================================
# ===================================================================================================================
# The cost of xp levels for repairing a item
# Note this is not the total xp level for repairing both items in the anvil. (Lower Max Repair Cost drops the total)
# Note you can modify the max repair cost for each player with the permission anvillot.limit.#
Default Max Repair Cost: -1

# Variables:
#   rename_fee -> variable responsible for adding rename fee (maximum 1)
#   first_item -> Repair cost of item in 1st anvil slot
#   second_item -> Repair cost of item in 2nd anvil slot

# Responsible for the calculated cost of the anvil
Repair Cost Equation: "first_item + second_item + rename_fee"

# Responsible for the cost of the result anvil item
Repair Progression Equation: "round(max(1, first_item)*2)"

# ====================================================================================================================
# ====================================================================================================================
# This section is dedicated towards configuring the boss bar messages that popup throughout the repair process
Experience Bar:
  Enabled: true
  Title: "&a%level" # Title displayed on top of the boss bar
  Bar Color: "GREEN" # Possible Colors: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
  Bar Style: "SEGMENTED_12" # Possible Styles: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
  Fog: false
  Dark Sky: false

Too Expensive Bar:
  Enabled: true
  Title: "&cExperience Cost %cost"
  Bar Color: "RED"
  Bar Style: "SOLID"
  Fog: true # display background fog when warning pops up?
  Dark Sky: true # makes the atmosphere spookier
# =====================================================================================================================
# =====================================================================================================================
Too Expensive Sound Effect:
  Enabled: true
  # list of 1.15 bukkit compatible sound effects can be found here:
  # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
  Sound: "BLOCK_ANVIL_LAND"
  Volume: 0.1
  Pitch: 1.4
 
I know many of you have been asking for an update, so here it is!
----------, Oct 11, 2020

This is an important update that should be installed for those using versions 1.14+

This update is simply a bug fix. Thank you to those that have reported it. I wish I had resolved it sooner however I am and have been for the past couple of weeks away from the states so it has been hard for me to work on the plugin.


For those wondering why I am updating this resource with the same exact bug fix update, it is because I was unaware that the last update, the old resource was uploaded instead of the up to date version with the bug removed. I apologize for the inconvenience this may have caused.
----------, Jul 4, 2019

This is an important update that should be installed for those using versions 1.14+

This update is simply a bug fix. Thank you to those that have reported it. I wish I had resolved it sooner however I am and have been for the past couple of weeks away from the states so it has been hard for me to work on the plugin.

Also, I wanted to warn everyone that I am aware now of a visual bug where limiting the maximum cost doesn't have a visual effect on the anvil, but in execution the level cost deducted is as expected. For example, utilizing the permission, maxrepaircost.limit.100, will deduct a maximum of 100 levels, however the anvil will still show that the cost is higher than that. For now, have your players ignore it, I will try to work on a fix once I find the time again.
----------, Jun 21, 2019

I want to first apologize for my absence. I know many of you have reached out to me, asking for an update or even reporting bugs that I should have addressed a long time ago. For this reason I come out with this update to make up for my absence. It's a pretty large update, I have gone through and recoded all the classes from the ground up basically, and added a number of optimizations and reflections to future proof this plugin (unless some absolutely major update comes along). The mechanics of how this plugin alters the exp cost amount in the anvil has modified with a safer alternative. Currently however, the plugin only supports now 1.13 - 1.14 but I'll hopefully come out with a solution soon that will support earlier versions.
Important: The configuration has been modified slightly to support earlier item material identifiers from before 1.13 (hopefully support will be added for those earlier versions soon) and the newer identifiers for 1.13+ This means remove your config and let a new one generate or else the plugin will not work.

Also those that have addressed to me regarding the ability for players to mix enchantments with items that shouldn't be enchantable, e.g. sharpness 5 on a wooden stick has been resolved with this update.

Also permissions have been modified.
Admin Perms:
maxrepaircost.admin.reload
- Reloads config
User Perms:
maxrepaircost.help
- Pulls up info menu
----------, Jun 1, 2019

Thank you @KoKoBerry for reporting an IndexOutOfBoundsException error. This issue has been resolved.

Source code has also been cleaned up a bit. Updates to the source code can as always be viewed on the repository page for this plugin.
Source Code: https://github.com/Geeveloper/MaxRepairCost

----------, Dec 15, 2018

This update resolves an interaction issue when attempting to retrieve the forged item within the anvil. Thank you @KoKoBerry for reporting this issue.

Again I want to remind everyone that the plugin is still in its early stage of development and therefore bugs can still be lurking around. Thank you again to everyone who has helped report these errors.

----------, Dec 6, 2018

It is important that you install this version of the plugin since it provides a fix to a few major things that I mistakenly overlooked that could result in duplicating items or loss of experience if certain interactions are performed within the anvil's UI.
Thank you @Chris90 for reporting the error.​
----------, Dec 4, 2018

Resource Information
Author:
----------
Total Downloads: 9,066
First Release: Dec 3, 2018
Last Update: Oct 26, 2021
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings