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:
-
View User Profile
-
Send Message
Posted Aug 6, 2013Can you add another item in the player's inventory like redstone to show the amount of lives the player has? so if the p-layer has 3 lives there are 3 redstone in the inventory
also, is 1.4 out yet?
Also again xD (sorry for all the requests) but when you first join yo ucan throw snowballs while the countdown is happening. This should be removed
Another thing is I was playing and I notice the countdown happens when 2 players spawn. There should be more spawn areas if your not using teams and the you should be able to set how many players have to join for the countdown to begin.
Reemeber these are just requests, they dont need to be done
-
View User Profile
-
Send Message
Posted Aug 5, 2013This is the changelog for the versions 1.3 and 1.4:
-
View User Profile
-
Send Message
Posted Aug 5, 2013@Fatcake24
Added to todo list. :)
Yes, there are three statuses, "Join", "Starting" and "Ingame". While there's a game running, the status is changed to "Ingame" and joining the arena is not possible. After someone wins, the status changes to "Join" again.
-
View User Profile
-
Send Message
Posted Aug 5, 2013Think you could add a config to be able to change the name of the snowballs? I would like to make them have colored names and maybe change it too.
Also, do the signs show if a game is in progress? I would like to know this because I dont want the sign to still say "Join" is the game is in progress
-
View User Profile
-
Send Message
Posted Aug 4, 2013@Allateef
Yep, I was notified about that a few minutes ago, here's a bugfix release: SeaBattle 1.2.3. Thanks :)
-
View User Profile
-
Send Message
Posted Aug 4, 2013Hey there! Thanks for creating this plugin, it's really awesome :D I've been experiencing one big bug though, I don't know why players can destroy signs in the entire world (even when lockette and other permissions are activated). Hope you can check it! Cheers
-
View User Profile
-
Send Message
Posted Aug 4, 2013@Xephea
Thanks, this is a great idea :)
-
View User Profile
-
Send Message
Posted Aug 4, 2013@hades700
Any errors? Also, please use the latest bukkit dev build.
So you set the max players in the config to 2? If yes, thanks for reporting that bug :) If you didn't though, try recreating the arena. If a game starts, the sign gets updated to ingame-state, so noone should be able to join then.
Regarding the reward system, there's economy implemented, the winner gets a reward in form of money. :)
-
View User Profile
-
Send Message
Posted Aug 4, 2013@instancelabs
Hey Instance, Still loving your plugin! I found a few bugs though :(
Keep up the great work buddy!
EDIT: Also a reward system would be good :D
-
View User Profile
-
Send Message
Posted Aug 3, 2013Please add option for lives so players can respawn a certain amount of times to make games longer! Otherwise GREAT IDEA!!
-
View User Profile
-
Send Message
Posted Aug 3, 2013Oops my bad, sry =p
-
View User Profile
-
Send Message
Posted Aug 3, 2013I like plugin :) good job man ;)
-
View User Profile
-
Send Message
Posted Aug 3, 2013@trisomo
The cooldown is starting when at least 2 players are in the arena. While the game hasn't started, you cannot move or hurt the other players :)
-
View User Profile
-
Send Message
Posted Aug 3, 2013Hi there, it's me again :p I'm here cause i've a bug with your plugin. When I start a game the chat say me "JEEE" and the game start normaly : I'm in the boat with boatballs, but there are any cooldown starting and I can not moove (when I moove, the game tp me back at the spawnpoint of the arena).
-
View User Profile
-
Send Message
Posted Aug 3, 2013@instancelabs
No problem, keep up the good work.
-
View User Profile
-
Send Message
Posted Aug 3, 2013@Bimmr
Thanks for your offer, I'll come back to you if there's something :)
-
View User Profile
-
Send Message
Posted Aug 3, 2013@fbafaro
Fixed that now and will upload it tomorrow together with the Teams feature. Thanks for reporting it :)
-
View User Profile
-
Send Message
Posted Aug 3, 2013I love this idea... I wish i had thought of it...
If you need any help, just ask.
-
View User Profile
-
Send Message
Posted Aug 3, 2013@instancelabs
Thanks, I tryed the 1.2.2 and now I can get on a boat, but now when the counter start I see
game starting in 10 game starting in 10 game starting in 10 game starting in 9 game starting in 9 game starting in 9
each seconds appear more then once on the screen.
-
View User Profile
-
Send Message
Posted Aug 3, 2013@instancelabs
where here? I'm ok you put it on this pages. just i want to know by curiosity o0 Just, i come back about the 17-20 and go back 22-29 but i'll send you an PM with the link when it's done :)