ZombieApocalypse
Zombie Apocalypse
by sheodox
What is Zombie Apocalypse?
ZA adds the possibility for a zombie apocalypse to start at 9:00 each night. Zombies will spawn around each player, and you must defeat the zombies before morning to receive a reward!
How does it work?
At 9:00 P.M. there is a configurable (default: 20%) chance for an apocalypse to start and a configurable amount of zombies (default: 40) will spawn and a configurable percent of them (default: 50%) need to be killed for a reward to be gained. The apocalypse can be started with a command (optionally you can specify a number of zombies per person to spawn). Each zombie will spawn 1-14 blocks away in both the X and Z directions, one of coordinates is offset by another 10 blocks so the zombies don't spawn too close.
The rewards are configurable:
Each possible item needs to specify these things - (these are explained in config.yml)
- Item name
- Chance
- Quantity
- Message
Default Items
Item - Chance
- Diamond sword - 5
- Diamond chestplate - 5
- 2 x Diamond - 25
- Gold sword - 25
- Emerald - 25
- 1 x Diamond - 50
- 5 x Iron ingot - 150
Commands
/za help - displays information about the plugin.
/za version - displays the version of the plugin.
/za commands - displays a list of all commands.
/za kills - shows the kills/goal of the current apocalypse.
OP commands:
/za start - manually starts the zombie apocalypse.
/za start <integer> - manually starts the zombie apocalypse with <integer> number of zombies spawned per person.
/za getitem - gives the name of the item in your hand, used for configuring rewards.
Configuration
Configuration of Zombie Apocalypse is very simple. In config.yml enter the name of your world in the world field and change false to true in the configured field. If you don't do this the plugin will not load and every time someone logs in it will say the mod needs to be configured. If the world name isn't valid and it says it's configured you will get some null pointer exceptions from two tasks. There is also a field called "numzombies" that has a default value of 40, this is the number of zombies that will spawn per person from both naturally occurring apocalypses and when using the command "/za start" without specifying a number.
As an example my server has a world named Trysnor so I set up the config.yml file like this
#Enter the name of the world you want to use for the zombie apocalypse #Replace "world" with whatever your server's world is world: Trysnor #numzombies is the amount of zombies you want to spawn per person from a default event. numzombies: 40 #when you have configured this file with your world's name change false to true configured: true
You can also configure the chance per night for the apocalypse to happen. There is a message at 8:00 PM warning that the apocalypse might be coming, and a message if it doesn't happen. Both of those messages can be disabled. There is also a limit to the number of zombies that can spawn. If this number is anything under one there is no limit. If the "hardlimit" is over one, it will spawn only up to that many zombies.
FOR SUGGESTIONS AND BUGS
Please create a ticket here: https://bitbucket.org/sheodox/zombieapocalypse/issues/new I'm not actively developing this mod because I'm working on other projects. If you would like to fork this mod there is a git repo on the repository tab.
We just started using this and it's great. Thank you. We like the fact that the zombies appear randomly and to everyone, very nice addition to our survival server.
For future updates the long version with zombie waves sound good. Maybe you could also add the option to change the warning and save messages.
@wyndkin
I don't update very frequently but yes I can add that option. I don't have a way for people to donate and honestly I'd rather not. I don't play Minecraft anymore and unfortunately my update frequency reflects that. I'd feel bad getting money from people and then not updating very often.
Thanks for sharing the story! I love hearing how people use the plugin.
I don't see any way to submit a ticket for this but could we get an option to disable the console messages when there are no players on? I've only got a few players on my server but every morning my console is just packed full of:
Thank you for your time and effort making this plugin for all of us! Any way to donate?
On a side note: anyone interested I've been able to combine this plugin with UVVillagers to make an even more exciting monster filled night for my players! =D ZA will trigger right after sundown and then UVV triggers around midnight, which gives my players a short breather before they are hit again with an ambush. New players are just shocked at the initial strike and then think, "oh good we're safe now." Then suddenly BAM! monster party! XD
@dbs727
I'm using the file that was downloaded through this, and it's my first time downloading it so no config to reset
R: ZombieApocalypse 1.4.3 for 1.6.2 Jul 13, 2013
03:29:29 [INFO] googri issued server command: /za 03:29:29 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'za' in plugin ZombieApocalypse v1.4.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:962) at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:880) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:837) at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at com.gmail.deathbysniper727.zombieapocalypse.ZombieApocalypseCommands.onCommand(ZombieApocalypseCommands.java:20) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
03:30:30 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-35-g4176258-b2823jnks (MC: 1.6.2) (Implementing API version 1.6 .2-R0.1-SNAPSHOT)
when I simply try to input /za command in game, it says in red color "An internal error occurred while blah blah~"
@BewilderedHooker
Are you using the correct version of the plugin? (Keep in mind that I forgot to change the version number inside the plugin for the last three versions so you can't tell from that). Have you recreated the config.yml file since updating last? I added new stuff a couple versions ago and the plugin won't work unless you delete and allow ZA to recreate config.yml and reconfigure it.
@satisfiction6794
That's actually a really cool idea!
This plugin is at least partially broken for me. I haven't seen a random apocalypse happen yet, but none of the commands work. When I enter any command, I just get "/za" in response, and nothing happens.
@satisfiction6794
I too would like to see this feature, shows different infections on zombies etc.
Would love to see zombies spawn with random potion effects......
@DaddyBee
Yeah, I forgot to change the version number inside the plugin before I uploaded it.
Hi dbs727! This is a very nice plugin, nice work! I'm using Minecraft 1.6.2 and tried the ZombieApocalypse 1.4.3, all seems well, no bugs whatsoever. But on the server it says ZombieApocalypse 1.4.0.....I tried downloading again, still it says 1.4.0. Aside from that, the plugin works as expected. Good work!
DaddyBee
@NJS96
No, you shouldn't need to have another plugin. Just make sure it's configured properly and if you haven't deleted/remade the config.yml file you'll need to do that probably because I had added some stuff. The longer event with waves probably won't come for a while but I plan on adding it sometime.
@ReikoKasumi
There aren't permissions yet, but I plan on adding it.
Is there permission nodes for the commands? or are some op use only?
I ask this because my server does 'not' use op at all.
You should be able to choose the mob that spawns. Otherwise, its great!
ScoreBoard Support!
Zombie kills: Round Timer: Ect..
When will the longer version with extra waves come out? Also do you need another plugin to make it run or a certain version on 1.6.2? Because the plug in isn't loading for me.
Thanks -NJS96
I just uploaded an updated version for MC 1.6.2 and it's waiting for approval.
Can you add that the apocalypse will only enter if the player is in a certain area? And maybe if they got killed the disguise into a zombie and have to kill a player to get back to life or something like that?