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:
The invincibleboats: false node, does that prevent boat collisions breaking boats only?
Is there any econ aspect? Players pay an entry fee, winner takes all?
Since this is under GPL is the source available on github?
@Gametista
I tried to remove the snow balls out of the inventory, but the code (using always the same one) only works for one player when leaving the arena.
Maybe the bug exists because of the custom naming.. I'll try to fix that until the next release.
@Zachary_DuBois
Thank you for your feedback and the offer! I'm adding this features to the Todo-list right now, but as I'm currently pretty busy, the next release will take some days.
@issor4
Did you set 2 spawns within the arena? Also, be sure to write the exact name of the arena in the second line of the sign.
You should make it where players can't leave the boat and maybe also a health bar that appears on the text saying how much health is left for that boat.
Hiya again! Installed the update, but the crafting table bug still is around in this build. Not sure if you were attempting to fix that in this version, but I thought I'd mention it just in case. Thanks for continuing on this! :)
Features:
Really looking forward for this plugin.
Looking forward to this!
Awesome, looking forward to multiple players, thanks! :)
@Gametista
Thanks for your feedback. I'm going to add an inventory update to remove the snowballs ;)
Also, in a future release more than two players will be able to play in one arena.
Just wanted to say this is a great idea, though I had a small issue so far:
When a game would end, anytime you went to a crafting table it would show a snowball there, which you can pull out a stack of 64. This was with nothing placed in the table too.
Seems fun so far, though could use more than one player!
@Rakete1111
Thank you, these are definitely better commands. I'll use them ;)
hey your plugin inspired make me a Sea battle map/arena with big ships and other things. Thanks
You should do /seabattle (/sb) + args to manage arenas.
Example:
Otherwise very good plugin, develop it quickly :D