Inactive [FUN] ZeldaChickens V2.01 edited as of june 22 - Chickens with attitude [1000]

Discussion in 'Inactive/Unsupported Plugins' started by icomeinpieces, May 29, 2011.

  1. Offline


    Version: v2.01
    I understand that there are a few (at least) people that have been waiting very, very, very (you get the picture) patiently for a update to simply just work on the newer Bukkit versions. However, the new pathfinding code (from my understanding from researching) Mojang had put in some time ago is messing with one itty bitty piece of my code that just happens to literally run the whole show. the method in question that is being affected is the setTarget() method.

    So this is the deal, I can either wait a for a fix for this issue, or i can put in a ugly hack the will make the chickens fake run to you via teleporting really fast (like that won't stress some servers). the latter would be fairly easy to implement if not ugly to watch in game, but it could happen sooner then the actual issue getting resolved. leave a comment saying which direction you, my fans (i can say that right?) would like me to go. Cheers and Thanks for all the support so far.

    Volunteers anyone? I am looking for a few (prolly just 10 people) people to beta test my next version. Reason why I am asking is that my next version will have multi world support (among other things) and my server is not huge on wanting more then just the one world and I can only do so much to cause bugs to appear while testing by myself on my test server.
    Why, might you ask, do I not send this next version to the masses and go from there? well frankly I want to send out the new link via PM with the changelog and some notes concerning some things to keep in mind while testing and if i put it all in my Original Post, I doubt people will read it and then wonder why things don't work. <-- this section is on temporary strike till i can fix the above mentioned issue

    The whole purpose of this plugin is to allow chickens to get angry(or homicidal, depends on how you look at it), in much of the same manner as the chickens present on the Zelda games. The only difference here is the chickens can die. Every 2(default) attacks on chickens will spawn 10(default) right above you and will damage you 1(default heart per chicken that comes into contact with you. Also the chickens that spawn won't count towards the 2 attacks required to anger the swarm, allowing you a chance to defend yourself. This plugin was in response to this

    Config Instructions

    Show Spoiler
    * When the plugin is run for the first time it will generate a config file under [SERVER DIRECTORY]/plugins/ZeldaChickens/ZeldaChickens.cfg
    * The config file is written to upon server shutdown. save your changes to the config file after a server shutdown or saves your changes before server shutdown, use the zcreload command then preform a server shutdown (if needed to begin with)
    * the various settings available are explained in the generated file.

    * zc.chickenswarm - use this to allow users to get attacked by chicken swarms


    * Doesn't require permissions to be installed, defaults to OP restriction for admin commands and everyone for swarm attacks.
    * in game/console commands
    * Chickens spawn and attack you if you attack chickens enough times (configurable)
    * Chickens will catch up to you if you try to outrun them (even if you try teleporting somehow ex. compass) <-- configurable.


    <Edit by Moderator: Redacted mediafire url>

    Media concerning ZeldaChickens

    Show Spoiler
    a video made by Nazerb; thanks for the support. :)

    props for using rocketboots to showcase my plugin.
    i tested using worldguards compass teleport but not flying, so it was refreshing to see just how resilient they are to getting outrun. :p

    video made by VoidingNixx

    Coffee and food helps me code faster.

    * chickens will not swim after you under water only teleport after you
    * upon mob trigger, if player logs out any remaining chickens from the mob will vanish. (introduced intentionally to prevent abusive farming until a proper chicken re-targeting upon player re-login is figured out)
    * permissions dependency <-- fixing right now for next version
    * issue where only one swarm could be summoned at a time on a server
    * if you don't kill a chicken in the first strike a second strike on same/other chicken triggers the mob <--not so much a bug as an only option now at this point


    * Add the option to make spawned chickens, flaming chickens as suggested by KuroSnow
    * convert to yaml settings file
    * add option for custom messages and wither on off settings
    * add an option to cancel drops from spawned chickens
    * add command to spawn attacks onto players :) <-- new in version 2.0
    * Add option so that the plugin can trigger upon chicken death count and not just chicken hit
    * add option for chickens to keep chasing despite a respawn (death)
    * Possibly implement the ability for chickens to teleport closer if they are getting outrun
    * Permissions support to except specified people from getting attacked
    * Add configuration file to change:

    - * Damage from chickens
    * Amount of chickens spawned
    * How many need to get hit before the spawn event
    * others I have not thought of at this time

    * possible fix for a null pointer exception caused by a player dying without (and maybe with) a chicken swarm attacking said player while poofafterdeath option is set to false

    * permissions 3.x supported (might not work with permissions 2.7.4)
    * requires CB 860
    * fixed an issue where there was still some permissions dependance errors if permissions was not present
    * fixed bug that only allowed one swarm at a time on a server
    * admin permission nodes will default to OP in the absence of a permissions plugin
    * various small performance tweaks.
    * fixed bug that allowed players to contribute to a "pool" of chicken attacks and the last player to make a hit suffers the swarm (basically hot potato)
    * added various messages such as global messages for when a player angers the swarm, rate my messages and let me know what you think, pretty please ;)
    * added a few more info messages to help debugging for rare cases that don't actually cause the plugin to error out (print stacks)
    * made the chickens a little more aggressive when being outrun

    - * they now will spawn under any blocks that may be above you.
    * made chickens follow you under water and not drown. however due to a glitch, they will only follow by teleporting. it seems they do not know what to do while under water and just don't move at all at this point.
    - added commands:
    * zcswarmplayer:
    description: summons a swarm onto an unsuspecting player.
    usage: /<command>
    * zcswarmthyself:
    description: summons a swarm onto the player issuing the command.
    usage: /<command>
    * zcstate:
    description: toggles wither or not chicken spawning occurs or not. can set with options on or off
    usage: /<command>
    * zchelp:
    desciption: displays info on commands that a player is allowed to use
    * zeldachickens:
    description: gets information on zeldachicken commands
    usage: /<command>
    - added permission nodes for all commands:
    * zc.chickenswarm <-- people with this permission (or *) will be suceptable to attacks. those without are immune
    * zc.admin.reload <-- people with this permission have acces to the zcreload command
    * zc.admin.swarmplayer <-- allows the use of the swarmplayer command
    * zc.admin.swarmthyself <-- allows the use of the swarmthyself command
    * zc.admin.zcstate <-- allows the use of the zcstate command
    - various code clean ups (still loads to do, expect more updates as i clean up code, updates of this nature will be optional)

    Old News

    Show Spoiler
    * Removed permissions dependency <-- was incomplete fix
    * added config option "chickenHealth=[1 - 20]" defualt 4(normal health)
    * reworked some permissions issues concerning the zcreload command
    * reworked almost all the code to increase performance (please provide comments/opinions on this) and detection of certain conditions.

    * added a config option to allow chickens to re-acquire a killed target after said target respawns, this option is "poofAfterDeath=[false:true]" default false.

    * changed the permission node and how it acts on the plugin. the node now is zc.chickenswarm and when a group has this permission they will be susceptible to chicken swarms

    * added chicken catchup ability. chickens can now teleport closer to a player if they are getting outrun. the options for the config file are as follows

    - * catchUpEnabled=[true or flase] default: true (this defaults to true with new installs only)
    * maxOutRunDistance=[anything above 0.0] default: 4.0 (how far can a player get before they "catchUP"

    * added permissions support, use the node zc.swarmprotected to prevent people from getting attacked.

    * added config file for the following settings:

    - * chickenMobSize
    * chickenDamage
    * chickenHitsTrigger
    * chickenAttackRange
    * chickenSpawnHeight

    * Initial release
    Last edited by a moderator: Nov 27, 2016
  2. Offline


    I love this idea! But the download button is broken. :(

    It works again! \o/
  3. Offline


    Have installed to give my cuccos more health so I can require more hits before swarming. However I think they are incompatible getting this error in the console. Could you either look at compatibility or add changing their health into your config? Thanks

    04.06 16:39:40 [Server] INFO     at
    04.06 16:39:40 [Server] INFO     at
    04.06 16:39:40 [Server] INFO     at net.minecraft.server.MinecraftServer.h(
    04.06 16:39:40 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    04.06 16:39:40 [Server] INFO     at net.minecraft.server.NetServerHandler.a(
    04.06 16:39:40 [Server] INFO     at net.minecraft.server.NetworkManager.b(
    04.06 16:39:40 [Server] INFO     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    04.06 16:39:40 [Server] INFO     at net.minecraft.server.NetServerHandler.a(
    04.06 16:39:40 [Server] INFO     at net.minecraft.server.EntityHuman.d(
    04.06 16:39:40 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(
    04.06 16:39:40 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(
    04.06 16:39:40 [Server] INFO     at$47.execute(
    04.06 16:39:40 [Server] INFO     at com.icomeinpieces.ZeldaChickens.ZCEntityListener.onEntityDamage(
    04.06 16:39:40 [Server] INFO java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    04.06 16:39:40 [Server] SEVERE Could not pass event ENTITY_DAMAGE to ZeldaChickens
  4. Offline


    you got a zip file at one point??
    I have never uploaded a zip file or anything but a single jar file. what version did you download when you got that?

    Glad you love it so much.
    did you make this or did someone else?
    just want to five credit where credit is due in my OP

    looking into it right now

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  5. Offline


    Its running fine now I just didn't notice the permissions dependency. I don't like permissions the latest build is unstable and I generally have no use for it, is it possible to make it optional rather than a requirement for your plugin? Also chicken health would still be nice
  6. Offline


    @discordance what is your config files for both ZeldaChickens and bMobs plugins?

    i'm planning chicken health sooner or later it's on my private todo list :)
    as for permissions it works with the 2.74 version as well.
    as for permissions dependency i'll take a look, i'm a fan of permissions so it never really occurred to me

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  7. Offline


    yeah i downgraded to 2.74. version 3s 'stable' build was refusing to load. Thanks for the replies

    One other thing i have noticed is your plugin overwrites its config file everytime the server stops. Took me awhile to notice I kept trying to edit it then restart the server which just overwrote the file with the previous config. Its probably worth mentioning in the first post along with the permissions dependancy
  8. Offline


    hmm interesting i did have in my OP about the config file, not sure where is went but it's in there now thanks.
    the permissions dependancy is being fixed and will be released in the next few hours along with a new feature.

    side note:
    i'm using mcMyadmin that works with permissions 3 and everything works well suprisingly, just an FYI if your interested.
  9. Offline


    ääähm i think this is a fault of mine.
    But i don´t know how this happens :D
    Sometimes .jar´s are opened with winrar and are displayed as .zips.....
    but sometime they are just normal .jars
  10. Offline


    Made the video to help show the awesomeness of your plugin ;) enjoy!
  11. Offline


  12. Offline


    thanks for your support

    version 1.06 is up please reread the OP for new info.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  13. Offline

    Bradley Hilton

    Any chance you can make the link wget accessible? A direct download and not using mediafire? It's just easier this way to update the plugin for those of us who use Linux for our servers... Thanks in advance!
  14. Offline


    i know how you feel on that, i use linux as well for my server. I'm still fairly new to this plugin dev thing so give a little bit to get it sorted out.
    I want to make sure whatever i set up as wget accessible this it will also track how many times it's downloaded. plus if i make a drastic change to something people won't know with a wget link.
  15. Offline

    Bradley Hilton

    Try a dropbox like quite a few other people do.. Idk if you can track how many times it's be accessed though...
  16. Offline


    Ha this plugin is funny. I have installed it without telling users so we will just wait and see what happens. A suggestion: Once the swarm of chickens has been triggered, what about a configurable user message (or even general broadcast) along the lines of 'playername has incurred the wrath of the chicken goddess! Prepare for the consequences.' I think this could make things generally more amusing. :p
    Also, seeing we are throwing ideas around, what about the possibility of spawning chickens of larger size, like 2 very big chickens with plenty of health that just look mean, to revenge their fallen brethren.

    Keep up the Great Work!
  17. Offline


    the message sounds like a good idea, i'll work on that for next release, however there would be no way to change the 'size' of a chicken however you can change the health of the chickens that swarm in the config file
  18. Offline


    Cool, looking forward to it. With regards to the chicken size, I cant comment technically of course, but I was thinking of some of the other plugins like giant zombie etc where they made stupidly large mobs on the map. I thought that maybe that same mechanism could be exploited but not make them so ridiculously big.
    Thanks again for this cool plugin.
  19. Offline


    giant zombies are possible only cause they actually exist in minecraft.
    look up minecraft wiki and look up details for mobs and you will see em there. they just don't appear naturally at the moment is all.
  20. Offline


    This is very awesome. I also suggest MadCows. =)
  21. Offline


    I love this but any chance to stop spawns and just have chickens aggro on u like a bunch of ducks or gease.
  22. Offline


    you know my friend suggested that too, i thought he nuts and on his own on this idea, does more people want this???

    like how a pack of wolfs swarm you if you hit one?
    if that's what you mean it should not be too difficult, i'll add it to my todo list later today maybe even have a update with it sometime tomorrow or Saturday.

    good news to my followers(If i can call you that) of my plugin, i'll be releasing (hopefully in a few hours) an update that will contain a few new features.
    1)messages that inform you that you have summoned a swarm
    2)global message that a swarm was summoned on a given player as suggested by ferretlegs, thanks for the idea :cool:
    3)command to summon a swarm on someone with appropriate messages and console use
    4)command to summon a swarm on your self with appropriate messages
    5)permission nodes to handle the mentioned commands
    6)performance improvement changes

    with all this and possible more features (as time permits), some code rewrites to accommodate the new features, I will be making this plugin version 2.0.
    I believe the core of this plugin is pretty stable now as i'm running a fair bit of the code in separate threads now as of the last version change and more of the code have their own threads with this version.

    So please look forward to my release today, i know i am. :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  23. Offline


    Awesome, really looking forward to it. I've already scared the hell out of a few players who didnt know I put this on the server and I think your enhancements will make it even more fun. :)
  24. Offline


    hey I love this mod and everything but... I can't figure out why the chikens arn't damaging me at all...
    I have the "CustonDifficulty" plugin too... do you think that it messed up the chicken plugin?
  25. Offline


    Hey im lovin the plug dude thanks !!
    However i just noticed these popping up ....
    16:53:29 [SEVERE] Could not pass event PLAYER_RESPAWN to ZeldaChickens
    at com.icomeinpieces.ZeldaChickens.ZCPlayerListener.onPlayerRespawn(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.minecraft.server.ServerConfigurationManager.a(
    at net.minecraft.server.ServerConfigurationManager.a(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet9Respawn.a(SourceFile:18)
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(
    sorry about the error but there it is, get at it !
    And thanks again i think the guys like angry birds xD

  26. Offline


    i'm on it already there is another bug you may have noticed, only one player at a time seems to be getting affected by a swarm at a time. this is pushing back my version 2.0 that will be coming up soon here.

    perhaps you can shoot me your config file, plugin version, CB version, events leading to error(if possible)
  27. Offline


  28. Offline


    I would have it fixed up if i was not already in the process of some major code rewrites.
    but since i am, it probably won't be till mid next week.
    this bug and a few others will be fixed (hopefully)
    performance increases, code clean ups, and new features.
    in it's own write i'm almost rewriting 75% of the original code so it's taking some time.
  29. Offline


    What no Demon Cows from Diablo 2? ;) lol it's just a funny thing. i had a few of my players find this plugin the hard way but it makes for farming feathers for Magic Spells a lot easier! =)

    since we're at it why not have crazed sheep and berserk pigs?? =D I can just see so much havoc and fun being had here...
  30. Offline


    Cool sounds great boss
    ill keep running it with the errors because its not going to touch my servers performance
    Thanks again man and i hope the rewrite goes well for ya :)
    i love seeing people get killed by chickens LOL
  31. Offline


    k well i make you a deal once things are running smoothly, i'll write up a version for cows and pigs lol.
    i like to say it would be straight forward as changing the mob type spawned but my plugin partly depends on the fact chickens don't receive fall damage lol

    also i may in a later version implement no feather drops from mobs but that is low on my todo list

    NP and i hope it goes well too, so far so good at this point :)
    my users get a good laugh out this plugin as well.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016

Share This Page