MinigamesLib: SeaBattle
MinigamesLib: SeaBattle
SeaBattle (former boatgame) recoded to use the MinigamesLib and fixed all bugs. SeaBattle is about what its name says, battling people in boats with snowballs. Boats normally have 5 health and you have 2 lives, but that can be adjusted in the config.
Setup
You need to install MinigamesLib for the plugin to work
Also, you'll need Vault for economy rewards to work.
- /sb setmainlobby set the main lobby where all join signs will be
- /sb setlobby [arena] set the waiting lobby
- /sb setspawn [arena] sets the player spawn, repeat for multiple spawns
- /sb savearena [arena]
You can now set a join sign (optionally). Lines:
- SeaBattle
- [arena]
Commands/Perms
Command | Description | Permission |
---|---|---|
/sb | Shows all possible commands | |
/sb setspawn <arena> | Sets the spawn point. | mgseabattle.setup |
/sb setlobby <arena> | Sets the lobby point. | mgseabattle.setup |
/sb setmainlobby | Sets the main lobby point. | mgseabattle.setup |
/sb savearena <arena> | Saves the arena. | mgseabattle.setup |
/sb setmaxplayers <arena> <count> | Sets the max players allowed to join to given count. | mgseabattle.setup |
/sb setminplayers <arena> <count> | Sets the min players needed to start to given count. | mgseabattle.setup |
/sb setarenavip <arena> <true/false> | Sets whether arena needs permission to join. | mgseabattle.setup |
/sb removearena <arena> | Deletes an arena from config. | mgseabattle.setup |
/sb removespawn <arena> <count> | Deletes a spawn from config. | mgseabattle.setup |
/sb join <arena> | Joins the arena. | |
/sb leave | Leaves the arena. | |
/sb start <arena> | Force-starts the arena. | mgseabattle.start |
/sb stop <arena> | Force-stops the arena. | mgseabattle.stop |
/sb list | Lists all arenas. | |
/sb reload | Reloads the config. |
Config
There are a few config files (config.yml, classes.yml, arenas.yml, messages.yml, stats.yml) which are mostly self explanatory. Be aware that guns.yml is not used in this minigame!
config: default_max_players: 4 # default amount of maximum players that are allowed to join an arena default_min_players: 2 # default amount of minimum players that can join an arena lobby_countdown: 30 # amount of time in seconds to countdown in lobby ingame_countdown: 10 # amount of time in seconds to countdown ingame before the final start rewards: economy: true economy_reward: 10 # You'll need Vault for economy to work item_reward: false item_reward_ids: 264*1;11*1 # 264 being the id, you can specify an amount (the '*1') and enchantments (e.g. 264#DAMAGE_ALL:2*64 would be sharpness 2 on a stack of diamonds) command_reward: false command: pex user <player> add SKILLZ.* default_boat_health: 5 default_player_lives: 2
You can also specify data on an item reward. If you would want 32 enchanted red wool blocks, you'd adjust the config to: 35:14#DAMAGE_ALL:1*32, where :14 is the data for red, 35 the id for wool, and the rest as explained above.
Kits/Classes
There are 2 classes with different amount of snowballs.
Preview
Youtube
[Portuguese] Video tutorial by Tuffão Gamer: https://www.youtube.com/watch?v=F8EhQrsI2Os
TODO
- Suggestions are welcome. :)
Additional Information
Have fun :)
@D3thw0lf
This is a confirmed bug in minecraft 1.8 plus :( No resolution as of yet. You can see the bug in the MC bug tracker. This applies to all gameplay, not just this plugin. https://bugs.mojang.com/browse/MC-51126
same thing, shooting any snowball or arrorw will hit the player....
My players can't throw snowballs in the arena. :(
/edit I'm using SeaBattle v1.1.2 for CB 1.7.9-R0.2 on Spigot 1.8_R1
Plug-In loads fine, creation works fine, spawning works fine but fighting doesn't work.
What resource pack is used in this picture?
@dadee971
Check comments on the MinigamesLib page or add me in skype.
Is there anyway that i can get this plugin becasue bukkit has so many probs, they can't approuve this for now.
Ok thanks :)
@dadee971
Already uploaded, just wait 5-7 days for bukkitdev staff to approve it.
Hi, there is no Download?