Enchantment Upgrade
UPDATED TO 1.11.2
I took some time to try out things with 1.11.2 (per request, thanks FatalBlade!), and it seems to work really well! This means that 1.11.2 will become the main supported version. If your server is running on 1.10 or 1.9, please send me a message and I'll work on updating!
Thanks for 6000+ downloads!
The ultimate plugin for anyone who likes strength on the battlefield! ... or just likes slaughtering pigs with Sharpness 10.
What Does it Do?
This plugin aims to make enchantments just a little bit more powerful. This doesn't replace the default enchanting, however! Using this plugin, you can setup an altar to upgrade all of your enchantments (ya know, Enchantment Upgrade). For instance, with enough patience, materials, and desire for strength, you could increase the Knockback 2 of your OP Diamond Sword to Knockback 10! Be warned: using the altar does cost a lot of materials!
How to Build & Use the Upgrade Altar
The altar formation can be found here
Once the altar has been created (you should get a message confirming this), you can simply left-click on the enchantment table with any item that has an enchantment on it! Click on the book containing the enchantment you want to upgrade, or click the CANCEL button to change your mind.
Commands
/altar - Sends the player a link to the altar formation page, no permissions needed
Permissions
enchupgrade.create - Allows player to create Upgrade Altars
enchupgrade.use - Allows player to use Upgrade Altars
enchupgrade.break - Allows player to break Upgrade Altars
enchupgrade.<one of the above>.<WorldName> - Prevents player from doing specific action in named world (Needs Feedback!)
To-Do
I am always going to be looking for ways to add something new to this plugin, so feel free to give some suggestions!
Configurable option to not destroy the altar on use(version 3.0.6)- Minor changes to how upgrade are made
- Minor changes to cosmetics
- Altar Ownership + "friend list"
Per-world permissions(version 3.0.6, untested)- More stats for use on MCStats
Update to 1.11.2- Ability to use XP instead of breaking altars
Known Bugs
breakOnUse: false doesn't work
FAQ
Q: Does the beacon need to have the beam show in order for me to upgrade?
A: No, the beacon light is purely cosmetic, in this case.
Q: What happens when I upgrade my enchantment?
A: The blocks will be removed by a magical explosion.
Q: Are my altars protected from other people?
A: No. Altars can be used by anyone and broken by anyone (so long as they have the permission). Be careful where you place them! (subject to change!)
Q: Do you offer help for this plugin?
A: Yes! If you have issues while using this plugin, I'll gladly help! Send in a ticket, leave a comment, or PM me!
Metrics
This plugin uses Metrics to track various stats about the plugin's usage. http://mcstats.org/plugin/EnchantmentUpgrade
As always, your support is greatly appreciated!
# This section contains settings for the enhanced Enchantment Table
# Enhanced Enchantment Table means that you can enchant items multiple times instead of just one
Enhanced_Enchantment_Table:
# Determines whether enhanced Enchantment Table is enabled
Enabled: true
# Determines whether a fake item which represents the previous state of the item that is being enchanted will be shown at the first hotbar slot in your inventory
Show_Item: true
# This section contains settings for the level cost increase of the enhanced Enchantment Table
Level_Cost_Increase:
# Determines whether the level cost increase is enabled
Enabled: true
# This is the value of levels all offered level costs of the enchantment table will be increased by per enchantment
# (<normal_cost> + <enchantment_amount> * <value>)
# For example one option in the enchantment table costs 5 exp levels, but your item has already 2 enchantments and the value is set to 5, so the cost will be set to 15
Value: 1
# This section contains settings for the enchantment stacking of the enhanced Enchantment Table
Enchantment_Stacking:
# Determines whether enchantment stacking is enabled
Enabled: true
# This section contains settings for the max level of the enchantment stacking
Max_Level:
# Determines whether the max level is enabled
Enabled: true
# This is the value of the default maximum level of an enchantment
# Uses the natural maximum level of an enchantment if set to 0
Default_Value: 0
# This is a list of custom max levels values of enchantments
# This value will override the default max level of the specified enchantments
# Format: <name/id>-<max_level>(, ...)
List: knockback-10, sharpness-10, protection-10, protectionfire-10, protection fire-10, fallprotect-10, fall protect-10, explosion protect-10, explosionprotect-10, projectileprotect-10, projectile protect-10, thorns-10, fireaspect-10, fire aspect-10, power-10, flame-10, durability-10
# This section contains settings for the manual enchanting with the "/ep enchant" command
Manual_Enchanting:
# Determines whether the player is allowed to have two conflicting enchantments on an item (for example "Sharpness" and "Smite")
# Bypass permission: EnchantPlus.bypass.conflicting
Allow_Conflicting: false
# Determines whether the player is allowed to apply enchantments to an item that aren inapplicable for it (for example "Sharpness" on a pickaxe)
# Bypass permission: EnchantPlus.bypass.inapplicable
Allow_Inapplicable: false
# This section contains settings for the condition to have an enchantment table around to enchant something with the command
# Bypass permission: EnchantPlus.bypass.condition
Enchantment_Table_Condition:
# Determines whether the enchantment table condition is enabled
Enabled: false
# This is the value of the range the enchantment table has to be within to make the player able to use the command
Range: 5
# This section contains settings for the level restriction of the "/ep enchant command"
# Bypass permission: EnchantPlus.bypass.restriction
Level_Restriction:
# Determines whether the level restriction is enabled
Enabled: false
# This is the default value of the max level that players can enchant if they don't have the bypass permission
# Uses the natural maximum level of an enchantment if set to 0
Default_Value: 30
# This is a list of custom level restriction values of enchantments
# Format: <name/id>-<value>(, ...)
List: sharpness-7, protect-10, looting-8
# This section contains settings for the level cost of the "/ep enchant command"
# Bypass permission: EnchantPlus.bypass.cost
# Cost formula: <per_level> * (<level> - 1) + <base>
Level_Cost:
# Determines whether the level cost is enabled
Enabled: false
# This is the default base value
Default_Base_Value: 2
# This is the default per level value
Default_Per_Level_Value: 11
# This is a list of custom cost values of enchantments
# Format: <name/id>(-b<base>)(-pl<per_level>)(, ...)
List: silk-b3-pl14, feather-pl9, thorns-b5
# List of settings for regaining levels option
Regain_Levels:
# Determines whether regaining levels is enabled (for example you downgrade an enchantment by 1 level you will get the levels for 1 level back)
Enabled: true
# This is the default value of levels the player will get back for downgrading an enchantment per level
# Uses the natural maximum level of an enchantment if set to 0
Default_Value: 0
# This is a list of custom regain levels values of enchantments
# Format: <name/id>-<value>(, ...)
List: fortune-5, respiration-2, looting-4
It would be great and I would give you money for the complement, if you could enchant again and again at the table asking for levels and that the enchantments can be joined as the blow with the sharp or the protection with other protection
In reply to enyelninetynine:
I'll see about adding that! I think in the update I was working on a while back, that was the end result, but I've been inactive for so long and had a ton of other things going on that I just haven't gotten around to it
Hello friend, what can I do so that it is not destroyed?
and to ask for many levels
I'd like to have an altar that always exists but use world guard to have a timer for people in there. They get 10 seconds for x amount of $. I have the permissions worked out for the world and command signs on the doors. But I can't keep the altar from blowing up. Any ideas?
In reply to adamisboxed:
In reply to GamerBah:
Any word on when the break on use feature will be configurable again?
So when i try right clicking the altar after i create it and says in chat that i made it. I left click it with my vanilla maxed out diamond sword to try and upgrade its sharpness. When i left click it just opens an enchantment table gui not the one i see in the images. Im running a 1.11 spigot server.
Edit: So i tried doing it with an item without enchantments and it said i need to empower the item. So the issue is detecting a left click with an enchanted weapon.
Edit2: So i figured it out by looking at the error code its giving me. The issue is that im on 1.11 where there is no sweeping edge so one of the slots is sweeping edge. Since i dont have sweeping edge in 1.11 it bugs and errors so that it causes the whole system to fail. If you can create a 1.11 version without sweeping edge that would be nice.
Thanks for the bug report! I'll look into that ASAP, as that is some odd behavior that I didn't expect.
Update! Update! Update!
@SoSeDiK
@pmbtexas
Unfortunately there's something very wrong with the 1.10 (as well as 1.9) versions. After fixing the issue with not being able to click the books, the upgrade results became very... unpredictable, let's say. Sometimes it would upgrade, other times it was delayed... I'm not quite sure what's going on. It might be only 1.10 Spigot's timings, as that's what I tested on. I'll be sure to message you guys when I find a fix. Thanks for your patience!
@SoSeDiK
Hmm alright, thanks for letting me know! I'll get a fix done today!
I am using 1.10.2 When I click the books to upgrade it does nothing too.
@pmbtexas
Hmm, I'll look into the problem you're having with clicking the books..
.. as for the breaking a block, if you break any block that is part of the altar, the altar will explode (and give you blocks back, of course). This is just to make sure players can't take blocks away from the altar and then do the upgrade.
Thanks for the report, though!
Everything Built fine and looks great!! When we punch the table with the item to upgrade it opens the table with the upgrade books but, when you click the books to upgrade it does nothing at all
So we broke it down a block to rebuild and it exploded , we rebuilt and same thing
We are using 1.9
We would like this to work seems like a great plugin !!
@GamerBah
Cool thanks.. I will wait for that update to install it.. I want to put them in the hub so people can just come there and update when they get a new rank.
Looking forward to it.
@Latamier
Versions for 1.9 and 1.10 will be coming shortly (in a few minutes, actually :P )
And YES! That sounds like a great idea! I'll work on adding that in to the next update. Thanks!
So looking forward to seeing this plug in come to 1.10. Also, any chance of adding permissions to each level ? Example: if I have 3 groups a, b, and c. and I want to spread out the levels they can upgrade to where group a can upgrade items to level 6 and group b can upgrade to level 7 and group c can upgrade to level 8 and so on... that would be a nice rank perk.
Would that be possible ? Thanks
@VeteranWolfy
Plugin is only made for 1.8 at the moment. I'm currently working on updating it, don't worry! Sorry about the confusion!