EnchantPlus
EnchantPlus
Description
EnchantPlus allows you to enchant items more than one time with an enchantment table and it has various commands for admins or users to enchant every item manually with customisable level costs. Everything is customisable in the config and there are bypass permissions for all checks!
Features
- Enchant items more than one time smoothly with the enchantment table
- Enchant items manually with commands
- Highly customisable settings for the enchanting commands and the enhanced enchantment table
- Display a list of all enchantments or their descriptions
- Display all applicable enchantments of certain items
- Enchant items with enchantments up to the maximum level (32767)
Note: All listed features above are always referring to the newest version of EnchantPlus!
The multiple enchanting feature is currently bugged and it sometimes occurs that no enchantment offers show up even if there are still applicable enchantments. As a temporary fix you can repeatedly remove an item from the enchanting inventory and put it back in until the offers show up.
(This seems to be an issue of newer Minecraft/Spigot versions since it works perfectly fine on 1.12 for example)
Metrics
This plugin uses Metrics by BtoBastian to collect various data from servers.
If you don't want Metrics to collect your data you can disable it easily by setting enabled to false in the config file at plugins/bStats/
Commands & Permissions
Command | Description | Permission |
/plus add <name/id> <level/natural> | Adds an enchantment to the item in your hand | enchantplus.command.add |
/plus mighty <level/natural> [applicable] | Adds all existing enchantments to the item in your hand | enchantplus.command.mighty |
/plus remove <name/id> | Removes an enchantment from the item in your hand | enchantplus.command.remove |
/plus purify | Removes all enchantments from the item in your hand | enchantplus.command.purify |
/plus list | Shows a list of all enchantments and their respecting names and ids | enchantplus.command.list |
/plus description <name/id> | Shows an advanced description of an enchantment | enchantplus.command.description |
/plus applicable | Shows a list of enchantments that can be currently applied to the item in your hand | enchantplus.command.applicable |
/plus reload | Reloads the whole plugin | enchantplus.command.reload |
/plus help [page] | Shows the help pages | - |
- | All command permissions |
enchantplus.command.* |
- | Level limit check bypass permission | enchantplus.bypass.limit |
- | Conflicting enchantment check bypass permission | enchantplus.bypass.conflicting |
- | Inapplicable enchantment check bypass permission | enchantplus.bypass.inapplicable |
- | Item amount check bypass permission | enchantplus.bypass.amount |
- | Power source check bypass permission | enchantplus.bypass.power |
- | Level restriction check bypass permission | enchantplus.bypass.restriction |
- | Enchanting cost check bypass permission | enchantplus.bypass.cost |
- | All bypass permissions | enchantplus.bypass.* |
- | All plugin permissions | enchantplus.* |
Bugs & Suggestions
If you find any bugs or have any suggestions for this plugin don't hesitate and send me a message or post a comment down below! Alternatively you can use the DevBukkit issue tracker or the GitHub issue tracker.
New version has been uploaded, sorry for the long waiting time!
@themrstamp
There's no way to do that, yet! I may add also a list for this section so you can do specific max levels for specific enchantments.
Plis help me I have config:
Help max knockback is 7 ! Plis Give Me config max knockback 2 and sharpness protect ... is 7 !
@Woggle00
Hmm, then I probably have to change it to this next version:
- Enchant with durability 1 -> 2 xp
- Enchant with durability 2 -> 13 xp - 2 xp = 11 xp
- Player has paid a total of 13 xp for level 2 which would be correct
Any other suggestions for the next version?
Hi Darkbladee,
first of all: Thank you for the great mod!
I think I found a bug in the calculation of the level cost.
Lets say I have an item with no enchantments. If I enchant the item with level 2 durability, it would cost 13 xp (based on the formula from KurinPawpad, 11 * (2-1) +1 = 13), which is okay.
If I enchant the item with level 1 durability first and add the second durability level later, I only have to pay 4 xp for the same enchantment.
In short:
/ep enchant durability 2 --> cost: 13 xp
But:
/ep enchant durability 1 --> cost: 2 xp
/ep enchant durability 2 --> cost 2 xp
--> Total: 4 xp
Thanks for all the work!
@Unit422000
I'll add an option in the new version, where you can restrict players that they can only enchant tools and books! (of course with a bypass permission)
can you make the maximum level for the enchantments more than 127?
This is possible in the version I'm currently developing! ;)
Firstly, I'd like to say I really am loving this mod and thank you for your work on it. I hate to come here and post a complaint, as I really do enjoy this mod and how you continue to update it.
That said, I'd like to submit a quick bug. I'm not sure if I'm the only one seeing it, but it seems like you can enchant anything with any enchant. This is really fun and useful as a dev or OP just making funny stuff, but I'm trying to configure it so that my players can buy enchants for items, which is a bit iffy when they can enchant a fish with Sharpness 5 and have a weapon with no durability.
Thanks in again for all your work :)
@Quartos
@KurinPawpad
Ah ok, I didn't know that you can't combine these two ones so I'll make it configurable so you can decide by yourself what you want (of course there will be a bypass permission). Hmm I think I'll use that formula or even make it possible to use your own formula! ;)
As I discovered by myself today, Looting is applicable on a bow by using an anvil, so forget this part of my bug report please, I'm sorry. :x But everything else I said and everything KurinPawpad says is true I think.
@DarkBladee12
As for combining something like Sharpness and Smite, it's not possible even with anvil/book. Tried it on vanilla, it goes with whatever was there first (Sharpness first, then smite = sharpness, smite first then sharpness = smite)
As stated in the MC wiki things like silk touch and fortune cannot be on the same item because they are conflicting, you cannot pick up multiple of the same dropped block, for instance. The damages inflicted by Sharpness and Smite also do not stack, as detailed in the coding itself, so there's no reason to have both on the same sword.
Hello! New user of the latest version of EnchantPlus and I must say that I love it! There's just one major hangup with the current 'levels per enchant level' setup. Minecraft vanilla isn't a flat leveling system.
Every single enchantment has a standard slope/intercept format, and that format is:
Per-Enchant-Level * ( Enchant-Level - 1) + Base-Cost
For instance, Protection's enchant starts with a cost of 1 Level for Protection I, then 12 Levels for Protection II, and 23 for Protection III, and 34 for Protection IV. That works out to 11*(x-1)+1
If you could offer that functionality (Configurable Base-Cost and Per-Enchant-Level, rather than simply Per-Enchant-Level) that would be perfect!
Are you sure about this? If I combine a Sharpness V Sword with a Smite V book, the result is a sword with sharpness V, not with both enchantments. I'm pretty sure this isn't possible. :/ But thank you again that you'll fix the other issues! :-)
@Quartos
Sorry, but I'm not going to add this kind of restriction, because players could also add both enchantments via anvil... I'm looking that I can fix the other issues you've posted!
We found some other problematic issues while using the /ep enchant command. :/ It's possible to apply two normally conflicting enchantments on a tool, even if the player just got the "natural"-permission. For example, you can apply silktouch and fortune at the same time on a pickaxe, or sharpness and smite, protection enchantments on armor probably too (haven't tested it, but it's very likely I'd say). Is it possible to restrict players from doing this?
Sorry if I'm annoying you with this stuff, of course I don't want to stress you. :|
Thank you for the update, seems everything is working fine! :D There are two small bugs though I would say. First, using /ep applicable with a bow displays "Looting III" (ID 21) as an applicable enchantment. That's not true I think, a natural enchanted bow can't have Looting. Or am I wrong? Second, I usually rewrite the enchantment list in the config. That's the result:
Enchantments: Protection: 0 FireProtection: 1 FeatherFalling: 2 BlastProtection: 3 ProjectileProtection: 4 Respiration: 5 AquaAffinity: 6 Thorns: 7 Sharpness: 16 Smite: 17 BaneOfTheArthropods: 18 Knockback: 19 FireAspect: 20 Looting: 21 Efficiency: 32 Silktouch: 33 Unbreaking: 34 Fortune: 35 Power: 48 Punch: 49 Flame: 50 Infinity: 51
All in all I delete some synonymes and add capital letters, as you can see. The problem in the new update is: Some enchantment names accept these letters and display them correctly when using /ep applicable. But the most of the enchantment names are displayed without them. All names are correct, it just seems sometimes there's no case sensitivity. What's the reason behind this, and how can I fix this?
New version has been uploaded, should be available to download soon ;P
Ok guys, I have some time today so I hopefully will be able to finish the new version! ;)
i have this problem where it wont go to level 10 anymore but its set in the confiq : /