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 12, 2014@Junac01
I know but i like have a npc shop in lobby
-
View User Profile
-
Send Message
Posted Nov 11, 2014Hello, is there any possible way to get the players score in their chat messages? Like this:
[score][group] [IGN] [975][Owner] SnIpEdYaH13 Two more final questions, how do you get the scoreboard working and is there a way to set it up so players dont go to a pre-game lobby? Like theyll just be sent to their starting glass chambers until enough players come and then it will start the countdown.
-
View User Profile
-
Send Message
Posted Nov 11, 2014@instancelabs
instances, the extra option item lobby is not working for example as in the command item more when it enters the skywars and click item in the n command will please arrange this bug
-
View User Profile
-
Send Message
Posted Nov 11, 2014@MrShadowPT
You can open the shop in the lobby.
-
View User Profile
-
Send Message
Posted Nov 11, 2014Plz, add a command /sw shop and /Sw setspecspawn!
This plugin it´s amazing :D
-
View User Profile
-
Send Message
Posted Nov 11, 2014@EnomaliaServer
Good idea, CubeCraft have a /sw setspecspawn, hope the developer, can add this.
-
View User Profile
-
Send Message
Posted Nov 11, 2014Dear Developer(s),
I am really thinking of putting this Minigame in my server, I tested it a bit and it looks absolutely amazing.
Altough all the great features, I was hoping you can add some more features like: - Changing the color of your glass(donator feature). - Add a percentage for the loot items in the chest, and not for the chest. - Adding diffrent files for the chest.yml, so people can vote for what chests are in the game.
(These idea's are maybe taken from the Cubecraftgames skywars server)
I wish you good luck with the rest of the development of this plugin and I hope you can add my features in there.
Kind regards, EnomaliaServer
-
View User Profile
-
Send Message
Posted Nov 10, 2014How do I go about delaying enderpearls for say 30 seconds at the start of a game in skywars? I have a cooldown of 30 seconds just not in start of game delay? HELPPPP
-
View User Profile
-
Send Message
Posted Nov 9, 2014@Junac01 I'm using Spigot, sorry
-
View User Profile
-
Send Message
Posted Nov 9, 2014@instancelabs
I'm using Bukkit 1.7, PLEASE, ADD A COMMAND LIKE /SW SETSPECSPAWN OR SOMETHING LIKE THAT!!!!
-
View User Profile
-
Send Message
Posted Nov 9, 2014@Junac01
Are you using bukkit 1.6.4 or 1.8 (client)? Any console errors? Never seen such issues before on any server. Is your server lagging a bit more than usual? Because spectators don't appear in fire for me or do your spectators spawn in lava? o.o
I could actually reproduce a few water issues on borders of the map, fixed in MinigamesLib 1.10.1.
-
View User Profile
-
Send Message
Posted Nov 9, 2014Look! I cant leave the bed! http://subefotos.com/ver/?7cf7a670e8ef35349c35e434622e3396o.png#codigos
-
View User Profile
-
Send Message
Posted Nov 9, 2014Look, here http://subefotos.com/ver/?29f025aef034a0965c8f79326f910343o.png#codigos http://subefotos.com/ver/?a97bd4d74830b35401c8ad33bbeb9397o.png#codigos
-
View User Profile
-
Send Message
Posted Nov 9, 2014Look, when the player die, and he's on lava, he still dying, and he becomes spactator, AGAIN. http://subefotos.com/ver/?1c2fc1e9fda7854c2784e987b75a251co.png <- Spec bug And here are the Smart Reset bugs: 1. http://subefotos.com/ver/?3be4322c83f104db1a2029f4312b9ff7o.png 2. http://subefotos.com/ver/?6c799d8a8f41ef8dc4e6ec258f8090dbo.png Oh and please, add an random entrance in Glass Spawns!!
-
View User Profile
-
Send Message
Posted Nov 9, 2014@instancelabs
Ok thank you, i'm using the latest version of Minigameslib
-
View User Profile
-
Send Message
Posted Nov 9, 2014@Junac01
A few things to clarify: The sleeping thing is not a bug, that's an effect, when you die a dead body appears. Regarding spectators being on fire, that's fixed in the latest version of MinigamesLib, same for the SmartReset one. Fly stays only for ops or admins, players don't get fly after they were spectators.
I don't know of any bugs in the latest MinigamesLib, maybe try using that one?
-
View User Profile
-
Send Message
Posted Nov 8, 2014Hello! The are some bugs! When you die for lava, and you came spectator, you are in fire, and you can die, there are some bugs with Smart Reset, lava appears floting, its rare, when you came spectator, you get fly, but when you appear in spawn with fly, and you can fly, other bug its when the match ends, the winner (sometimes) stay on the arena, and the plugin dont teleport him to the lobby area, and please, add a extra comand like: /sw setspecspawn <arena> for when the player dies, appears in lobby, or in a specified area. Thanks for read, sorry my english, im spanish!!
-
View User Profile
-
Send Message
Posted Nov 8, 2014Hi! There is a bug, when you die, you appear "sleeping"? And you cant leave the bed
-
View User Profile
-
Send Message
Posted Nov 8, 2014Could you add a sound for when a player or you enter a arena? Please, good plugin!
@Junac01
or when you leave
-
View User Profile
-
Send Message
Posted Nov 8, 2014Could you add a sound for when a player or you enter a arena? Please, good plugin!