Angry Chickens
Angry Chickens
This plugin makes chickens act like cuccos in the Legend of Zelda. Chickens will have a chance to get angry at the attacker and swarm them with multiple chickens which will damage the attacker. Players won't fear monsters as much as they fear chickens when your server has this plugin.
How it works:
When the player punches a chicken, there is a chance(user-modifiable) that the chicken will summon 9 other chickens with regeneration 3. The chickens will follow the player until he/she kills them all, the player dies(the chickens automatically disappear) or someone else punches a different chicken.
To do:
- Make chickens stop attacking when player when he/she enters a house
Log:
- v1.0: Release
- v1.1: Fixed critical bug in v1.0
- v1.2: 1.7.2 support and performance improvements (See file for rest)
Just lemme know when you figure out the "invisible chicken" thing cause it sounds like octyenoch is having the same thing happen. If I dont see you on here, just log back in and ill dl same as we did before and we can trouble shoot from my server again.
@BeerCav @Octyenoch Thanks for telling me, I fixed it.
@Octyenoch
Remember that 2 health is 1 heart. I'll fix your problem soon.
yeah console spams same errors for me as well....also doesn't seem to work quite right....they have higher hit points in the world I specified, and the random chance of "angry" seem to work, however they don't "chase" me....when multiple spawn they just scatter like normal chickens do. I take random damage on occasion...I am assuming because I am close to one of the chickens, but it is hard to tell cause they just stare at me with a dumb look on their face ;)
This plugin cracks me up! Only I keep getting spammed with this error in my console:
5:37:54 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:54 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:54 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:55 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:55 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:55 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:56 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:56 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:57 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:57 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception 5:37:57 PM CONSOLE: WARN]: [Angry Chickens] Task #15 for Angry Chickens v1.2 generated an exception
@PaucaM
You can change the health if you want to
@FabioZumbi12
Spigot.jar (I don't know what that is) is causing interference with this plugin. Remove it and try and see if it fixes it
@JoeVolcano
You need Java 7 for this plugin!
you should put resistance effect to the chicken, otherwise, a chicken die after one punch with sword :)
Doest work on 1.7.2-R0.2-3 dev release.
[11:30:25] [Server thread/ERROR]: Could not load 'plugins/AngryChickens_v1.2.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/gmail/s/birchyboy/AngryChickens/AngryChickens : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2 978jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:308) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b 2978jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b 2978jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:255) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b297 8jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:233) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks ] at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks] at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978 jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978j nks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978jnk s] Caused by: java.lang.UnsupportedClassVersionError: com/gmail/s/birchyboy/AngryChickens/AngryChickens : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_37] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [?:1.6.0_37] at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [?:1.6.0_37] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_37] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_37] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_37] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_37] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_37] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_37] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2 978jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2 978jnks] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_37] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_37] at java.lang.Class.forName0(Native Method) [?:1.6.0_37] at java.lang.Class.forName(Class.java:247) [?:1.6.0_37] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2978 jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) [craftbukkit-dev.jar:git-Bukkit-1.7.2-R0.2-3-g530fcb7-b2 978jnks] ... 9 more
I having this problem when players logout from server:
[11:52:39 INFO]: Colors906 lost connection: Disconnected [11:52:39 ERROR]: Could not pass event PlayerQuitEvent to Angry Chickens v1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) [spigot.jar:git-Spigot-1228] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-1228] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [spigot.jar:git-Spigot-1228] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [spigot.jar:git-Spigot-1228] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.PlayerList.disconnect(PlayerList.java:281) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:703) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:130) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:657) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [spigot.jar:git-Spigot-1228] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1228] Caused by: java.lang.NullPointerException at com.gmail.s.birchyboy.AngryChickens.AngryChickens.PlayerQuit(AngryChickens.java:141) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) [spigot.jar:git-Spigot-1228] ... 12 more
@GreatLeviathen
I'm adding support for the latest versions now with some extra features
Indeed Andale, doesn't work on 1.7.4 either. Too bad.
Tested on my 1.7. Didn't work with 100 chickens.
Thought I'd just post results.
@altair123ezio
Sure
can have more hp the chikens????' in my server all kill chikens with 1 hit
@DekuHero If you give me the error, ill see whats happening Edit: are you using java 6? This is java 7
@ghilliedrone I'm part of calibrix's server and I showed him this plugin
@Ghilliedrone
Sadly, I tried this on my server and I got a ton of errors.
This may be because I have a lot of plugins and it may have just clashed with one or two.
More than likely not the plugin itself.
:[ sucks because I really wanted this.
@pineboy2
What are you saying?