MinigamesLib: Snake Challenge
MinigamesLib: Snake Challenge
Snake Challenge recoded with MGLib (now with blocks instead of sheep). Works just like the 90s game, you and a few fallingblock entities represent a snake which is not allowed to crash into walls/others. Eat slimes to grow bigger, last man standing wins.
Setup
You need to install MinigamesLib for the plugin to work
Also, you'll need Vault for economy rewards to work.
- /sc setmainlobby set the main lobby where all join signs will be
- /sc setlobby [arena] set the waiting lobby
- /sc setspawn [arena] sets the player spawn, repeat for multiple spawns (but keep them near the first one)
- /sc savearena [arena]
You can now set a join sign (optionally). Lines:
- Snake
- [arena]
Versions
Snake v1.1 = MinigamesLib 1.3 and lower
Snake v1.2 = MinigamesLib 1.4 and higher
Commands/Perms
Command | Description | Permission |
---|---|---|
/sc | Shows all possible commands | |
/sc setspawn <arena> | Sets the spawn point. | mgsnake.setup |
/sc setlobby <arena> | Sets the lobby point. | mgsnake.setup |
/sc setmainlobby | Sets the main lobby point. | mgsnake.setup |
/sc savearena <arena> | Saves the arena. | mgsnake.setup |
/sc setmaxplayers <arena> <count> | Sets the max players allowed to join to given count. | mgsnake.setup |
/sc setminplayers <arena> <count> | Sets the min players needed to start to given count. | mgsnake.setup |
/sc setarenavip <arena> <true/false> | Sets whether arena needs permission to join. | mgsnake.setup |
/sc removearena <arena> | Deletes an arena from config. | mgsnake.setup |
/sc removespawn <arena> <count> | Deletes a spawn from config. | mgsnake.setup |
/sc join <arena> | Joins the arena. | |
/sc leave | Leaves the arena. | |
/sc start <arena> | Force-starts the arena. | mgsnake.start |
/sc stop <arena> | Force-stops the arena. | mgsnake.stop |
/sc list | Lists all arenas. | |
/sc 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!
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.
Kits/Classes
There are 2 classes, a speed and a jump class. As always, you can adjust them in classes.yml.
Preview
Youtube
[English] Plugin tutorial by sup3rwheelz https://www.youtube.com/watch?v=Nqlg1UaF7Kk
[English] Plugin tutorial by Craft King: https://www.youtube.com/watch?v=86Wl4JhVQHE
[Portuguese] Tutorial by TuffaoGamer: https://www.youtube.com/watch?v=r4_980-lSxY
TODO
- Suggestions are welcome. :)
Additional Information
Have fun :)
BUGS?
Submit them here: http://dev.bukkit.org/bukkit-plugins/instances-minigamesapi/forum/ and NOT in the comments!
This is a warning for people who are thinking of downloading this plugin.
DO NOT DOWNLOAD THIS PLUGIN.
The game does not work. Once the game is set and is about to load, the countdown will go into negative numbers, making the game fail to start. It will force you to restart your server, resulting in players having slowed movement, or no movement at all.
This plugin will break a lot for you, and the owner of this plugin doesn't bother respond, let alone look into it. Stay away from this garbage.
In reply to Forge_User_62627200:
the coundow went into negative numbers! please fix!
In reply to Forge_User_95826450:
https://www.spigotmc.org/resources/simple-snake.4875/
https://www.spigotmc.org/resources/minigame-super-snake-fully-loaded-minigame-test-servers.6018/
@Capri205 Yeah :/ I just tried it out (I ended up getting rid of it :/)
@Vojtr Can you please read my message...I didn't update it. It says "Quote from XSilverSlayerX"
@CoolLord22
Please, do it for 1.9.:)
@CoolLord22
No. this doesn't work on spigot 1.8.8. The start game countdown counts down forever as reported below by numerous others and reported in the mini-game bugs section as linked above. However, this is not a problem with mini-games lib but with the Snake game itself, so not sure what attention it will get on there.
@Egor202
@GameTutorials
@DarkSharkPvP
@MrBeefchop
Quote from
XSilverSlayerX
"Hey guys, I have taken the liberty of updating this plugin to 1.8.8. It has been semi-tested and no bugs found so far. I use this plugin so hopefully this works out for you guys. Let me know if you guys have any problems. Link is here!: https://www.dropbox.com/s/mcws4wt545yipxn/MGSnake.jar?dl=0 if Instancelabs doesn't update it in the future I will continue posting updates here. Hope Instancelabs is cool with this."
@XSilverSlayerX
Is it for 1.8 ? Because I get the error with -1 -2 too!
WHAT!!! BUG 1.8.8 start arena 5...4...3...2...1...0...kit "kit"...-1...-2...-3...-4...-5...-6
WHAT!!! BUG 1.8.8 start arena 5...4...3...2...1...0...kit "kit"...-1...-2...-3...-4...-55...-6
I am using spigot 1.8.8
I want to use this plugin. I set up the arena and everything. I start the game, it countdown to 0 then keeps going into the minus numbers. I can't move, just really slowly.
Help?
:( spigot 1.8.8... I cant move... Other very slow... Not supported 1.8.8?
love this plugin it is simple to setup and fun!
@RockinChaos
I will test it, this night. Continue updating it and please add sources! Thank you very much.
@GabeMCz
@zaino60
@dawidperez2002
@TheCoolestCrafter
@Pcgamerltu
@MrGrieferHGTech
Hey guys, I have taken the liberty of updating this plugin to 1.8.8. It has been semi-tested and no bugs found so far. I use this plugin so hopefully this works out for you guys. Let me know if you guys have any problems. Link is here!: https://www.dropbox.com/s/mcws4wt545yipxn/MGSnake.jar?dl=0 if Instancelabs doesn't update it in the future I will continue posting updates here. Hope Instancelabs is cool with this.
Cool plugin, i alot of coding although!
@Pcgamerltu
Same. This plugin DOESN'T WORK!
@Pcgamerltu
same