Kill Confirm
Kill Confirm
This is a teambased minigame where your kills need to be confirmed by picking up the corresponding wool. They can also be denied, if the other team picks them up. The first team to get 20 (configurable in config) kills, wins the game.
Setup
Pex doesn't care about OP, you need to give yourself the permissions!
- Set the main lobby where all join signs will be: /kc setmainlobby
For each new arena:
- /kc createarena [name]
- Set the waiting lobby (different than the main lobby!): /kc setlobby [name]
- Set two spawns, one for blue and one for red: /kc setspawn [name] 1 and /kc setspawn [name] 2
To create a join sign:
1st line: killconfirm; 3rd line: arenaname
Creating a join sign requires the permission killconfirm.sign.
Classes
The default class doesn't require any permission, all others in the following format: kc.class.[classname].
Here are a few example classes:
The default class has a wooden sword, the second class (test) has a bow and a stack of arrows. The semilicon seperates items, the # behind an item id is the amount.
classes: default: name: default items: 268#1 lore: The default class. test: name: test items: 261#1;262#64 lore: Some other class.
You can change your class with /kc changeclass [class]
Commands/Permissions
Command | Description | Permission |
---|---|---|
/kc createarena [name] | creates a new arena | killconfirm.setup |
/kc setlobby [name] | sets the waiting lobby for a new arena | killconfirm.setup |
/kc setspawn [name] [count] | sets the spawn for each team | killconfirm.setup |
/kc setmainlobby | sets the main lobby | killconfirm.setup |
/kc removearena [name] | removes a arena | killconfirm.setup |
/kc join [name] | joins a game per command | |
/kc leave | leaves the game | |
/kc changeclass [class] | changes your class | |
/kc start [name] | forces an arena to start | killconfirm.start |
/kc reload | reloads the config | killconfirm.reload |
/kc list | lists all arenas | killconfirm.list |
/kc setmaxplayers [arena] [count] | sets max players of an arena | killconfirm.setup |
/kc setminplayers [arena] [count] | sets min players of an arena | killconfirm.setup |
Creating a join sign requires the permission or killconfirm.sign.
Config
config: auto_updating: true # I recommend you to set that to true for bugfix releases etc. kills_to_win: 20 # kills a team needs to win a game default_max_players: 4 # max amount of players that can join and will be used as a default default_min_players: 3 # amount of players required to start a game and min amount of players that will be used as a default use_economy_reward: true # if set to true, the winner get the money reward, if false, the item reward money_reward_per_game: 30 itemid: 264 itemamount: 1 use_command_reward: false # will execute the following command as a reward, if set to true command_reward: pex user <player> group set PvPPro start_anouncement: true # enables server broadcasts classes: default: name: default items: 268#1 lore: The default class. strings: saved: arena: '&aSuccessfully saved arena.' lobby: '&aSuccessfully saved lobby.' setup: '&6Successfully saved spawn. Now setting up, might &2lag&6 a little bit.' not_in_arena: '&cYou don''t seem to be in an arena right now.' config_reloaded: '&6Successfully reloaded config.' arena_is_ingame: '&cThe arena appears to be ingame.' arena_invalid: '&cThe arena appears to be invalid.' arena_invalid_sign: '&cThe arena appears to be invalid, because a join sign is missing.' arena_invalid_component: '&2The arena appears to be invalid (missing components or misstyped arena)!' you_fell: '&3You fell! Type &6/kc leave &3to leave.' you_won: '&aYou won this round, awesome man! Here, enjoy your reward.' starting_in: '&aStarting in &6' starting_in2: '&a seconds.' arena_full: '&cThis arena is full!' starting_anouncement: '&aStarting a new killconfirm Game in &6' started_anouncement: '&aA new killconfirm Round has started!'
Preview
Youtube
Coming Soon.
TODO
- add scoreboard
Additional Information
You can find the source code here. Have fun :)
Will this work with 1.7.10?
<<reply 2134Hi ltjim007! i didnt know you had a bukkit page ?
Really awesome plugin, works well :) Maybe you could stop armour and weapons from dropping when you kill someone as it litters the ground. Also the red team doesnt spawn with a wood sword :/
I have made a youtube tutorial video: https://www.youtube.com/watch?v=Ae2XPzxmu50
Enchantments would be really nice for this, to distinguish the classes more...
You make the best plugins EVER! :D
@Cereealh
You need Vault if you have economy enabled in the config. :)
Loaded config for "Mod: Craftbukkit 1.7.2 (#3020)"
15.03 13:28:41 [Multicraft] Skipped 18 lines due to rate limit (30/s) 15.03 13:28:40 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [craftbukkit-1.7.2-3020.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] 15.03 13:28:40 [Server] INFO at com.comze_instancelabs.killconfirm.Main.onEnable(Main.java:152) [?:?] 15.03 13:28:40 [Server] INFO java.lang.NoClassDefFoundError: net/milkbowl/vault/Metrics 15.03 13:28:40 [Server] ERROR Error occurred while enabling KillConfirm v1.0 (Is it up to date?)
Cool :D
oh cool
Nice Plugin!:)