Inactive [FUN/MISC] zombieattack v0.4 - Zombies will break blocks to get to you [803+] Working in 1.6

Discussion in 'Inactive/Unsupported Plugins' started by JoeJoeMcBean, Apr 15, 2011.

  1. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    zombieattack - Zombies will break blocks to get to you
    Version: v0.4
    Uses Permissions (Tested with v3.0.3).​
    Honors WorldGuard regions (Tested with 5.0-alpha10).​

    0.4 -
    Improvement on zombie digging. Seems to work much better, and doesn't get the block stuck at the feet.
    Also added some logic around the null thread issues that creep up, looking for feedback please.
    Additional note on permissions. I had to add - 'zombieattack.user.enabled' to the Default group to get it to work. Relying on '*' inheritence from Admins didn't seem to do the trick.

    Description:
    Want to add some additional difficulty to survival? This plugin will allow zombies to break blocks of your choice to get to the targetted player. You choose the blocks you want zombies to be able to break and the time in seconds it takes for the zombie to break that block type. WorldGuard can be used to protect regions from zombieattacks. Permissions lets you set what player/group is under attack.

    The default enabled settings in blocks.config (block type, time to break):
    Show Spoiler

    DIRT,4
    GRAVEL,3
    GRASS,4
    LEAVES,3
    SAND,3
    COBBLESTONE,5
    WOODEN_DOOR,5
    WOOD_DOOR,5
    WOOD,5
    FENCE,5
    SNOW_BLOCK,2
    WOOL,3
    GLASS,2

    For example: A zombie targets you in your sand walled home. The zombie will come up to the wall and in 3 seconds will break out that block of sand in front of it. This will continue until one of you are dead or you leave the server.

    Download jar here (or from the attached file below):
    zombieattack.jar

    Installation:
    Copy the zombieattack.jar file to your plugins directory. The plugin will create the plugins/zombieattack folder, zombieattack.config, and blocks.config with default settings.

    Features:
    Honors WorldGuard regions, can set which regions zombie's do not attack.​
    Set permissions for players/groups under zombie attack.​
    Customizable breakable block list with timers. Full list here under Enum Constant Summary section.​
    Source included in the jar.​

    Permissions:
    Show Spoiler

    zombieattack.user.*​
    zombieattack.user.enabled​

    TODO:
    Show Spoiler

    Multiworld support (work started)​
    code clean up​

    Changelog:
    Show Spoiler

    Version 0.3
    Fixed the non-breaking blocks when worldguard is enabled but zombie not in a region.​
    Fixed that ENTITY_TARGET spam​
    Version 0.2
    Allows for not having WorldGuard and/or Permissions​
    Version 0.1
    Release​
     

    Attached Files:

  2. Offline

    Monkah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    http://forums.bukkit.org/threads/super-hard-mode-zombies-breaking-down-my-door.11737/
    From this thread, a few other ideas:
    - Zombie attack damage (#2 priority please?)
    - Zombie line of sight range (#3 priority please?)
    - player turning into zombie if dying.
    - Zombie spawnrate (#1 priority please?)
    - Zombie speed
    - Zombie attack range
     
  3. Offline

    Legolas75893

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thankya<3
     
  4. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Legolas75893
    Hiya, I'm glad you saw this. It was your server name I saw a while back that got me to thinking about doing this plugin. I made it basically with you in mind! lol
     
  5. Offline

    Legolas75893

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thank you! I'm honored! We will DEFINITELY be using this! <3. Are you WL'd already?
     
  6. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nope. I don't think I've actually visited your server yet, but would love to!
     
  7. Offline

    Legolas75893

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Please do! We would would love to have you here :D
     
  8. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wanna hook me up on the whitelist? :)
     
  9. Offline

    Legolas75893

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sure! IGN?
     
  10. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    JoeJoeMcBean :p
     
  11. Offline

    Tfs Halo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Very nice plugin!!! it's a wonderful idea and i congratulate you :)
     
  12. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Tfs Halo
    Thank you I appreciate the support!
     
  13. Offline

    Tfs Halo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    no problem i am nice to others who i suspect are nice :) but besides that i am usually shy in some cases

    plus when i saw this on the plugin list i was like '' i so got to check this out'' :D
     
  14. Offline

    Natasmai

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You've been added to the Whitelist :)
     
  15. Offline

    Codex Arcanum

    My BukkitDev Profile
    My Plugins (1)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I tried installing the plugin, and my server log gets spammed by about a billion of these when a zombie comes after me.
    17:45:44 [SEVERE] java.lang.NullPointerException
    17:45:44 [SEVERE] at com.sk89q.worldguard.protection.GlobalRegionManager.get(GlobalRegionManager.java:197)
    17:45:44 [SEVERE] at com.mcbean.zombieattack.zombieattackHandler.enforceWorldGuard(zombieattackHandler.java:76)
    17:45:44 [SEVERE] at com.mcbean.zombieattack.zombieattackHandler.run(zombieattackHandler.java:41)
    17:45:44 [SEVERE] at java.lang.Thread.run(Thread.java:680)

    I'd really love to this plugin working, it seems like a great addition to any server with player-buffing plugins (mcmmo, etc.).
     
  16. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Codex Arcanum ,
    Sorry to hear of the troubles! What plugins are you using on your server?
     
  17. Offline

    Shay Williams

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've received same error spam while running nothing but your plugin and Bukkit CB 677.
     
  18. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Shay Williams , @Codex Arcanum
    Thanks for the follow up. I'm looking into it right now. Off hand I'm thinking there was no checking if WorldGuard or Permissions is not available. The plugin may depend on them withthe current logic. I'll see if I can clean that up.

    Have you tried zombieattack with permissions and worldguard?
     
  19. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Shay Williams , @Codex Arcanum
    Okay v0.2 released - added some logic to allow for not having worldguard and/or permissions installed.
    Please feel free to test and let me know?
     
  20. Offline

    Monkah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Doesn't work? Zombies aren't breaking my dirt down....
     
  21. Offline

    Codex Arcanum

    My BukkitDev Profile
    My Plugins (1)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I had both Permissions and WorldGuard installed before, but it works now anyway, so that problem is solved. This looks crazy awesome, I'll do some better testing and come back.
     
  22. Offline

    kahlilnc

    My BukkitDev Profile
    My Plugins (0)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    They take a little bit to break it down ecspecially if they are hoping every where.
     
  23. Offline

    kahlilnc

    My BukkitDev Profile
    My Plugins (0)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This plugin is so awesome I completely turned my server into a zombie server because of this plugin right here. You should add blacklist for other monsters. As an option.
     
  24. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @kahlilnc , Thanks so much for the feedback- I'm happy to hear you went zombie! lol
    Can you explain what you mean about blacklisting other monsters? I'm more than happy to work in customizations to keep this flexible for people.
     
    kahlilnc likes this.
  25. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Monkah ,
    Sorry to hear you're having issues. @kahlilnc makes a good point that zombies, if they are moving around may not break blocks every time. I wrote in a check to make sure they were at the nearly same spot they were at when they started breaking the block. So if they move off too far they won't break the block. I did this to keep blocks no where near the zombie from breaking. It's pretty sensitive right now. I could try and write in a little more leeway if others are seeing issues with it as well.
     
    kahlilnc likes this.
  26. Offline

    kahlilnc

    My BukkitDev Profile
    My Plugins (0)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Blacklisting to where this plugin can block other monsters from spawning beside the zombies. I have another plugin that does that but the less plugins the better. And can you add customizable zombie text, like the zombie have trigger worlds.
     
  27. Offline

    darkcammo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    First off, GREAT PLUGIN. I think a lot of people have been waiting for something like this. Myself included :)
    A few... observations:
    - Works well with bMobs! Zombie only server :) dare I say... zombie siege mode :O!!
    - Yes zombies jump around a lot and it does inhibit their block breaking abilities. To compensate for this I just decreased the time it takes to do so.
    - If you are above zombies and they cant reach you, but are aggroed to you, they will dig themselves down into a hole. Its quite comical.
    I was thinking you might consider adding functionality to spawn mobs of zombies at night. To up the difficulty. You might consider using some of the code from bSwarm. He doesn't really maintain the plugin anymore. It is nice because you send a mob of X number zombies pre-aggroed to a player. Plus you can set the radius away from the player that they spawn.
    bSwarm Bukkit Page
    bSwarm GitHub
     
  28. Offline

    Chipmunk9998

    My BukkitDev Profile
    My Plugins (4)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Looks nice, I'll try it on my server.
     
  29. Offline

    Ratchet

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    p. cool plugin; if using Permissions do I need to set those up or is enabled by default?
     
  30. Offline

    JoeJoeMcBean

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Ratchet
    Permissions you will need to set in your permissions config file.
     

Share This Page