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


    Just wanted to say How Much I Love Your Plugin. Before 1.2, we had a blast running this plugin. I can't wait until an update is made. Good Luck icomeinpieces.
  3. Offline


    Ooh..maybe can I suggest? Make this not only a ZeldaChicken plugin, but more zelda stuff! Make it so you can make chests full of goods that reload when looting for other people! And random generated dungeons!
  4. Offline


    thanks timirvin for the support. can't wait to get an update released. :)
    SupahMario1010, I doubt i will expand the plugin that much, i may consider separate plugins that can be released in a bundle however it's not going to be on my TODO list for the time being.
  5. Offline


    And btw do you have any quess when this will be released? I don't want to make you stress so if you're not sure then you can just say that you don't know but if you have any idea then I would be glad if you could say. :)
  6. Offline


    any news yet :)?
  7. Offline


    oh god
    PLEASE release this plugin for current RB :OOOOOOOOO
    any way i can help?
  8. Offline


    Finally school for me is done and i can focus a bit more on this plugin as I know all of you have been waiting for a new release.
    Though I'm still having issues with getting chickens to actually follow the player as they did before.

    a bukkit method known as setTarget(); would make mobs attack and neutral creatures only follow (i had to handle the damage chickens caused else where) does not seem to work anymore. chickens receive the target as it did before however the mechanism that made the chickens follow their target no longer seems to function. this being pretty much the main idea of the plugin, makes it a major bug that keeps me from releasing the plugin. otherwise a tweak here and there and the plugin is ready for another release.
  9. Offline


    Thanks for the updates! I think that many of us can and SHOULD be patient enough to wait while you sort out these issues. Take your time and we look forward to seeing what you come up with. :)
  10. Offline


    thanks sean_skroht
    I have been looking in my off time to figure out if it's me or if something changed concerning the method i spoke of before, however i have come across no help and no one has replied to my request for help on a separate thread.
    I don't get answers or i figure something else out, this plugin is looking closer and closer to being dead.
    I rather make a new plugin that works then bang my head against the wall resurrecting a plugin that may very well be not savable.
    however, i am not giving up quite yet, i'll drill at it for a little while longer and hope i hit gold.

    EDIT: ok I have done some digging, it appears there is a issue ticket made in response to my problem, from what i can tell people seem to be agreeing that it's the new path finding code put in by Mojang for creatures (such as my precious chickens) that is playing havoc with the setTarget() method. sooo I can either wait for a fix (you can help support this by trying to make the bug a higher priority) or i can hack in a bad fix where the the chickens teleport up to you really fast (think enderman :/) to simulate them running to you. what are your guy's and gal's opinions on this matter, the latter option being fairly easy to implement if not ugly looking in game.
  11. Offline


    Can you PLEASE PLEASE PLEASE Update this plugin? Please?:)
  12. Offline


    What if you use whatever makes animals follow you while holding wheat to solve your problems? I don't code, it's just an idea.
  13. Offline


    i think that is triggered by the new AI system called goals which leads me back to the same issue as before, there is no way to manipulate that system quite yet.

    I will as soon as bukkit fixes this, as without it my plugin can't function because this happened.

    my hands are tied, i'm sorry my loyal fans, i want to update this plugin i really do, it's even already set to go except this one little itty bitty issue i've mentioned already. so encourage bukkit to fix/implement controls for creatures using the new AI system and post new info here as it becomes available.

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


    Ahh, well. Thanks for the plugin anyway. You still have loyal fans. Here, free cake. :) [cake]
  15. Offline


    your welcome, I had alot of fun with this plugin, but alas it was not meant to be for to long it seems. :'(

    however that does mean I will have time to make a new plugin perhaps, though I lack the time to come up with a good idea, so if anyone feels they have a good idea for me to work with, drop me a private message and i'll take a look.
    fyi, obviously nothing to do with making mobs and animals doing something directly (like follow someone).
  16. Offline


    Sign up on the ticket site and vote for that ticket if you want to add your support for it :)
  17. Offline


    08.11 05:52:09 [Server] INFO ... 39 more
    08.11 05:52:09 [Server] INFO at java.lang.ClassLoader.loadClass(
    08.11 05:52:09 [Server] INFO at java.lang.ClassLoader.loadClass(
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO Caused by: java.lang.ClassNotFoundException: org.bukkit.event.entity.EntityListener
    08.11 05:52:09 [Server] INFO ... 21 more
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at java.lang.reflect.Constructor.newInstance(
    08.11 05:52:09 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    08.11 05:52:09 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    08.11 05:52:09 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    08.11 05:52:09 [Server] INFO at com.icomeinpieces.ZeldaChickens.ZeldaChickens.<init>(
    08.11 05:52:09 [Server] INFO at java.lang.ClassLoader.loadClass(
    08.11 05:52:09 [Server] INFO at java.lang.ClassLoader.loadClass(
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at Method)
    08.11 05:52:09 [Server] INFO at$
    08.11 05:52:09 [Server] INFO at$000(
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at java.lang.ClassLoader.defineClass(
    08.11 05:52:09 [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method)
    08.11 05:52:09 [Server] INFO Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at net.minecraft.server.MinecraftServer.q(
    08.11 05:52:09 [Server] INFO at net.minecraft.server.DedicatedServer.r(
    08.11 05:52:09 [Server] INFO at net.minecraft.server.MinecraftServer.r(
    08.11 05:52:09 [Server] INFO at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    08.11 05:52:09 [Server] INFO at net.minecraft.server.ServerConnection.b(SourceFile:35)
    08.11 05:52:09 [Server] INFO at net.minecraft.server.NetServerHandler.d(
    08.11 05:52:09 [Server] INFO at net.minecraft.server.NetworkManager.b(
    08.11 05:52:09 [Server] INFO at net.minecraft.server.Packet3Chat.handle(
    08.11 05:52:09 [Server] INFO at net.minecraft.server.NetServerHandler.a(
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO at net.minecraft.server.NetServerHandler.handleCommand(
    08.11 05:52:09 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    08.11 05:52:09 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(
    08.11 05:52:09 [Server] INFO at org.bukkit.command.defaults.ReloadCommand.execute(
    08.11 05:52:09 [Server] INFO at org.bukkit.Bukkit.reload(
    08.11 05:52:09 [Server] INFO at org.bukkit.craftbukkit.CraftServer.reload(
    08.11 05:52:09 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    08.11 05:52:09 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    08.11 05:52:09 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    08.11 05:52:09 [Server] INFO at
    08.11 05:52:09 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener
    08.11 05:52:09 [Server] SEVERE Could not load 'plugins/ZeldaChickens.jar' in folder 'plugins'

Share This Page