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


    Lol. Had a user change worlds (via MultiVerse portal) and the chickens were left behind (was running Bukkit 860, moving to 935 as I type.) Will test again with the new build and a cooperative guinea pig.
  3. Offline


    i'm implementing multiworld settings/ect into my next version so it's not a tested feature yet
  4. Offline


    Cool. Let me know if you want testers :D I have lots of cooperative guinea pigs. They tend to hunt the chickens down on purpose just to make "chicken parades."
  5. Offline


    that would be perfect. i'll pm you the link when it's done so you can help me test it.

    if anyone else wants to help "beta" test the next version (2.02) with multiworld support (among other things i want to include, that i'm still learning about) leave a comment here or pm me. i'll send the link out to 10 people. however since that this will be a test version, please remember to backup your world. there isn't anything in my code that saves anything other then the config file but if it crashes horribly (and takes your server down with it) it might do funny things. though that's worst case and nothing like that has happened to me yet. :)

    please be semi serious about testing, early feedback means earlier release and other new features.

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

    Connor Mahaffey

    I'd be willing to give it a look. I really love this plugin, though I don't have a server, it'd just be me testing it by myself, which might not reveal a whole lot since you've done the same thing :p
  7. Offline


    indeed though, more servers different servers (with different setups) running it can still reveal bugs that i don't get, so more the merrier.
    i just ask that testing be focused on the multiworld and other features new to the 2.02 version, so just make sure you have a copy of the multiverse plugin as well.
  8. Offline

    Connor Mahaffey

    All set, I had to install multi-world when I made my Giant Trees plugin.
  9. Offline


    I quite enjoy your giant trees plugin actually lol nice work on that so far.
  10. Offline

    Connor Mahaffey

    Hahah thanks! :D
  11. Offline


    Does anyone else want to put there name in to beta test my next version with multiworld support, customizable messages, chickens that go after you across worlds, etc?

    8 more slots left.

    post here if your interested or just PM me either way
  12. Offline

    Connor Mahaffey

    I'll do it :D
  13. Offline


    already have you down as a tester, thanks for the enthusiasm :p
    i should have it done soon here prolly tomorrow after i run a few final tests of my own.
  14. Offline


    hi there, i LOVE this plugin, it suits perfectly. one small request tho, would it be possible to customize the messages in the next version? (we refer to our poultry deity as the chicken god, not goddess)
    also it seems to be missing a space between the player name and the "has incurred the wrath..." message.
    "warboyhas incurred the wrath" instead of "warboy has incurred the wrath"
    other than that, keep up the great work.
  15. Offline


    actually i have a new version 2.02 already complete with custom messages (only a few for now), but i'm only releasing it to a few people upon request to beta test. I want to make sure things are up to snuff before i let it go to the masses. If you would like to try the new update let me know, just remember that even though it all works for me, some of what went into it, is stuff i had to do some research to learn so i'm not sure if it will work everywhere.
  16. Offline


    I keep getting this error, not sure what to think of it.

    23:50:39 [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.moveToWorld(
    at net.minecraft.server.ServerConfigurationManager.moveToWorld(
    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(
  17. Offline


    what version do you have, this seems like a error i fixed in a older version.
    if you have v2.01, please reply with your CB version and your ZeldaChickens.cfg file content(in a spoiler tag please) and i'll try and fix that up for you.
  18. Offline


    Nvm. I updated it and it fixed. Thank you!
  19. Offline


    great plugin :D
  20. Offline


    thanks for the praise, care to play with the a testing version?
  21. Offline


    2.01 gives me MASSIVE lag whenever it's been enabled for a while. Disabled it and lag went away. Build 1K.
  22. Offline


    do you see any errors?
    did you get this lag with previous CB versions?
  23. Offline


    No errors, but after two or three chicken attacks the server started to get bogged down. I went and disabled ZeldaChickens with a plugin enabler/disabler I have installed called Plugman, and the lag went away nearly immediately. Not sure if it's just a conflict with other plugins I have in (could be conflicting with CrowdControl, which I currently have set to make chickens aggressive, which further tempts people to attack them, thus causing more chicken attack :-D).

    I have not used ZeldaChickens on any other build besides 1000.
  24. Offline


    hmmm perhaps i have a leak somewhere. I run a thread per chicken but i'm pretty sure those threads are terminating when the chicken dies, or at least they stopped making noise on the console.

    I wonder if anyone else is having this issue. thanks for the info
  25. Offline


    Hi !
    I got an error

    CB 1000

    Hope thats fixable, like this plugin!

    And that:
  26. Offline


    thanks for the error report, i'll take a look at it.

    what was going on at the time? was there alot of players when this happened? did the player die and log out before respawn?
    can i get your config file at the time of the error?

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


    10 persons but none around me when i try to hit that chicken.No die and no logout.

    Config file:

    Permissions correctly wrote
  28. Offline


    how repeatable is the error?
    by that i mean how successful are you at repeating the error?
  29. Offline


    Im french so sorry if i dont understand exactly what you asking.
    The error is at every tentative of chicken killing. I cant kill any chicken with the plugin working. just get the error each time.

    I try to hit 10 chickens
    I get these errors
    List 3 sort of errors

    I put the plugin in plugins list

    Reloading the server by command "reload" in console

    I) The first chicken:
    II) Sometimes:
    i can hit 1 time the chicken, and the second the chicken seems to be invincible (cant kill him after!). I get this error each time i try to hit him. (1line by hit)

    III) The most of times
    Is like the second error, but the chicken is not invincible. Just got the error when i hit the chicken.


    I restart the server, and it working for 2 chickens.

    And during the third chicken, the server crash.

    Not sure that error came from your plugin, but all is said ^_^

    Thanks for supporting, can ask me anything else
  30. Offline


    Have you tried using the plugin as a stand-alone plugin (ie. having Zchickens as the only plugin in the folder), to make sure it doesn't clash with other plugins? Just asking, because I've never had a single problem and I've been using it for over a month now
  31. Offline

    Cosmic Break

    ive been hoping for a plugin like this forever!

    i'll be testing it soon :)

Share This Page