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 :)
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) -
instance not worked for 1.7.5 >.< it says not valid plugins
Is there a way to add more than 1 command for the command_reward?
@Splavacado
Holy Sh*t. I subscribed to your PMC. Not only that but your other builds are awesome.
P.S You should add mini games to the icy hub
Hi guys,
I would just like to let you know that I have made a map for this minigame and it is out for download here:
http://www.planetminecraft.com/project/snake-minigame---jungle-pit-v2-revamped-map/
Hope you all enjoy!
@dinosmike
There's an alias called /snake :)
@Artix1416
Thanks for your suggestions, will think about it.
@ZephyrPro
Should be working fine for 1.7.2, please let me know if it doesn't :)
Command /sc is conflicted with plugin OpenInv (/sc it is Silent Chest) Add alias command please, for example: /snakechallenge setmainlobby Sorry for my english)))
And maybe if u want a TheBridges plugin like mineplex because all of them are inactive on bukkit.
Thanks a lot and good luck for your plugins!!
You should add a point system, like a prefix or shop :3
@YanPerez
I don't like the sign, the way I did it was a command sign with cool words, like [Snake] Click to join!... Or something and with CommandSigns you can make the sign do a command when a player right clicks it. So you could make it do /sc join (name)
I Love your Plugins you are the best PluginCoder on this page :) Please Update Snake for 1.7.2-R0.1-SNAPSHOT :D
@ZephyrPro
Normal projects only Vault + bukkit api, the ones with nms additionally have craftbukkit 1.6.4, 1.7.2 and 1.7.5 (depends on how up to date the project is) and in this case, Snake Minigame, there's ProtocolLib and LibsDisguises too.
Regarding Draw my Thing, I think there are a few of these on bukkitdev already.
@jonacroco253
I'll think about survival games. :)
@YanPerez
Yep, I can add that.
Noooo please create guessit or draw my thing :))
Ps what jars add you in your plugins?
And pls add spactate option :D
Thanks a lot!!
Hey guys
Very good plugin !! I love it !! Can you create a Survivalsgames plugin with customs rewards at the end and customs kits with permissions pls?
Thanks a lot!
hey add modify sign ? :) pd: not speak much English. (spanish)
OMG! COOL (y)
Awesome :D
@BucketConfigured
Thanks dude :)
@Artix1416
There's an autostart option, so you could run it on another server in a bungee network, but the signs do not support bungee as of now.
I freaking love you for this minigame man! =P You make such awesome minigames that are very fun and popular and regularly update them, almost daily. You're amazing, keep it up. Great plugins!