MinigamesLib: Splegg and Spleef
MinigamesLib: Splegg and Spleef
Splegg/Spleef with MinigamesLib. You break blocks with your shovel/some other tool and get snowballs which you can throw again to remove more blocks. Also supports different levels, but you need to create the snowblock levels by yourself! (snowblock just as an example)
It doesn't have shooting shovels yet, to use it as solely splegg, just give them eggs/snowballs, to use it as spleef just leave the classes config as it is.
Setup
You need to install MinigamesLib for the plugin to work
Also, you'll need Vault for economy rewards to work.
If /sp doesn't work because of Worldedits Superpickaxe, use /splegg or /mgsplegg.
- /sp setmainlobby set the main lobby where all join signs will be
- /sp setlobby [arena] set the waiting lobby
- /sp setspawn [arena] Set a spawn, allows multiple spawns too (just repeat command)
- /sp setbounds [arena] low sets the lower left corner of the map
- /sp setbounds [arena] high sets the higher right corner of the map (so that you got a cuboid)
- /sp savearena [arena]
You can now set a join sign (optionally). Lines:
- Splegg
- [arena]
Commands/Perms
Command | Description | Permission |
---|---|---|
/sp | Shows all possible commands | |
/sp setspawn <arena> | Sets the spawn point. | mgsplegg.setup |
/sp setlobby <arena> | Sets the lobby point. | mgsplegg.setup |
/sp setmainlobby | Sets the main lobby point. | mgsplegg.setup |
/sp setbounds <arena> [low/high] | Sets the low/high boundaries of the map. | mgsplegg.setup |
/sp savearena <arena> | Saves the arena. | mgsplegg.setup |
/sp setmaxplayers <arena> <count> | Sets the max players allowed to join to given count. | mgsplegg.setup |
/sp setminplayers <arena> <count> | Sets the min players needed to start to given count. | mgsplegg.setup |
/sp setarenavip <arena> <true/false> | Sets whether arena needs permission to join. | mgsplegg.setup |
/sp removearena <arena> | Deletes an arena from config. | mgsplegg.setup |
/sp removespawn <arena> <count> | Deletes a spawn from config. | mgsplegg.setup |
/sp join <arena> | Joins the arena. | |
/sp leave | Leaves the arena. | |
/sp start <arena> | Force-starts the arena. | mgsplegg.start |
/sp stop <arena> | Force-stops the arena. | mgsplegg.stop |
/sp list | Lists all arenas. | |
/sp 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.*
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 3 different classes with differently enchanted tools and different amount of snowballs.
Preview
Youtube
Coming soon.
TODO
- Suggestions are welcome. :)
Additional Information
Have fun :)
@maenstru56
./money pay <player> <money> should do it.
@NanoEdit
What MinigamesLib version are you running on?
My players stuck on arena in spectator mode! I disabled spectators but this don't help. When match end they became invisible spectators and can't leave. Not all players stuck. It's not so often but when they stuck i need to kill them with /kill command to fix this. In console no errors, but there strange messages : Player death - not clearing.
I have same problem with snake game, but there they stuck not in creative mode. On death they respawn on arena and I can't help them.
I think this problem because I use worldguard 6.
Can you help me ?
@DanSpedey
No, i mean how can I give someone some coins if he don't won a game.
Exemple: I have 21 coins.A weapon cost 100 coins.I want the difference between 100 and 21 = 79 coins. If i want that coins but i don't want to play games to get them, is a command or something to receive that coins (like /give "player" 79 coins) ???
@maenstru56
You should see this in config.yml of the MGSplegg folder:
rewards: economy: true ===== This turns receiving coins on of off =====
economy_reward: 10 ===== Amount of coins given if player wins a game =====
economy_for_kills: true ===== Toggles if coins should be given for a kill =====
economy_reward_for_kills: 5 ===== How many coins a player should be given for a kill =====
@DanSpedey
Yes, those coins.
@maenstru56
Do you mean coins players get as rewards from a game?
@SEGA_Q8
You can remove it from the arenas.yml and then use /sp reload. Then just break the sign as you would to remove it.
How can I give someone X coins??
ok nvm [skySpleef] is invalid because of the [] so many other plugins with signs use [] so eh
can you make the lower bounds if touch or passed through by a falling player cause that player to lose.
or this minigame work differently? i had lava at ground to cause the player to die. but not seeing how else this mingame is meant to work.. no video , no detailed gameplay rules and how you win get points
well setup the arena..
saved it.. .. and also
try to make sign ..[skySpleef] appears to be invalid. !!!
try to join ..that works.. try to start...The arana appears to be not initiliazed, did you save the arena... !!!yes i did
saved the arena to config as can be seen here: http://pastebin.com/RK7gxWhg
all other config stuff in the MGSplegg folder is default as I haven't touched
how to remove the sign ?
@LordBoos
Use SImpleAlias and copy this into the chat: /sa single /command /splegg <args> and change command to whatever you want the command to be.
SimpleAlias here: http://dev.bukkit.org/bukkit-plugins/xsimplealias/
Get version 1.5! NOT 1.6! Works for all versions of bukkit!
@Iceberggamer
Check MinigamesLib comments or add me on skype to get the full package of all latest minigames.
How do i download the plugin give me a link or tell me please
How do i download the plugin give me a link or tell me please
@kwakmantim
Should be fixed with latest dev builds now. They still can destroy everything on y level, but not out of the boundaries. :)
@LordBoos
Try /splegg or /mgsplegg, but good point, I'll add another short-command.
Can you add alternate commands? Because /sp is used by worldedit Super Pickaxe :/
There is an problem.. my players can destroy the hole map :( even bedrock white the snowballs
can you remove the eggs and do like right click the shovel and it throws eggs that would be awsome Edit: nvm i read the description
Hey, good plugins :D but where is the download? or can u send me a link
EDIT:
What texturepack are you using :D