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.

  1. /sp setmainlobby set the main lobby where all join signs will be
  2. /sp setlobby [arena] set the waiting lobby
  3. /sp setspawn [arena] Set a spawn, allows multiple spawns too (just repeat command)
  4. /sp setbounds [arena] low sets the lower left corner of the map
  5. /sp setbounds [arena] high sets the higher right corner of the map (so that you got a cuboid)
  6. /sp savearena [arena]

You can now set a join sign (optionally). Lines:

  1. Splegg
  2. [arena]

Commands/Perms

CommandDescriptionPermission
/spShows all possible commands
/sp setspawn <arena>Sets the spawn point.mgsplegg.setup
/sp setlobby <arena>Sets the lobby point.mgsplegg.setup
/sp setmainlobbySets 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 leaveLeaves the arena.
/sp start <arena>Force-starts the arena.mgsplegg.start
/sp stop <arena>Force-stops the arena.mgsplegg.stop
/sp listLists all arenas.
/sp reloadReloads 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

Preview

Youtube

Coming soon.

TODO

  • Suggestions are welcome. :)

Additional Information

Github Repo

Contact

Have fun :)


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    84462
  • Created
    Aug 26, 2014
  • Last Released File
    Dec 6, 2014
  • Total Downloads
    24,142
  • License

Categories

Members

Recent Files