Sea Battle
Sea Battle
This is a minigame where your goal is to destroy the enemies boat with (snow)balls. After building the arena and the following setup you can start fighting against each other! In version 1.1 economy got added, which means, you can turn this game even into a gambling game :) It works like a jackpot, everyone joins by paying e.g. 10$, but the winner gets everything that got paid back. You'll need Vault for this feature to work.
There's an updated version here, if this one doesn't work for you anymore: http://dev.bukkit.org/bukkit-plugins/minigameslib-seabattle/ Be aware that the commands and permissions changed a bit.
Setup
- Build your arena. Should contain water ;)
- Type in /sb createarena [name] to start the process of saving your arena.
- Next create two spawnpoints for two different teams in the arena: /sb setspawn 1 [arena] and /sb setspawn 2 [arena]
- Create a little lobby and type in /sb setlobby [name] while standing in the lobby.
- That's it!
Now you can create a sign containing the following lines:
- [boat]
- name (your arenaname)
Rightclick this sign and you'll spawn in your arena in a boat and some (snow)balls in your inventory.
As of the 1.5 update you can now add Ammo signs to let people get more snowballs ingame:
- [boat-ammo]
- 64 (this can be any number; it determines, how many snowballs the player gets, 2 stacks would be 128)
These ammo signs are available only once to each player in a game.
Commands
- /sb : Main SeaBattle command
- /sb createarena [name]
- /sb setspawn [number] [name]
- /sb setlobby [name]
- /sb removearena [name] : Remove an arena
- /sb leave : Leave the arena ingame
- /sb list : List all arenas
- /sb reload : Reload the SeaBattle config
- /sb reset [name] : Reset an arena
- /sb recreateconfig : Readds the default config values (doesn't remove arenas)
Permissions
- boatgame.* : all permissions
- boatgame.sign
- boatgame.create
- boatgame.setspawn
- boatgame.setlobby
- boatgame.cleararena
- boatgame.reload
- boatgame.list
- boatgame.remove
Config
- alwaysdropboat: true let boats drop always themselves
- invincibleboats: false invincible boats
- boatlifes: 5 number of snowballs that need to be shot at a boat to crash it
- playerlifes: 2 number of times a player respawns in one game
- use_economy: true true, if you want the gambling feature
- entry_money: 10.0 the entry price, please use numbers with decimal places. Only available, if use_economy is set to true
- maxplayers: 10 defines, how many players can join an arena
- minplayers: 2 defines, how many players are needed to start a sea battle
- starting_cooldown: 11 seconds to wait before an arena game begins
- teams: false enable this to have teams (max 2 teams)! Each team has a different head and uses one of the spawns as teamspawn. Members of a team can't kill themselves.
- itemreward_itemid: 264 Diamonds
- itemreward_amount: 2
- announce_winners: true
- auto_updating: true auto updates the plugin, if there are new releases
- lastmanstanding: true if set to true, the last man standing in a sea battle (if everyone leaves) will win and get the reward
- snowballstacks_amount: 3 the amount of snowball stacks to be added when a players joins a sea battle
- ammo_usage_count: 2 how many times the player can use an ammo sign in one game
Preview
Todo
- extend multiple item prizes with multiple item amounts
- additional weapons like shield in the future
- add MySQL support to store arenas and stats
- min/max players also per arena
- spectator mode
Green bullets are already done, yellow ones are still buggy or being tested, red ones not done yet.
Translation
The Config contains all strings used by the plugin. You can easily change them and the colors to your preferred language.
Additional Info
You can adjust the name of the boatballs by changing the strings.ball_name entry in the config.
You can configure boats to be invincible or drop theirselfs by changing the configfile, too. Defaults:
- alwaysdropboat: true
- invincibleboats: false
- This plugin uses an auto-updater which can be turned off in the config. I don't recommend that for future bugfix releases.
- This plugin also sends things like software information or online player count to MCStats (mcstats.griefcraft.com/plugin/SeaBattle).
Have fun!
Youtube
For those don't want to read all that stuff or don't understand the setup instructions above, here's a youtube video with some gameplay and a tutorial. :P This video is by BukkitHorde, thanks to him for doing that for me!
Here's another review in Spanish:
@instancelabs
Okay, thanks, I'm doing that now. My arena is 4-5 blocks deep where they spawn, I probably put the spawn too high.
Thanks again,
MojatoGames
@ahmedseif
Yes I will fix that :)
@MojatoGames
Yes, I added that in the new version: SeaBattle v1.4.1
This problem may occur if your arena is not deep enough or the spawn point is too high or to low above the water. Please try to create a deeper arena and play a little bit with the spawn points. I tried the plugin on several servers and it seems like it only has to do something with how the arena is build. :)
@MineCrafterCity
I don't know if this is possible, but I definitely try to implement this, very nice idea!
Suggestion: Make it possible so that boats can go onto rails. Would be nice for to make cool maps. edit 1) /sb leave is giving me an internal error. edit 2) /sb leave does not give me an internal error when I set a lobby for the arena. edit 3) it doesn't delete the boats in the arena.
@instancelabs
PM'ed :)
@instancelabs
Thanks for helping, I've tried redownloading the whole plugin too, I'll wait for the patch. Also, Can you make a minimum players needed to start the game in the config?
<<reply 1699190>>
I am also getting that problem
Thanks,
MojatoGames
and also please went players logout it says [Boat] Arena 1/10 means he is still ingame can u please also fix that i mean if there is 1v1 and one logout game wont stop :/ means the other player will still be there can u please fix like like he logout game stop
Sorry for that, I'll try to fix that today. Seems like v1.4 broke the whole plugin.
You could try deleting the config, so that it gets recreated, maybe that's the problem.
instancelabs i really want to use this plugin but please try to add something like so players cant get off the boat while joining
@instancelabs
1.6.2-R0.2 dev build #2850 (latest one)
EDIT: I set my spawn in the air and I still don't get a boat so Idk. Also, they aren't locked in place before the game starts.
@hades700
Yeah you can send me the ip. :)
Hey Dude,
I'm getting a really weird bug but its kinda hard to type :( Any chance I could PM you my server IP and can you join and look at the issue? so I can show you :)
Thanks,
Keep up the great work!
Hades
@MojatoGames
What bukkit version are you using? Also, this bug is coming up because of the missing boat.
I got an error using the command /sb leave after that game: http://pastebin.com/w5cuv1iE
Players don't spawn in with boats and can also take their hats off, I don't get any error in the console though. This is a really cool plugin, please fix this.
Thanks,
MojatoGames
@ahmedseif
So are these bugs coming up for you?
no problem btw great plugin ty
@ahmedseif
Could not reproduce these things using the latest Craftbukkit build, I'm sorry. Btw I did not test the plugin with MCPC+, are you using that?
boat can crash if u dont know how to drive well :p
players can get out of boat while ingame :/
@Fatcake24
Thank you for your suggestions!
1.4 is not approved yet, but can be found here.
I added the following ideas to the todo list:
Regarding the redstone thing, it's a good idea, but right now I'm pretty happy with the notification coming when you lose one life. This will be implemented maybe later :)