Snake Minigame
Snake Minigame
The 90s Game recreated in Minecraft with a growing line of Sheep visualizing the snake. Slimes are the points you need to eat in order to grow, if you run into a wall or another snake, you die. Each player gets his own color, thus only a maximum of 16 players can play this minigame.
New Version using MinigamesLib (and supporting 1.7.X): http://dev.bukkit.org/bukkit-plugins/mglib-snake-challenge/
Setup
Pex doesn't care about OP, you need to give yourself the permissions!
- Set the main lobby where all join signs will be: /sc setmainlobby
For each new arena:
- /sc createarena [name]
- Set the waiting lobby (different than the main lobby!): /sc setlobby [name]
- Set as much spawns as your min-players setting: (just repeat the following command) /sc setspawn [name]
To create a join sign:
1st line: snake; 3rd line: arenaname
Creating a join sign requires the permission snake.sign.
Dependencies
- LibsDisguises
- ProtocolLib
Commands/Permissions
Command | Description | Permission |
---|---|---|
/sc createarena [name] | creates a new arena | snake.setup |
/sc setlobby [name] | sets the waiting lobby for a new arena | snake.setup |
/sc setspawn [name] | sets the spawn for each color (team) | snake.setup |
/sc setmainlobby | sets the main lobby | snake.setup |
/sc removearena [name] | removes a arena | snake.setup |
/sc join [name] | joins a game per command | |
/sc leave | leaves the game | |
/sc start [name] | forces an arena to start | snake.start |
/sc reload | reloads the config | snake.reload |
/sc list | lists all arenas | snake.list |
/sc setmaxplayers [arena] [count] | sets max players of an arena | snake.setup |
/sc setminplayers [arena] [count] | sets min players of an arena | snake.setup |
Creating a join sign requires the permission or snake.sign.
Config
config: auto_updating: true # I recommend you to set that to true for bugfix releases etc. default_max_players: 4 # max amount of players that can join and will be used as a default default_min_players: 3 # amount of players required to start a game and min amount of players that will be used as a default use_economy_reward: true # if set to true, the winner get the money reward, if false, the item reward money_reward_per_game: 30 itemid: 264 itemamount: 1 use_command_reward: false # will execute the following command as a reward, if set to true command_reward: eco give <player> 100 start_anouncement: true # enables server broadcasts strings: saved: arena: '&aSuccessfully saved arena.' lobby: '&aSuccessfully saved lobby.' setup: '&6Successfully saved spawn. Now setting up, might &2lag&6 a little bit.' not_in_arena: '&cYou don''t seem to be in an arena right now.' config_reloaded: '&6Successfully reloaded config.' arena_is_ingame: '&cThe arena appears to be ingame.' arena_invalid: '&cThe arena appears to be invalid.' arena_invalid_sign: '&cThe arena appears to be invalid, because a join sign is missing.' arena_invalid_component: '&2The arena appears to be invalid (missing components or misstyped arena)!' you_fell: '&3You fell! Type &6/sc leave &3to leave.' you_won: '&aYou won this round, awesome man! Here, enjoy your reward.' starting_in: '&aStarting in &6' starting_in2: '&a seconds.' arena_full: '&cThis arena is full!' starting_anouncement: '&aStarting a new snake Game in &6' started_anouncement: '&aA new snake Round has started!'
Preview
Youtube
More videos:
[SPANISH] Good spanish plugin tutorial by YanPerez: link
[RUSSIAN] Russian plugin tutorial: link
TODO
- add scoreboard
- add 1.6.4 support
- add more sign editing options
- change ProtocolLib and LibsDisguises dependencies to be optional.
- add multiple command rewards
- more ideas:
Quote from ZeaLBG:Can you make slimes to be 1 size or smaller give - 1 sheep, medium - 2 sheeps, bigest - 3? And add a auto add 1 sheep evere x seconds? Configurable. Kits: Mamba - Speed 1 - unlimited use every 6 seconds Anakond - Can be invisible for 3 seconds. All of his tail get invisible and can move trought other snakes - 1 use Add here and in mob escape: When you win u can get coins with which you can get your kit (configurable) -
Additional Information
This plugin uses the Metrics system by hidendra and sends some server information like Java/Server version, Player count and OS Information to the official MCStats servers.
The plugin also has an autoupdater included, which can be turned off in the config by disabling "auto_updating".
You can find the source code here. Have fun :)
@RobinHood_3
I'm the Ticket Manager for Colormatch & Minigames Party and like to help out on his other plugins, but Instance hasn't put me officially on the pages. xD
@BucketConfigured
Wy are you answering all people here? xD
@RobinHood_3
Instance will look at this and fix it in the next update. Thanks for the issue. :)
I can't get it work. Each time I start the arena I will get into it and I can slmost not move. the Timer is always repeating and the game never starts. (543210543210543210..) This error I get in the console: http://pastebin.com/m1wp0hn3 So each time the counter restarts it says the same error.
Sheeps need to be more smooth! Nice minigame!
@gwinny7
Yes it is, but there are some bugs, and they will be fixed soon! Enjoy! :)
it is just like the mineplex snake game
When players hit the slimes the other person wins or something, When some1 eats a slime the game ends.
Keep the bugs coming. The owner is fixing and working on them all so be patient! :)
When the game starts my players cant move
what dependencies do you need for this plugin? Why? Well here's the Error message.
When try to snake removearena its says "The arena appears to be invalid.", but I have the arena. Players can hit the other "snakes" and slimes. Players stuck in the "snakes" and lose
Yeah we need a bug-fix. The player who gets a slime wins automatically...
WHY CANT PLAYERS MOVE ON THE ARENAS???
Hey, Players sometimes insta lose ( it says they fell which they did not ).
@DeadByBlockPT
Any errors in console, which version are you running (both plugin + bukkit)?
@ZephyrPro
Yeah, I'll add kits when I find the time. Thanks for the idea :)
Hi. Cool plugin and all, but there's a problem... At least one... Whenever someone "eats" a slime it either bugs the sheep and makes them stop follow you or it stops the game and whoever ate the slime wins...
how to me signs?
add a Item for speed :)
@73u38
You need LibsDisguises and ProtocolLib :)
@Artix1416
Nope, but I can add that.
@Splavacado
Very nice!
@ZeaLBG
Yep, I can add these things :)