AntiXPFarm
AntiXPFarm
Version: 0.6.1
CraftBukkit Build 1.6.2-R1.0 [Tested]
Info
This plugin disables xp from mobs spawned by xp farms. I've added auto update support so It will warn you If their is a new version. This has not been fully tested tho. Every entity, the mob in this case, is given a UUID which is a unique key for every mob that doesn't change. Basically this plugin creates a list of all the uuids, every time a mob spawns if it's from a spawned then it's uuid is added to the list. Every time the mob dies it is removed from the list and if its uuid is in the list then cancels the xp drop event thus meaning it does not drop xp :D
Features
- Disables xp from mobs spawned by spawners.
- Logs in console when theirs an update.
- Lightweight and easy to use.
To Do
- User suggestions!
Change Log
Version 0.4
Version 0.3.2
- Fixed bugs
- Updated to 1.3.2-R-0.1
Version 0.3.1
- Fixed bugs
- Added a different auto update system
- Added a config
- Updated to 1.3.1-R2.0
Version 0.3
- Changed the HashMap tp a HashSet
- Removal of the bin file
Version 0.2
- Added a bin file so the hashmap will save and no data will be lost.
- Code clean up
Version 0.1
- Release of the plugin
Update to 1.7.2
Does this work at all on 1.6.4?This is NOT still working on 1.6.4. :( Plz update soon! 1.7 is coming out and I could really use this.
Update to 1.6.4
Hi! This looks like just the plugin I need, but would you be able to add per-world support so I can only have it enabled in certain worlds?
Also, it would be good if there was an override permission to allow some players to still gain XP?
Thanks :D
please update this
This is exactly what i wanted for my server, except when i installed it no hostile mobs drop experience... when will the plugin be updated?
@np98765
Well, I decompile all my plugins with 1.7 and It seems to run find on my company hosted server, so I just go along with it. :/
Jav, why would you compile with Java 7? O_O
http://forums.bukkit.org/threads/common-mistakes.100544/
Do I really have to decompile, copy over, then compile with Java 6?? Not everyone can do that. :P
It stops all xp from monsters, even the wild ones
@Benas1
Sorry for the late reply. Try running with java 7, as that is what it is compiled with.
Thx. Work fine on craftbukkit-1.3.2-R1.0
[SEVERE] Could not load 'plugins/AntiXPFarm.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/javoris767/antixpfarm/AntiXPFarm : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:154) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:223) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:199) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: me/javoris767/antixpfarm/AntiXPFarm : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:143) ... 9 more
This sounds great will try when i get home !
And YES !!! you should add a no drop option.
Ive wanted a plugin that does this for a long time now if we could have the mobs stop dropping items after 20 or so ( or just no drops ) and maybe a configurable event after the 20 mobs have passed so the spawner could be removed or perhaps a boss shows up :]
Anything to stop the lazy bastards from standing in one spot getting exp and drops is a positive addition to minecraft and the survival aspect of its gameplay!
Thanks for reading,
New Update
Version 0.3.1
Does this plugin still work with 1.3.2?
@UltrafaceGuy
http://www.minecraftwiki.net/wiki/Experience
The mobs drop only really 5 for skeletons So the percentages wouldn't have much of an effect.
@Axebyte
Really? I'm sure it doesn't but if it does open up a help ticket.
@javoris767
I like his idea as mob spawned are used for easy items. Maybe add a config option to cancel the drop :D
worked ok
Great plugin! I don't think you should really add much to it, or anything, but it would be cool to set a percentage of exp from spawners rather than just an on/off.
Then again its really great and simple as is. :D