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 :)
@bradmin
Remember to use the same versions of both the plugin as your server.
I have tried this plugin on my 1.8 server, I got a map and lobby and yada yada yada
So I did ./oitc setmainlobby
(For Main lobby)
Then I did ./oitc create Hijacked
(For Hijacked OITC Arena)
It didin't say anything like, "Arena Created!"
Then I did ./oitc setlobby Hijacked
(For Hijacked waiting room)
Then I finished my arena and set the spawns and yada yada yada
Then I made A sign in the main lobby None of the signs worked.
Then I did ./oitc list
And it showed 0 arenas.
I went in the config and it showed Hijacked The arena but In the game Signs or Arenas wouldn't work the only command that would work is ./oitc
I reinstalled the plugin, And no help.
Please help, Would be great. :D ~NortherDogAJ
And Yes I have Installed MinigamesLib too.
~NortherDogAJ
You have to set the barriers on your server
One problem:
I can't move! I just get a load of red splashy things
anyone can do /oitc reload
OITC does not work for me. Please any help would be appreciated. I get the following errors on startup.
http://pastebin.com/XYWwD3ET
The kills save from the last game.
@BryceTheCoder
Don't put a bracket around the arena's name.
Why the hell aren't signs working.
I put on a sign this:
OneInTheChamber
ColorRoom
(and nothing)
I put:
OneInTheChamber
[ColorRoom]
(and still nothing happens)
Why isn't it working? I have updated both the lib and this.
Have you saved your arena?
Could it be that permissions in 1.8 with PermissionsEx doesn't work?
Signs keep turning invisible and then visible again. I've got the newest OITC versiong and Lib version.
Something tells me, it's whenever a sign is refreshed / updated.
When a player kills me for an example, I respawn with an empty inventory, is this a bug or a config?
@ashkonk
You'll have to use the latest MinigamesLib version, 1.12.2.
when i use on my server the players cant even see each other
Caused by: java.lang.IllegalAccessError: tried to access field com.comze_instancelabs.minigamesapi.Arena.lastdamager from class com.comze_instancelabs.oitc.Main
ERROR Could not pass event PlayerDeathEvent to MGOneInTheChamber v1.0.3
I've been having a lot of problems with this :/
1) When a player dies, he doesn't respawn... his health bar just goes back up to full and he loses all of his weapons.. and can still attack?
2) Can't make a sign even though I saved the lobby
BUG: Signs doesn't work sometime. What I have to do is to break the sign and make a new one.
BUG: Players doesn't take damage sometimes but I do see the particles.
BUG: There is a little delay in which you get your items back after you respawn.
BUG: Sometimes you don't respawn at a spawnpoint, instead you respawn at the same place you died.
I am using the latest version of each plugin(MGLibrary and MGOITC).