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.
Seems this is now broken on recent server builds :(
Suggestion: I want anvils to be available for ALL my server members, but I don't want them to go over the maximum enchantment range AND I want to be able to make awesome loot for my players to get that doesn't reset if it is over the maximum enchantment! How do I solve this? Simple! When the config is set up so Anvils are allowed but if you type "/overenchant" or whatever, a custom lore gets added to the item like this. The plugin ignores this item completely, so it doesn't think that it's an overenchanted item that needs to be removed.
Hello! I want to disable the use of the enchantment table but not the anvil. Is it possible with this?
@Nistune1
Yes but the plugin has the option to disable them. I will update this plugin the moment anvil support is added to bukkit. If it has any issues on. Your server just let me know and ill fix them asap.
@Ainast
Nice! Dont use grief prevention so doesn't bother me a whole lot on that front. Are players able to use anvils to get enchantments over the limits at the moment?
@Nistune1
Yea, I haven't been able to address the grief protection yet. But, its in use on last-horizon and hasn't had any problems yet.
I was waiting until they added anvil support to completely update it.
Hiya, im just wondering if this plugin is still fully working with 1.6.2?
Hello!
I really love your mod, and that's exactly what I was looking for! The only problem is that it was updated last in January, 2013 for 1.2.5, while already 1.6 is coming out soon... Yes, I've read your description, but in the description it was talking about the May update (most probably the update before this one)...
So I was wondering - will it work on a 1.6 world?
@Ainast
When can we see that fix, I'd like to use this plugin but it is still breaking Grief Prevention.
@Shougunner
Yikes, working on a fix. It shouldn't be affecting anything like that.
Just to let you know since 1.3 this plugin has been breaking Grief Prevention. You can still open peoples doors, chests etc while in a protected zone. I don't know how but I know it's from enchanthandicap. Any chance you could look into this when you have time? Thanks.
http://dev.bukkit.org/server-mods/grief-prevention/
@Dommbringer
I know its a bit late, I'm about to look into this. And I am checking to see if the API for enchantments with anvils has been updated, if so I'm updating the mod.
@Crysillion
haha right, I've been meaning to check out the new server but I've been SWAMPED with work and school.
When 2 of your 3 loves come together its hard to say no.
Computer's, Cash, and Minecraft. Guess what 2 decided to play.
2013-01-27 15:01:01 [SEVERE] Could not pass event PlayerInteractEvent to enchantHandicap v2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:148) at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:1018) at net.minecraft.server.v1_4_R1.Packet18ArmAnimation.handle(SourceFile:41) at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at com.ainast.enchantHandicap.enchantHandicap.onPlayerInteractEvent(enchantHandicap.java:79) at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 16 more
Told you this plugin idea would be so boss, Ainast. I might end up using it again myself.
@bobtch
Im working on the purge command. I might make a real time one if it doesnt lag.
I've tested disabling some enchantments (like Knockback) but that doesn't seem to work on already enchanted items. Swords with KB can't be turned off... Which is a bit bad, can't control the enchants like this. Any suggestions? Is there a way to globally purge enchantments off certain items from all players at once?
@Senophoe
I feel pretty confident with it. I am still tweaking a bit. I might as well make an official update here soon.
I was testing it again today. This time I was checking for compatibility issues with other plugins. Couldn't find anything. Besides the Anvil not working, everything seems to be fine now.
There's something I'm curious about. Is the plugin called EnchantHandicap or enchantHandicap? In-game it says the later one.
I'll keep using it regularly. If I find anything, I'll report to you. Hope to see a non-beta release anytime soon.
I forgot to ask, do yall feel like your being robbed of experience? I may just put a modifiable set price with a % modifier for each enchant. Set what you will.