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!
-
View User Profile
-
Send Message
Posted Oct 23, 2014@koen1905
-
View User Profile
-
Send Message
Posted Oct 22, 2014@instancelabs
Okay :D
@Mineplus
The option of using chest.yml or not, already exists. :P
-
View User Profile
-
Send Message
Posted Oct 22, 2014Hey InstanceLabs, when a player with Extra_Life Kit die the item drops, please fix it and please add an option to select the kit icon, please add a option to use or dont use chest.yml, use chests ingame, Thanks! Sorry for my english, i'm brazilian!
-
View User Profile
-
Send Message
Posted Oct 22, 2014Pls redo the chest.yml :)
-
View User Profile
-
Send Message
Posted Oct 21, 2014@themindstorm
The percentage is how big the chance of that chest occuring is, 5 in config means 5%.
@koen1905
Again telling you, check the setup instructions if you have set everything. The command is working fine, also maybe you're running some ancient version of MinigamesLib? Try updating then.
@bonescraft
Chests are only getting filled when you join an arena and open a chest. Also on chest2 you have a semicolon - ";" - too much at the end.
@NinjaCraft5454
Using Minigameslib 1.9?
@NextStage
To change the title of the shop gui check messages.shop_item in messages.yml.
@Floodeer
Oh alright, I'll see what I can do there, might be a slight lag problem.
-
View User Profile
-
Send Message
Posted Oct 21, 2014Can someone explain the concept of the chests.yml and their percentages? i don't really understand them thanks
-
View User Profile
-
Send Message
Posted Oct 20, 2014I get the error the guns
-
View User Profile
-
Send Message
Posted Oct 20, 2014@instancelabs
then .. players enter the arena and start the game over after about 10 seconds all kind come out and show everyone that won .. is this some bug? this occurring in this latest version you left for download
-
View User Profile
-
Send Message
Posted Oct 20, 2014@bonescraft
Look: Just copy paste if you want more chests. The percentages must add up to 100! config: enabled: TRUE chests: chest1: items: 3*64;4*3;79*3;10*1;325*1;320*2 percentage: 25 chest2: items: 3*64;4*3;79*3;10*1;325*1;320*2;276*1; percentage: 25 chest3: items: 3*64;4*3;79*3;10*1;325*1;320*2;267*1;322*2 percentage: 25 chest4: items: 3*64;4*3;79*3;10*1;325*1;320*2;262*4;287*3;311*1;316*1;301*1;322*3 percentage: 25
Let true, and it will work.
-
View User Profile
-
Send Message
Posted Oct 20, 2014PLEASE HELP
I changed the config with the chest and I built a new arena but every time I start the arena the chests are not filled! I don't understand how it doesn't fill up. I will post my config
PLEASE HELP, thank you. ==
-
View User Profile
-
Send Message
Posted Oct 20, 2014And pleaaase, can you add an extra message like: You already own this kit! Pleaseeeee
-
View User Profile
-
Send Message
Posted Oct 20, 2014Oh and, there is a bug, when i bought a kit, it don't appers in Kit Menu http://prntscr.com/4y0o3y
-
View User Profile
-
Send Message
Posted Oct 20, 2014Hi! Can you add an extra message for inventory title? http://prntscr.com/4y0mgu Not this option: http://prntscr.com/4y0mop
-
View User Profile
-
Send Message
Posted Oct 20, 2014@instancelabs
Yes, but do not think you understand my problem yet. Let me give an example, when I kill you, the expected drop your items on the floor, but that's not what happens when you go to spectator mode that your items are dropped, ie they are dropped in the air, not on the floor as should, I can record a video or display images if you find easier.
-
View User Profile
-
Send Message
Posted Oct 20, 2014Then what exactly are the percentages for? Anyways thank you for making this plugin. It is the only one i could find which has a sign join.
-
View User Profile
-
Send Message
Posted Oct 20, 2014@koen1905
If you can't save the arena you forgot to set something, check the setup instructions above ^
@themindstorm
It's in your plugins folder at plugins/MGSkyWars/. Also you need to use one of the latest skywars versions that start with 1.4.*
@Floodeer
Well items should drop, that's all fine.
@NextStage
Oh yeah, the achievement item still stays, I'll add that it vanishes too. Edit: https://github.com/instance01/MinigamesAPI/commit/7c2979fac70db35c7977f2bf1d8d9d163a98f49f
-
View User Profile
-
Send Message
Posted Oct 20, 2014how do I get the chests.yml? I do not find it. Can someone help? Thanks
-
View User Profile
-
Send Message
Posted Oct 20, 2014how do we use chests.yml?
-
View User Profile
-
Send Message
Posted Oct 19, 2014I can't sAve the arena by give my a orror please fix it Thx :)
-
View User Profile
-
Send Message
Posted Oct 19, 2014@instancelabs
The new version (1.9) fixes the spectator mode and some bugs, but when a player kills the other, the items are still being released into the air.