KingKits
KingKits - By KingFaris10

Spigot
There are 'extras' on the Spigot page with KingKits versions optimised for Java 8, or unsupported KingKits versions that are for 1.8 and 1.7. Click here
What is KingKits?
KingKits is not the ordinary kit plugins that allows players to use kits in PvP. This plugin is special as it has in-game commands that allows you to create kits and delete kits. You can also use /pvpkit <kit> or a sign to choose a kit.
Features
- Multi-world support
- Kit command
- Sign kits
- Creating/deleting/renaming kits in-game
- Disabling/enabling commands
- QuickSoup to refill your health/hunger
- A refill command to refill your bowl(s)
- Economy: Cost per kits, money per kill, losing money per death.
- Easy configuration
- In-game configuration editing
- Killstreaks and scores
- Developer friendly (Open source code and hooks)
There are many more features so try out KingKits!
Requirements
If economy is enabled in the config, Vault is required.
Creating KingKits signs
1. Place down a sign.
2. On the first line type "[Kit]" (configurable).
3. On the second line type the kit name.
4. On the other lines you can type whatever you like.
5. Right click on the sign to activate it.
Note - If your kit sign in the config is set to "[Kit]", you must disable Essentials kits for KingKits signs to work.
Youtube
English tutorial by me - https://www.youtube.com/watch?v=DIgjdG5NNvs
Commands and Permissions
http://kingfaris10.stannaz.uk/plugins/kingkits.php
Configuration
Configuration: http://dev.bukkit.org/bukkit-plugins/kingkits/pages/configuration/
Kits Configuration: http://dev.bukkit.org/bukkit-mods/kingkits/pages/configuration-kits/
Translations
Above v5.0.0: Dutch (thanks to Sammeeh): http://pastebin.com/miTK4RKM
Below v5.0.0: Italian: http://pastebin.com/p0ezVDGS
Developers
You can modify the source code in any way as long as you don't claim this as your code and/or plugin.
https://github.com/KingFaris10/KingKits/tree/master/src/main
You can use the source code from this plugin as long as you give credit to KingFaris10. You cannot just copy the whole plugin.
KingKits also has an API class that allows you to do many things, such as get player kits, create kits, delete kits, etc.
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
You can opt out of this service by editing plugins/PluginMetrics/config.yml and changing opt-out to true.

