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!
Hello that such because look at this plugin is great, but you could instead of putting the achievements put the chests op, basic and normal and the score board is in the pre-game and in the game and put a hologram with the statistics CubeCraft style everything else is perfect :D And that the kits are purchased from the lobby from the pre-game :)
Please Guy, see this Video: https://www.youtube.com/watch?v=_wfnxz7FiqI&feature=youtu.be
Can you help me ?
Hy, i found two errors today in the plugin, the first is that the scoreboard in the waithing lobby will say that you are in other arena example: scoreboard: skywars_2 (but this should be other name) the second error is that the arenas get islands out of place when the arena restarts!
HELP ME setting the KITS / CLASS Why not know the codes of the items
Hola, tengo un problema con el modo espectador, cuando un jugador muere se convierte en espectador, hasta ahi todo bien, pero cuando todos los jugadores mueren y el que estaba en espectador no se fue de la partida, ¡no se puede ir de la partida!, tampoco con /leave ni el item exit, Porfavor Ayuda
Hola me podrian ayudar a poner armas de crackshot en el minijuego dentro de los cofres gracias
Hello, I've found a bug. VIPs can change their color glass, but if other players back into the arena join state that glass still in that color. fix it :)
Can you add that de chest are completly random, zo you set in the config file items and precentage!
Thank you
Yeah that would be nice! with al items a special precentage!
Hello Instancelabs, Top Kills could add in the next version of the plugin? Thank You :)
@instancelabs
I report you a error of the plugin in your github.
https://github.com/MC-Minigames/MGSkyWars/issues/8
The plugin is very good, but has some bugs, for example sometimes begin to address very fast blocks when I throw one pearl ender sometimes disappears player, sometimes when he hit a player is invisible ... I hope to correct these bugs!
Im view in the config this:
you_got_kicked_because_vip_joined: '&cYou got kicked out of the game because a vip joined!'
How to ativate vips join with game full?
I have not found in config
Hey Instance, do you think it is possible to add random items instead of predetermined chests. It is just a list of items that will randomly spawn on the chests.
Or does anyone knows a plugin that does this everytime the arena resets? Thanks!
There is a BUG where when the game ends and the map resets, it doesn't restore some of the items in the chests.
I am positive there are no other plugins affecting this because I've tried playing this only with MinigamesLib, iConomy, zPerms, and Multiverse-Core.
I find that it occurs on very large maps, mine has boundaries covering over 2 million blocks.
Hey maker of the plugin can you make a chest voter with basic normal and overpowerd chesten that i hate to edit the items in the config thanks!
And you Skywars pl is Very Good Nice job:)
@_The_index_
No, no tengo bungeecord, tengo la ultima version, hice de todo los bugs siguen, (algunos users se hacen inmortales, otros invisibles, todos los dias tengo que reparar los mapas porque se agreguan bloques, los carteles se bugea, y los tengo que volver a poner, etc), pero la verdad es que no se porque pasa eso, el problema es que ahora como somos mas de 100 usuarios, es mucho trabajo reparar todos los mapas a diario :/
@FedexHD
Tienes bungeecord? porque a mi no me pasa :/
PD: Estoy con la ultima actualización
Hola!, tengo un servidor con unos 70 usuarios, el problema es que el plugin tiene varios defectos, entre ellos que las arenas despues de varias partidas se bugean ( se ponen bloques de mas, etc), a veces se bugea el modo espectador y no se puede salir de la partida, otras veces, los bloques se ponen muy rapido provocando que los bloques se te pongan encima. Es posible que en proximas actualizaciones puedan arreglar estos bugs?, gracias.
hello instance wanted to ask you to add the icons option in classes.yml as guns.yml