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.
- /oitc setmainlobby set the main lobby where all join signs will be
- /oitc setlobby [arena] set the waiting lobby
- /oitc setspawn [arena] sets the player spawn, can be executed multiple times for multiple spawns.
- /oitc savearena [arena]
You can now set a join sign (optionally). Lines:
- OneInTheChamber
- [arena]
Commands/Perms
Command | Description | Permission |
---|---|---|
/oitc | Shows all possible commands | |
/oitc setspawn <arena> | Sets the spawn point. | mgoneinthechamber.setup |
/oitc setlobby <arena> | Sets the lobby point. | mgoneinthechamber.setup |
/oitc setmainlobby | Sets 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 leave | Leaves the arena. | |
/oitc start <arena> | Force-starts the arena. | mgoneinthechamber.start |
/oitc stop <arena> | Force-stops the arena. | mgoneinthechamber.stop |
/oitc list | Lists all arenas. | |
/oitc 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.* 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
Have fun :)
@instancelabs
You can not hear the sound of hit when you hit the arrow in a player. Fix please.
Pretty fun, gave it a go with some friends.
@thegotak
Oh that's you again, as I replied to you on pm already, uploading v1.0.1 in a minute.
Hi, I found a bug. When I play this game with friend he reached 20 kills and I 7 kilsl, so he win. Then we play another game and ours kill stats does not reset, he had 19 kills and i had 7 kills, so he shot me ones and win again.
Please fix the bug game looks really nice! :)
Sorry for my bad english.
Should I Make A Video For The Plugin?
Thank you for this amazing plugin! I like your Plugins :D
Amazing! :D
Cool man! I would love to see this on bukkit, and with a download link!
cool :D