Updater
This plugin utilizes Gravity's plugin updater to check for updates.
To disable update checking for KingKits only, set 'Updater.Enabled' in '/plugins/KingKits/config.yml' to false. To disable update checking for all plugins, set 'disable' to 'true' in 'plugins/Updater/config.yml'.
Suggestions
Feel free to post suggestions in the comments box! I'm always looking for new cool ideas so go ahead! I will read them ;)
Other plugins by KingFaris10
Check out all my other cool plugins!
AdminFun: http://dev.bukkit.org/server-mods/AdminFun/ | Let your admins have fun using awesome trolling/broadcast commands!
ItemRenamer: http://dev.bukkit.org/server-mods/Rename-Items/ | Rename items (Supports colour codes) without the use of anvils! Also, you can add lores to your item.
EasyPermissionsEx: http://dev.bukkit.org/server-mods/EasyPex/ | Make all the commands easier and shorter for PermissionsEx and make life 100x times more easier =)
CommandPortals: http://dev.bukkit.org/server-mods/cmdportals/ | Link locations with commands and run commands when a player steps in a specific location.
Purpose
The purpose of this plugin was to help PvP servers get a kit plugin that allows players to use kits with enchantments, lores and custom names. Also, if you do have a developer or you are one, you can make your own special abilities.
F.A.Q
Q: My scoreboard's stuck when I deleted the plugin!
A: /scoreboard objectives remove KingKits
Q: It's saying I don't have permissions to use that kit even if I give them kingkits.kit.use!
A: Have you given them the permission node for the actual kit? kingkits.kits.<kit>.
Q: It's saying I don't have permission to use the command even if I give them kingkits.kits.<kit>!
A: Same as the previous answer, but give them kingkits.kits.use.
Q: I keep getting the error: "Could not load 'plugins/KingKits.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/faris/kingkits/KingKits : Unsupported major.minor version 51.0 at "
A: Calm down, you require Java 7, and running the server on Java 7. This is not much of a problem since most other plugins are built against Java 7. If you have Java 7 installed and it still comes up with this error, it means you have a previous version of Java installed (e.g. Java 6) as well as Java 7. Make sure to run your server on Java 7 by either changing the start-up script or contacting your host.
-
View User Profile
-
Send Message
Posted Jul 11, 2014Hey can u add a cool down? And a permission to bypass all cooldown and a permission to Bypass a specific cool down from 1 kit.
Tiippex
-
View User Profile
-
Send Message
Posted Jul 11, 2014@bowling219
That's really weird. No, Major Minor version 51 error means you're not running it on Java 7... Even though you've installed Java 7, are you sure you're running it on Java 7 as you may also have Java 6 installed too... Modify your startup script to navigate to your Java 7 java.exe path and not just "java.exe".
-
View User Profile
-
Send Message
Posted Jul 11, 2014@KingFaris10
I am using Java 7.
If it helps, I'm using Java 7 update 60. And according to the error message, I'm guessing that downgrading to update 51 will work?
@Omfgs
Hey.
-
View User Profile
-
Send Message
Posted Jul 10, 2014@bowling219 Hi bowling. ;)
-
View User Profile
-
Send Message
Posted Jul 10, 2014@RFSMassacre
Ah it's a bug with Healing potions, not regen potions.... I'll test that on my LAN server too. Also, you could use something like an item command binder, and bind /heal <player>.
@bowling219
You require Java 7.
-
View User Profile
-
Send Message
Posted Jul 10, 2014@KingFaris10
Is there any alternative way I could possibly make certain kits heal others and/or themself? Do you know of a plugin that can make certain items heal another player until the potion bug is fixed? It's impossible to use the Priest kit if all the Splash Potions of Healing become normal Potions of Regeneration when receiving player damage.
-
View User Profile
-
Send Message
Posted Jul 10, 2014Hello! When I try to install the latest version of your plugin an error message comes out. This is the error message:
[14:38:33 ERROR]: Could not load 'plugins/KingKits.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/faris/kingkits/KingKits : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [spigot.jar:git-Spigot-1534] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) [spigot.jar:git-Spigot-1534] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-1534] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:369) [spigot.jar:git-Spigot-1534] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:135) [spigot.jar:git-Spigot-1534] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:458) [spigot.jar:git-Spigot-1534] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1534] Caused by: java.lang.UnsupportedClassVersionError: me/faris/kingkits/KingKits : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_65] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [?:1.6.0_65] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [?:1.6.0_65] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_65] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_65] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_65] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_65] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_65] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [spigot.jar:git-Spigot-1534] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [spigot.jar:git-Spigot-1534] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_65] at java.lang.Class.forName0(Native Method) [?:1.6.0_65] at java.lang.Class.forName(Class.java:249) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [spigot.jar:git-Spigot-1534] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [spigot.jar:git-Spigot-1534] ... 6 more
I tried changing to Craftbukkit.
Thanks!
-
View User Profile
-
Send Message
Posted Jul 10, 2014@RFSMassacre
That's very weird. I tried it on a test server, and I still have my Potion of Regeneration...
Also, yeah I just realised that this new configuration won't work for items. I'm going to have to make it so you can have multiple data values in the configuration for the Items. The alternative is to re-code and remodel the Items section again. I'll do this in v3.0.0.
-
View User Profile
-
Send Message
Posted Jul 10, 2014The update makes configuring new kits easier. However, the issue with the potions converting into Potions of Regeneration are still happening. Also, for some reason whenever I save a kit with more than one potion, it'll only give back one potion.
-
View User Profile
-
Send Message
Posted Jul 10, 2014@KingFaris10
Thanks for the reply! Very helpful and awesome plugin as well! :D
-
View User Profile
-
Send Message
Posted Jul 10, 2014@Amazingmrz
It's still not working? With v2.0.9? This is very weird... I'll test it on my LAN server when I'm home from work.
@CrystalProdigy
There is a Kit GUI selector and there is one kit per life. Check the configuration.
@devWaleed
Thank you! I'll add that to compatibility list. In fact, I'll make a config option "World inventory plugin: None" and you can change it to the name of your world plugin.
@KCQuetzal
Kit cooldown enabled being true means cooldowns set in kits.yml per kit are enabled. There isn't a global cooldown, you must set the cooldown per kit in the kit config or /kingkits setcooldown <kit> <cooldown>.
Kit cooldown enabled being false means it ignores all the cooldowns.
Kit list mode has two options, Text and GUI (Alias: Menu)
Show kit preview being true means if the player doesn't have permission to use the kit and they type /pvpkit <kit> or is in the Kit GUI, it opens a new GUI with all the items in the kit showing a preview.
If I ever have enough time, I'll make a page for the config. However, the configuration is pretty long so it'll take a while. :P
-
View User Profile
-
Send Message
Posted Jul 10, 2014@Chronicninja1
That's the whole point of KitPvP, if you don't want to remove items, I suggest having a PvP server and not KitPVP, and then using Essentials kits to manage that. Also, to make Essentials kit management easier, you can use my plugin, EssentialsKitManager.
-
View User Profile
-
Send Message
Posted Jul 9, 2014I may be missing it somewhere but is there an explanation for the main config.yml?
Settings I am curious about:
Kit cooldown enabled: false If enabled what is the cool down period?
Kit list mode: Text What other options besides "Text"?
Show kit preview: true What does this do exactly?
Any information is greatly appreciated!
-
View User Profile
-
Send Message
Posted Jul 9, 2014@KingFaris10
I am using MultiInv for my server.
-
View User Profile
-
Send Message
Posted Jul 8, 2014Can you add a kitGui selector thing and one kit per life ?
-
View User Profile
-
Send Message
Posted Jul 6, 2014Any idea on when the remove items on leave will work? I have it disabled but it still delets my inventory everytime i leave.
-
View User Profile
-
Send Message
Posted Jul 6, 2014@KingFaris is there a way to make it so my players dont lose their items when they use a kit? Plus is there a way to stop them from selling their hand ?
-
View User Profile
-
Send Message
Posted Jul 6, 2014@ivixer
I think that the Mojang servers were down at that time. I'll try using a different API for the UUIDs in v3.0.0
-
View User Profile
-
Send Message
Posted Jul 5, 2014help me pls, why the score dont load? I re-install my server with same configuration...... but dont load :((( screenshot: http://i.gyazo.com/cb2b3924209938d65a8179c93a871c6e.png
-
View User Profile
-
Send Message
Posted Jul 5, 2014What about a more configurable scoreboard and a KingKits region where in that region you selected you can only pick kits there and you can disable picking kits if your not in that region and the selected region where you can only pick kits should have pvp off without a msg when you try to hit them since its annoying this is to help you not use intrest and dont forget the cool down for acrobat