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:
@fbafaro
In a few hours I'll upload a new version, should be fixed then.
Will contain these features, too:
Edit: SeaBattle 1.2.2
@instancelabs
oh, that was like 11 dev build ago, any idea when you'll have a fix.
@fbafaro
Hey, I tried the latest bukkit dev build and yeah, the plugin is broken. Seems like there's a bug, which doesn't allow to set passengers into boats properly. If you use the dev build #2820, everything will work.
@instancelabs
I'm using the latest bukkit dev and yes the spawn point is in the water. Where should I set my spawn point then?
@LegacyUnlocking
I'll try to implement that, added to todo list ;)
@instancelabs
Hey i was wondering if you could make it save your inv then clear your inv when you join the game then when you leave it gives you your inv back .
@fbafaro
You can't get into the boat? Are you using spigot or are any errors coming up? I had a similar behaviour using spigot. If not, maybe the spawn point is in the water and the boat glitches around ;)
@hades700
Hey, thank you! :)
Yes, I'll add that to the config. Regarding the movement lock, I tried it out, but as of now it seems very glitchy in a boat. But this will get implemented, too :)
Are any errors coming up? Maybe the plugin doesn't find the sign to update it, because the world is not saved in the config. If so, recreate the arena please.
@instancelabs
Thanks so much! I've been excited to use this all day
When I join a game, I get teleported to the spawn of the are then I get a boat but I can't get in it, any idea why?
@instancelabs
First: I LOVE your plugin! Second: I was wondering if any of the following will be getting implemented
Finally, a small bug I have found: when a game ends when someone wants to click the sign to play it again it says on the sign its in progress already yet there isn't a game in progress?
Thanks a lot for producing such a great plugin! keep up the good work bro :D
~ Hades
@weedpandaren
Did you try the latest build? If you use this one, please delete the configfile. This build doesn't ship the content of the configfile and should be working.
If it still won't work, create the config.yml completely by yourself and then paste the default config in there. Windows uses ANSI while Linux uses UTF-8, means if you create the file in the system itself, it defnitely should be working.
Sorry for that inconvenience, but I didn't know about such os dependencies :/
Edit: I will add this, too :)
Edit2: Alright then, very nice! :D
@instancelabs
Thank you for your quick reply! yeah we use linux and your new file fixed the error :) adding /sb reload would be useful.
@trisomo
Good idea, that will be added :)
@Thesneling
Thank you!
Also, would you mind if I link that video here then?
@Epic_Weasel
Thanks, I'm doing my best to :)
Awesome!
Keep up the good work! :)
@PipsPriller
I'm ok to do the video tutorial. Just nee to wait a little bit (i'm on vacation) and i'll send you an PM with the link
Thesneling
Seems really cool and the idea that we can win money is good
@instancelabs
That's pretty nice :D for the moment I didn't see any bug but I've a pretty good idea ! That could be funny if we can change boat's speed. :D I wish you all the best for you :)
@burntapples
Are you using Linux? I think there's something wrong with the encoding as I'm using paragraph symbols in Windows, maybe they corrupt the file for Linux. As a quickfix you could fill the config manually, here is the link for the default one: http://pastebin.com/cyB0JKKC
But I'll definitely fix that :)
Edit: I uploaded a bugfix release: SeaBattle 1.2.1
hey, your config is generating but its only empty. I cant actually use this plugin! its a great idea though
http://pastebin.com/mjPT9nvS