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.
-
View User Profile
-
Send Message
Posted Dec 19, 2013@turtle2k
Nope, zombies just spawn around each player in the configured world.
-
View User Profile
-
Send Message
Posted Dec 19, 2013Does it have arenas that you can make for it so its not the entire place thats being attacked and just the arena
-
View User Profile
-
Send Message
Posted Dec 17, 2013@dbs727
Yes, make it spawn X times at night!
Thanks
-
View User Profile
-
Send Message
Posted Dec 16, 2013@JimiRebeld
They'll all burn up during the day, that's why it's 9:00 pm to 8:00 am. Someday I plan on adding waves during the night so zombies will spawn periodically instead of all at once.
-
View User Profile
-
Send Message
Posted Dec 16, 2013@Kosmoh
/za start already exists in the plugin, also you can do /za start [number] and spawn that many zombies per person. Currently it's only available to OPs since I haven't implemented permissions.
-
View User Profile
-
Send Message
Posted Dec 16, 2013Using it in Minetsii.es
That plugin should make spawn zombies 2 times per day, ppl are a little bored during day, it should be fantastic! Thanks dbs727!!
-
View User Profile
-
Send Message
Posted Dec 16, 2013This plugin it's really fun, but i have some ideas: 1- Add /za start to allow ops (or someone with permissions) to start an apocalypse whenever they want. 2- Make the time of apocalypse starting configurable
-
View User Profile
-
Send Message
Posted Dec 16, 2013@dbs727
nice , gj with the job!
-
View User Profile
-
Send Message
Posted Dec 16, 2013@blomman2
Good idea, I'll add that in the next version.
-
View User Profile
-
Send Message
Posted Dec 16, 2013posible to do so players can do a command so the zombies don't spawn at them? like builders that don't want any zombies to attack them while they building and when they are done they can type the command so they can spawn again?
-
View User Profile
-
Send Message
Posted Dec 16, 2013This plugin is really nice fun addition to your server. Players loves it.
-
View User Profile
-
Send Message
Posted Dec 15, 2013@Kosmoh
I actually haven't tried that. My first guess would be that they wouldn't spawn, but ZA would think they did.
I only ever run servers that are close to vanilla so I never really test those sort of things :/. Maybe I can look into it.
-
View User Profile
-
Send Message
Posted Dec 15, 2013What if an apocalypse start and a player it's on an WorldGuard protected region with no mob spawning allowed? Mobs won't spawn, right?
-
View User Profile
-
Send Message
Posted Dec 14, 2013@HexicDragon
:D That's great to hear!
-
View User Profile
-
Send Message
Posted Dec 14, 2013Nice can't wait for bukkit to approve it, everyone on my server (including me) could barely wait any longer without it :D
thank's for updating it.
-
View User Profile
-
Send Message
Posted Dec 14, 2013I just uploaded a new version!
You will need to delete your config.yml and let the plugin recreate it and then reconfigure it, lots of new stuff was added.
-
View User Profile
-
Send Message
Posted Dec 10, 2013I'm still working on the next release. But so far it works with Craftbukkit 1.7.2 dev build, and MC 1.7.4 , and I have configurable rewards added, just working on a few new things and I have a class I need to refactor before the next release.
-
View User Profile
-
Send Message
Posted Dec 9, 2013-
View User Profile
-
Send Message
Posted Dec 9, 2013@palipali
What exactly do you mean by wave count per day? I like your other suggestions, I just started working on it again last night. I've got to improve the quality of my code that I wrote. Now that I've worked as a developer professionally for a few months (not Java though) I realized how horribly I had coded some stuff. I'm hoping to get a new version out soonish.
-
View User Profile
-
Send Message
Posted Dec 9, 2013