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:
@oscarmj11
There's an updated version using MinigamesLib here if this one doesn't work anymore for you: http://dev.bukkit.org/bukkit-plugins/minigameslib-seabattle/
please update this plugin.
LOVE the plugin! Trying to find a way around or to fix certain bugs..
my players aren't getting snowballs when they join in a arena
Hi, I see in at the top of screen you are planning to add more weapons. Just an idea- maybe add squid torpedoes? I also like the dogfight idea @Samueljuhaz came up with. Great Plugin!
@Samueljuhasz
Epic idea, thanks!
@Stop95
Looks like it doesn't find the arena.
@IngrownPenguin
Will add that :) Actually I was thinking about recoding the whole plugin with the ColorMatch arena system, but it seems like it's working fine for most of you guys?
why?
Could you make the same plugin, but in the air? : you are on a flying minecart and you can shoot arrows at the other players. The last man flying won the game
also make it get the gamemode to survival on join ;D
Super plugin and works well
@LHammonds
Sorry for not answering this long time (it's more than two weeks ago when you posted that), I've been busy with other projects and not looking at the comments of this one.
First off, thanks for the suggestions. :) I can totally include all of these, and added them to the todo list. Regarding the boats not spawning, are there any errors in console?
This is a great mini-game and works pretty solid. Sometimes players spawn without a boat but the reset command fixes it (yes, the spawn was placed at least 2 block up in the air and there were several blocks of water below)
I have some suggestions on how to make it even better but feel free to ignore since it is just nit picky, refinement things.
1. When setting spawn positions, also record direction player is looking. I can set the spawns where they are all looking towards the center of the map but when players come in, they can be facing the opposite direction and looking at a wall.
2. Have the min/max players in the config as the "default" values but allow the values to be set per game since some maps might be for just 2 players, some 10 players.
3. The lastmanstanding being set true seems to be ignored. There can be 4 or 5 players in a match but the 1st person to destroy a boat is declared the winner and the entire game is over...rather than continuing on and letting the remaining players fight it out.
4. Have an option where defeated players can be sent to an observation area while the fight between the remaining players continues to rage on. Once the final person is declared the winner, then teleport all of them back to the lobby or allow the remaining players to get back on their own (I place warp signs in the spectator room to go back to the lobby)
Also, I plan on having at least 7 or 8 arenas...if you would like, I could send you schematic files that you can share with the rest of the world.
Thanks,
LHammonds
Haven't set it up but looks epic!
@tomorrow4268
I agree however you can use a plugin for now called cookiemonster or a similar one to earn $ per player kill, I use those on my minigames that don't support economy =)
update plz
i think the option to get $ as a reward should be added
@chopstick121
As long as you don't have plugins that could conflict with SeaBattle, yes.
ok thanks ill lok if it works
@kilianfunk
cause thats an arena, you can edit blocks if you ae not in play mode, if you click join and then try to edit it wont work....
:)
is the error fix with players getting off the boat?