MinigamesLib: OneInTheChamber

OITC Minigame

This is a pvp game with a small catch: You can insta-kill people with one shot with your bow. First one to get to 20 kills wins the round, can be also changed in config. If you set multiple spawns people will respawn at a random one.

Even though this might be an old minigame, it's still a great addition to an arcade round.

Setup

You need to install MinigamesLib for the plugin to work

Also, you'll need Vault for economy rewards to work.

  1. /oitc setmainlobby set the main lobby where all join signs will be
  2. /oitc setlobby [arena] set the waiting lobby
  3. /oitc setspawn [arena] sets the player spawn, can be executed multiple times for multiple spawns.
  4. /oitc savearena [arena]

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

  1. OneInTheChamber
  2. [arena]

Commands/Perms

CommandDescriptionPermission
/oitcShows all possible commands
/oitc setspawn <arena>Sets the spawn point.mgoneinthechamber.setup
/oitc setlobby <arena>Sets the lobby point.mgoneinthechamber.setup
/oitc setmainlobbySets the main lobby point.mgoneinthechamber.setup
/oitc setbounds <arena> [low/high]Sets the low/high boundaries of the map.mgoneinthechamber.setup
/oitc savearena <arena>Saves the arena.mgoneinthechamber.setup
/oitc setmaxplayers <arena> <count>Sets the max players allowed to join to given count.mgoneinthechamber.setup
/oitc setminplayers <arena> <count>Sets the min players needed to start to given count.mgoneinthechamber.setup
/oitc setarenavip <arena> <true/false>Sets whether arena needs permission to join.mgoneinthechamber.setup
/oitc removearena <arena>Deletes an arena from config.mgoneinthechamber.setup
/oitc removespawn <arena> <count>Deletes a spawn from config.mgoneinthechamber.setup
/oitc join <arena>Joins the arena.
/oitc leaveLeaves the arena.
/oitc start <arena>Force-starts the arena.mgoneinthechamber.start
/oitc stop <arena>Force-stops the arena.mgoneinthechamber.stop
/oitc listLists all arenas.
/oitc 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.*
  global_arenas_size: 30 # not used in this minigame

You can also specify data on a 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 classes with different bows.

As always, you can change settings like how much a class costs or if it is vip only or alter the power of the bows in classes.yml.

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
    86860
  • Created
    Nov 21, 2014
  • Last Released File
    Dec 31, 2014
  • Total Downloads
    13,318
  • License

Categories

Members

Recent Files

Bukkit