Enchant Handicap
ENCHANT HANDICAP
NEW BETA UPDATE!!!!
I have added some extra features. Not all work yet. I modified the code to be easier for me to quickly update this plugin. Please test it, Try to break it. Download the beta at http://dev.bukkit.org/media/files/662/948/enchantHandicap2C.jar
Stable Older Version
This plugin was written to give server admins power over what enchants and enchantment levels are allowed on his or her server. Some of the enchantments in minecraft are EXTREMELY over powered and make users not want to PVP at all. You can be the greatest fighter in the world, but you will nearly always lose to the guy with a sharpness V sword. This plugin aims to put a stop to this. Now you can select what the max level for each enchantment will be. You can even not allow certain enchantments such as sharpness or silk touch if you want. The power is yours!
The only reason this plugin hasn't been updated since May is I really only update it when I am made aware of / discover a bug. Thankfully its been working perfectly since the last update. I like to keep my plugins simple and lightweight as Minecraft can be a hog.
This plugin applies universally to players and administrators. In the near future I will be expanding it with permissions for admins and player groups. Potentially making certain enchantments a donor perk for your server.
If you have any features you would like added message me and I'll see what I can do.
Please report any problems you have with this plugin to me. If you would like to see it in operation it is currently in use on play.last-horizon.net
I'd also like to thank everyone for the donations I've received. I'm glad my plugin could be of service to you.
DOWNLOAD
http://dev.bukkit.org/media/files/595/829/enchantHandicap.jar (Latest Version)
INSTALLATION
Save the file above in your plugins folder and start your server. The plugin defaults to allowing ALL enchants so follow the configuration below to setup.
CONFIGURATION
- Modify the config.yml file in /plugins/enchantHandicap
- The number next to the enchantment name is the maximum level you want your users to be able to attain. (Will not go above minecraft's maximum limit)
- If you do not want an enchantment available at all put a zero for the maximum level.
- reload your plugins.
- ENJOY YOUR NOW LIMITED ENCHANTMENTS!
COMMANDS
/maxenchants - will show user the maximum enchantment levels for all enchants.
BUG REPORT
If you notice ANY bugs or issues or quirkiness don't hesitate to contact me. Create a ticket and message me on here. I'll do my best to have it resolved in as little time as possible.
1.3 UPDATE INFORMATION
I will definitely be updating this plugin for 1.3. I should have the update released the day 1.3 is out. I have college Monday-Thursday till 5ish so expect the update shortly after.
Update (7pm 8/6/2012) I installed craftbukkit 1.3 and ran a few tests with enchant handicap and everything still appears to work exactly as it did without changing any code. If any of yall notice any issues please alert me, I'm thoroughly testing this before the official update is out.
Donate
If you like enchantHandicap or any of my other programs feel free to donate.
Also if you would like custom plugins written feel free to contact me and we will work something out.
Mr. Ainast, I dare do wonder to know if such a nice and nifty plugin shall be updated.
Anyway, I tested this plugin just now. Minecraft 1.4.5, it works. I'd suggest you REMOVE the messages it displays, though, as they are very misleading. Or, change them to imply that the enchant they could've got was decreased as result of the plugin, because the limitations DO work. I set it so you can only get up to Sharpness 2 and Protection 1 in the settings. Works like a charm, however everytime I get Sharpness 2 or Protection 1, it throws me the good ol' Plato message (changeable in config.yml).
So, this plugin DOES limit enchants if you want that to happen, the only issue right now is that it's not entirely perfect because it needs updated, but while you wait, it's still a working product.
@BioBG
Yeah, we have been experiencing the same on our server for quite some time (1.3.2 and also 1.4.2). It seems to be entirely random and not specific to certain armour or tools. It also does not give an error message in the console when it happens, it just takes your experience but does not give you the banned enchant ("This enchantment is not allowed on this server!").
Hi this bug still work in 1.4.2
http://dev.bukkit.org/server-mods/enchant-handicap/?comment=10
if tool have Banned enchant, do not enchant anything and take the exp from the player.
This seems to also override the anvil enchantment combining in 1.4.2, can this be an optional flag?
Is there any possibility that the level refund option will be in the next version. Id love for enchanting to refund 75% of the xp spent.
Still works fine with 1.4.2, take your time!
My computer got destroyed but I'm about to buy a new one so I can continue development. Sorry for the delay. Its a bit difficult to do on the college computers.
I would really like to see this get updated :(
Are you planing to update this plugin to 1.4.2?
And here one idea : If you can, allow to choose level's limit by material. Like : Iron : sharpness : 3
cobblestone : sharpness : 4
struggling to get this to work. Im trying to use this with Heroes, to stop the game incurring a "failure" on the skills heroes doesnt allow. However even the skill ive disabled, it still creates the failure message. :(
The reason im trying to stop the failure is becuase im using ItemEnchanting, to give enchanting a material cost. However it still seems to eat the cost on the enchants that fail and dont work with heroes >.<
@Serilum
Hey, I have an update coming out soon and will include that. I've had to concentrate on college lately but I have a 3 day weekend coming up to finish it.
If you have any other suggestions let me know.
Okay so the plugin works great. Just what I wanted. But I don't like the 5 lines of code in my console everytime someone enchants. I could alter it myself in the code but somehow the decompiled code seems to break the plugin.
So could you alter the plugin (for me or in general) so that it doesn't give those lines in the console?
Thanks for your time :) - Serilum
@BioBG
Are you using the latest version of Enchant Handicap and what version of minecraft? Can you tell me what level enchant they were trying?
If it finds any banned enchants its supposed to let the user try again without taking the experience.
Hi guys :) Great plugin!
@Ainast
Some of the players of my server report me a bug that 1st enchant is takeing the exp. but not enchanting the item, can you check it ?
@TrinityGamingMC
Hey, yea its definitely possible. I'll send you a PM with a few questions in a bit.
Hey, is it possible to do so lvl 50 enchantments will be allowed again, instead of the stupid cap of 30 lvls 1.3.1 made? Thanks in advance :)
-TrinityGaming Staff
Another great plugin added to my server.
I, personally, won't use higher enchants, I think most of the ppl who will use this plugin, is to "nerf" enchantments. But, maybe, some users will look for this feature :)
Btw, I also made a ticket with those feature request .
@r0wien
You won't receive a level higher than what minecraft offers. It was just a catch all. I'll clear up the above description later tonight.
That's a good idea. I'll figure out an efficient way to implement it. Maybe a cost multiplier on each enchant.
I'm undecided about increasing the power levels that minecraft currently offers, but choice is always good. So I may allow users to set a higher max enchant level in the future.
Hi, great plugin!
Small question, why in the config file you have to put max enchant level + 1? Max level of sharpness per exemple is 5 right?
It could be great also to change to cost of every enchant for exemple, if I don't want Fortune 3, Fortune 2 can cost 50 lvl.
Also, I saw that max level in the config file for LOOT_BONUS_BLOCKS (Fortune) is 6, does that mean, player can have Fortune V? Or 6 is for Fortune 3? 3 is max for this enchant according to the wiki : http://www.minecraftwiki.net/wiki/Enchanting
:)