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.
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:
|/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.|
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.
There are 3 different classes with differently enchanted tools and different amount of snowballs.
- Suggestions are welcome. :)
Have fun :)