Plants Vs. Zombies
Intro to PvZ
Plants vs. Zombies is the minecraft version of the popular iOS and Android (and pc, xbox, everything.....) game. This version of PvZ strives to resemble the original game while still having the fun of minecraft! This means that some modifications had to be made. The plugin is simple for both admins and players. It is fully customizable through custom messages and an extensive, but easy-to-use configuration. Perhaps the best part is that Plants vs. Zombies is fun with almost any number of players. If you want the game to start after only 2 players join, you can do that, and if you would like a different plants to zombies ratio, that's also configurable!
Special thanks to FlamingAmazingGaming for creating this video. Check out his channel!
How It Works
Players first join a game using the /pvz join command. Different classes of plants or zombies can then be chosen with the /pvz type command. Once a game starts, players will be teleported to a plant spawn or zombie spawn, depending on which one they were selected to be. The plants try their best to survive the attacks of zombies for a configurable amount of time (default is 120 seconds). The zombies must reach the end of each row to win.
Features
- Config allows for all kinds of details to be changed to best fit your server
- Multiple arenas
- Built in selection tool (no need for World Edit)
- Semi-easy arena setup
- Multiworld support
- Different kinds of plants and zombies, each with their own abilities and permissions (so you can add them to a rank on your server)
- Good-looking scoreboard to let you know how much time is left and how many more rows need to be captured
- Zombie slowness
- Optional mob disguises
- Fireworks!
Dependencies
There are no hard dependencies, but if you would like to disguise players as mobs, simply set "use disguise craft" to true in your config.yml and add DisguiseCraft to your plugins folder. http:dev.bukkit.org/bukkit-plugins/disguisecraft/
Bugs and Feedback
If you find a bug, please submit a ticket. If you think of something that you would like to see implemented into PvZ, please post a comment. We are planning to add a few more features in the future to make the plugin more fun to play. We will also be releasing a video and two maps to play on fairly soon (one to two weeks). Here are a few of our plans for the future:
- Create a tutorial video as well as a gameplay video
- Upload maps
- Add more plant and zombie types
- Possibly add waves of zombies (with configurable real zombies)
- Possibly add an enderdragon bar or more stats to the scoreboard
- Make some minor adjustments to make the game more fun to play
- Add a command to delete arenas
- Teleport players to a lobby when games end
- Add a command to create a lobby
Source
You can view the PvZ code at https:github.com/Lactem/PvZ. Feel free to make pull requests. Your input is valuable!
Can we add new plants and zombies to inventory list and if so can we add potions to the item id? Do we call the plant type something new or use one of the existing ones? Can we add new text to the desc? If so, do we have to add it to the messages.yml file too? If adding a potion do we type it with a semi colon 373:8259? Thank you. :D
@Lactem
Okay solved thanks
You should add some pictures for people to see. Just a thought. :)
@Mwguy52
You can have as many rows as you want. I think the problem is your endpoints. The endpoint of each row is a single location. It's NOT set to your selection. When a zombie steps on an endpoint, that row is captured and everyone in it is telephoned to a different row.
@Lactem
Yes i'm but everytime zombie passes a row it does not detect it,currently i have 13 rows in 1 map,is it because of the amount of rows?
@Mwguy52
What do you mean? Did you set the spawns for each of your rows and are you using the newest version?
sorry but for some reason the plugin is not detecting the rows i put.Is there a way to fix this?
@Lactem
Sure. Thank you
@catprowler
I'll look into it. Would you mind creating a ticket?
Hi there, I'm not sure if this a concern but I have been receiving this in the console: http://pastebin.com/EuRFmB3A
Can you also please confirm if this would be the correct format to add another item to the inventory section in the config file? I am using a harming splash potion for the item id. venus fly trap bomb: slot: 3 item id: 373:16396 item amount: 1 name: '&2pVenus Fly Trap' zombie type: none plant type: venus fly trap permission: pvz.venusflytrap desc: - 'Venus Fly Trap will conquer and destroy.'
@catprowler
My pleasure.
@Lactem
This is so awesome! Thank you for all your help! :D
@catprowler
I'm glad it's getting there! First off, you need to set a plant and a zombie spawn for each row. Just like in the game, the plants and zombies are in all rows. It sounds like you set a plant spawn for row 2 and a zombie spawn for row 1, but both rows need a plant spawn and a zombie spawn. Second, yes I will probably add something to remove arenas. Third, you can already have more than one map! That's what the whole inventory section in your config is for. http://pastebin.com/F5QLf3U8 Look at that. See where it says "diamond sword 1?" That's what makes up a single item in the inventory with the map you specify there. To add another, just paste that section in again and change the slot number. Whatever you put here will be transferred to the /pvz join inventory. Here's what it could potentially look like with two maps: http://pastebin.com/F5QLf3U8
@Lactem
Thank you that worked. I am getting closer, lol. Why is it that only the zombie will spawn into the game and it tells me there is no spawn set up for the plants. I have 6 rows. After creating the arena, I took the wand and marked 1 corner of the row and went diagonal to the other corner, typed /pvz add sunnypatch. This indicated it was row 1 so I typed /pvz setspawn sunnypatch 1 zombie. I head to the next row and use the wand and do the pvz add sunnypatch and it tells me it is now row 2. I type /pvz setspawn sunnypatch 2 plant. I add the 2 because it told me it was row 2. Is that correct or should I be calling this row 1 too because its for plants or will it over write the 1st spawn point for zombie. If I get this I will actually be able to play the arena Do you think maybe in the future /pvz removearena sunnypatch could be added to this awesome plugin and an option to do more than 1 map? Or can you add more than 1 arena name to the map: under inventories config file? Thank you :D
@Lactem
worked thanks
@catprowler
That is a common mistake I've noticed. You set up your arena and everything, but you didn't update your inventory section of your config.yml. What I put in there was just a generic example. You should see something that says "map: farm1." Just change that to the name of your arena and reload. Also, you can add more items to the inventory if you like.
@Lactem
Hi there, thank you for version 2.0 :) I have updated to this version but, the weirdest thing is... I am still getting that same error with that count down -1 and it goes on forever. I have it set for 20 in the config file. Another thing I noticed is when I do /pvz list it shows the name of the arena I created "sunnypatch". But when I join /pvz join I noticed beside the sword in the inventory window it says "Error: No Map Found. After I join once and then do /pvz leave because the count down won't stop and the join again it says that there are still 2 players on and the game is still in progress. I also got this error in the console: http://pastebin.com/E26G21JW Do you think I didn't set up my arena wrong? Why would it be in the list of arenas then? Any suggestion? Thank you.
@Mwguy52
I think you may be confused. When I say farm, it's the same thing as arena. The arena is a farm. Once you select the area of your arena/farm, create it with /pvz create <name>. Then make another selection of a row and add it to your arena/farm with /pvz add <name>. I hope that helps!
@Lactem
I already did that i selected the area of the arena then now i cant set the farm...
@Mwguy52
Oh I see. You probably didn't create your farm. To do this, type /pvz create <name>.