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 Nov 17, 2014@instancelabs
Great! Thanks! :D
-
View User Profile
-
Send Message
Posted Nov 16, 2014Extra Life continues dropping items :(
-
View User Profile
-
Send Message
Posted Nov 16, 2014@instancelabs
You can add a pyramid with the top kills and top winners and the heads of the players of skywars, plz :D
That would be brutal!
-
View User Profile
-
Send Message
Posted Nov 16, 2014@instancelabs
But I wanted to have the command /sw shop available in mainlobby
-
View User Profile
-
Send Message
Posted Nov 16, 2014@Junac01
Other bug, if i bought a kit, and i try to chose it, it says: You dont have credits.
-
View User Profile
-
Send Message
Posted Nov 16, 2014@Junac01
Hi, recently i bought a kit, it says: You bought kit: Anvil for: 60 credits. But, when i saw my credits it didnt take my credits Can you understand me? It a very big bug
-
View User Profile
-
Send Message
Posted Nov 16, 2014@instancelabs
It really looks ugly, can you add an extra message like: menu_title_message: &0Shop Menu: Something like that, please! http://subefotos.com/ver/?7058a56be06d6ba57d50e2a37aa1c028o.png The same with kit menu, or achivements menu!
Thank you!
-
View User Profile
-
Send Message
Posted Nov 16, 2014@blopnuts
You have all of the reason! This is a very good idea!!
-
View User Profile
-
Send Message
Posted Nov 15, 2014Could you make an option to make the players' assignment to the island random? The first player to join is always on spawn 1, ect, and always gets the same chest.
Also while spectating, if you try to move down, it can make all the players disappear. They couldn't see each other for a bit either.
-
View User Profile
-
Send Message
Posted Nov 15, 2014@instancelabs
Hi, i have some ideas for the plugin - Random entrance for the glass cage for each player. - When you buy a kit, it can be added to the Kit Menu. - Disable the command: /sw kit in game.
Thank you for reading, hope you like it!! :D
-
View User Profile
-
Send Message
Posted Nov 15, 2014@MrShadowPT
/sw shop was already added in one of the last MinigamesLib releases and /sw setspecspawn was added yesterday, it'll be included in the next MinigamesLib release.
@EnomaliaServer
You can actually already do that if you add "slot: <number>" to the class in classes.yml. Be aware that the first slot number is 0. ;)
-
View User Profile
-
Send Message
Posted Nov 15, 2014@instancelabs
Plz, add a command /sw shop and /Sw setspecspawn!
This plugin it´s amazing :D
-
View User Profile
-
Send Message
Posted Nov 15, 2014@instancelabs
Maybe add a feature that allows you to set the classes in the GUI in the places that you want.
Example: Class Archer: X:2 Y:2
Hope you can add it, great plugin man keep up the good work! :D
-
View User Profile
-
Send Message
Posted Nov 14, 2014@Mineplus
If you add items in the chests you need to save the arena again afterwards, so retry that maybe.
@OTF_Catastrophe
These lines mean what will be displayed on the scoreboard, each line is one line on the scoreboard. There are some variables in the default config such as <playercount>, <wins>, <points>, etc. If you set use_custom_scoreboard to true you'll see the default lines on the scoreboard ingame ;)
-
View User Profile
-
Send Message
Posted Nov 14, 2014@instancelabs
Yes, changing the color of your cage is exactly what I mean :)
-
View User Profile
-
Send Message
Posted Nov 13, 2014Please add sound effects
-
View User Profile
-
Send Message
Posted Nov 13, 2014Thank you for a response @instancelabs ^-^. What I mean about the scoreboard is, I see where you can set "custom-scoreboards:"(or use-custom-scoreboards idk) and I have that set to true and in the area where it lists on special scoreboards( the 2 default ones) it tells you like "Line 1","Line 2" and such. I was confused what it meant so I figured it might have just been put on a sign but it didnt fit on a sign nor did anything work. Im confused how to create the scoreboard in game for players to see. Id also like to know if there is any Scoreboard Sidebar plugin you might be partnered with that allows you to use your plugins variables(if any) in the scoreboard? Variables that could be like {player-score} {game-wins} {kdr}
-
View User Profile
-
Send Message
Posted Nov 13, 2014@instancelabs
Ok, but I'm not using the chests.yml and the chests do not regenerate, what should I do?
-
View User Profile
-
Send Message
Posted Nov 13, 2014@EnomaliaServer
Hey, thanks for your suggestions! Adding percentages for the items itself is planned for this weekend release. For the rest, you mean changing the glass color of your cage right?
And sure, I can add infinite chest files support, this might take a bit longer though.
@Junac01
Yeah, I'll add a /sw setspecspawn command.
@stefan457yt
Yeah, as of now these commands at stop are executed by the console and only work for certain commands. Which one are you trying to execute?
@OTF_Catastrophe
Score in chat is not possible without coding an extra plugin, so I'd need to add that as a feature. Same for the lobby, it's not skippable as of now, but I can add that too. And regarding the scoreboard, what are you struggling with?
-
View User Profile
-
Send Message
Posted Nov 12, 2014@MrShadowPT
You can create it, with NPCCommands and Citizens.