MinigamesLib: Open SkyWars
MinigamesLib: Open SkyWars
Open SkyWars recoded with MGLib. Usually skywars is fought on islands where you start with some gear in a chest and build up your base or just get some weapons and attack others.
<color red>> MGSkyWars v1.5.1 works with MinigamesLib 1.12, please update if you use the new MinigamesLib version.<</color>>
Setup
You need to install MinigamesLib for the plugin to work
Also, you'll need Vault for economy rewards to work.
- /sw setmainlobby set the main lobby where all join signs will be
- /sw setlobby [arena] set the waiting lobby
- /sw setspawn [arena] will give you a dragon egg which you can rightclick multiple times to set multiple spawns
- /sw setbounds [arena] low sets the lower left corner of the map
- /sw setbounds [arena] high sets the higher right corner of the map (so that you got a cuboid)
- /sw savearena [arena]
You can now set a join sign (optionally). Lines:
- SkyWars
- [arena]
Here's a small help image I drew some time really quick for you to understand how boundaries should be set up:
https://dl.dropboxusercontent.com/u/82137075/help.png
Commands/Perms
Command | Description | Permission |
---|---|---|
/sw | Shows all possible commands | |
/sw setspawn <arena> | Sets the spawn point. | mgskywars.setup |
/sw setlobby <arena> | Sets the lobby point. | mgskywars.setup |
/sw setmainlobby | Sets the main lobby point. | mgskywars.setup |
/sw setbounds <arena> [low/high] | Sets the low/high boundaries of the map. | mgskywars.setup |
/sw savearena <arena> | Saves the arena. | mgskywars.setup |
/sw setmaxplayers <arena> <count> | Sets the max players allowed to join to given count. | mgskywars.setup |
/sw setminplayers <arena> <count> | Sets the min players needed to start to given count. | mgskywars.setup |
/sw setarenavip <arena> <true/false> | Sets whether arena needs permission to join. | mgskywars.setup |
/sw removearena <arena> | Deletes an arena from config. | mgskywars.setup |
/sw removespawn <arena> <count> | Deletes a spawn from config. | mgskywars.setup |
/sw join <arena> | Joins the arena. | |
/sw leave | Leaves the arena. | |
/sw start <arena> | Force-starts the arena. | mgskywars.start |
/sw stop <arena> | Force-stops the arena. | mgskywars.stop |
/sw list | Lists all arenas. | |
/sw 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!
If you use the chests.yml feature, be aware that chests are only getting generated when you join the game and open one, not after you save the arena.
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.* global_arenas_size: 30 # not used in this minigame
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.
Chests.yml
The chests.yml feature is optional, normally you can just fill the chests with stuff before saving. If you want them to be loaded dynamically in the game when someone opens a chest though, you can also use the chests.yml. Just set enabled: false to true and edit the chests. Be sure that the percentages add up to 100.
Be aware that chests are only getting generated when you join the game and open one, not after you save the arena.
Default chests.yml: (Here's how you use the item markup: https://github.com/instance01/MinigamesAPI/wiki/Default-Config-and-Item-Markup#item-markup)
config: enabled: false chests: chest1: items: 5*64;5*64;5*64;5*64;262*64;278*1 percentage: 5 chest2: items: 5*64;262*64;267*1 percentage: 20 chest3: items: 5*64;262*64 percentage: 25 chest4: items: 5*64 percentage: 50
Kits/Classes
There are 2 default classes with some startup gear (including bows and armor). You can adjust these in classes.yml.
Preview
Youtube
[Portuguese] Video tutorial by GamesTdai: https://www.youtube.com/watch?v=umeuXWv6T6Q
[English] Video tutorial by Numero Uno: https://www.youtube.com/watch?v=_7G7cSAgXQc
[Portuguese] G4mem4x: https://www.youtube.com/watch?v=hFZyJWWwT2w
[Spanish] FeerBukkit: https://www.youtube.com/watch?v=PxZqgfLpSlw
[Spanish] Another tutorial: https://www.youtube.com/watch?v=yB-XFKW5Omo
Additional Information
Have fun :)
BUGS?
Submit them here: http://dev.bukkit.org/bukkit-plugins/instances-minigamesapi/forum/ and NOT in the comments!
what?!?! Why i can't delete the default kit and pro kit?!!?!?!?
Hi, there are a bug, when the game stars. sometimes the glass not broke :I
@NextStage
You can already change the name of the item kits in MGLib 1.5. Scoreboard customization is planned for far future, right now there are other more important things to be added. :)
@TheL0w3R
Check messages.yml to change the signs.
@TheGamesNetwork
In a later update maybe.
@MrQuibe
Guns don't work with this minigames as stated above in the description. :)
@ELSaitam
In the latest versions of everything you get healed and messages appear too. ;)
Please, add a custom scoreboard, add custom name item kits.
Can you add Customizable Signs?
I have this plugin installed on my server, and i have other MGLib PLugins.
If i could customize the signs for skywars like that:
[SkyWars] Join Arena Name 0/17
and for Splegg like that:
[Splegg] Join Arena Name 0/17
I think it will be a nice feature :D
Can you add chest.yml :)
How to get the guns and are they for?
@instancelabs
A message should appear when you choose a kit. When you appear on the glass in the sand and you lose life when glass breaks ground falling to hurt you.
Sorry for my bad English
@momzlilmonsters
@thewalkingplay
Alright I'll consider adding this. :)
@TheGamesNetwork
The damage bug is fixed in the latest MinigamesLib dev builds, and regarding the arena being too high.. Well it calculates that if you fall more than 5 blocks under the spawn, you die. So you could simply adjust your spawns a bit and that'd be fixed. But it'd be probably better to change that to y<0 as skywars maps are usually in the air, you're right.
Edit: Should be fixed now, uploaded SkyWars 1.2. You'll have to wait for bukkitdev a bit to have it approved, sorry.
there are a few bugs as you join the arena you get damage, if the arena too high and you jump on your island, the game stops, its buggy please update it. it is a epic plugin with bungeecord support! i like that.
btw nice plugin. :)
yes chest support would be very nice. allowing us to customize a chest.yml that would allow for the game on reset to randomly generate the contents of the chests from the groupings in the list like this example here http://pastebin.com/bfH9bGDV
Can you give us the URL of SkyWars 1.1 because Bukkit has probleme (mojang takes it). So the approval time may be long :(
please, make chest.yml type this: http://prntscr.com/4eskx7
I would be willing to pay ya a few bucks if ya could write a custom script for me :} or is there a reason you don't have it in there? thanks again...awesome plugin btw especially for a noob like me lol.
@antoinefunloup
Awaiting approval, 5-7 days.
@pageslinger
I won't add this into skywars, sorry, but maybe into a survival games plugin. :)
Wher can i find MG-OpenSkywars 1.1 please? With this plugin, you can make survial games. (terrain regeneration, chest refilled). I'm right ?
I thought it was something like that...anyway to make it a random spawn of things? thanks!
@Zylok4257
It's still unreadable. Well, I can only tell you that you miss something, maybe mainlobby/waiting lobby or one of the boundaries.. So yeah, just recheck the setup. :)
@GamesTdai
As we already had it over skype, command rewards working fine. And I'll check if the command_on_stop function works.
@pageslinger
You'll need to fill them before saving the arena. :)
any idea why the chests spawn empty? or how I make them spawn with stuff? sorry if its a dumb question
Reward command not work, help....
dont have erros in log..
Plz Add motd change on start server and start minigame for bungeecord. Tkx