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.
I am not able to add permanent potion effects to a kit and the kits weapon
@shad1ows1334 I'm doing that in KingKitsSpecial.
@SgtBubblezZ If you disable the thing where it doesn't allow you to drop soups, it means players can drop any items, so it's at your own risk. In the config make "Drop items" to 'true'.
@LightCraftLP Go to: http://dev.bukkit.org/server-mods/kingkits/files/14-king-kits-special-v1-0-1/
@KingFaris10 Sry but i can't find the Download Link for the Special abilities!
How do you disable where it doesn't allow you to drop soups?
Could you make more HG kits? plx mc-hg.com
1.1.1 is now out!
@Xotice
1. Sure!
2. Okay, but you can just give them access to /ping then in the config for the "Command to run" type /sudo <player> ping <message>
3. I might do. Personally, I hate coding killstreaks.
4. That was my fault sorry, I forgot to add OP Bypass.
Works like a charm :-) Awesome job on the plugin man.
For the future, can you possibly think about adding the following features?
YES!! 1.1.0 IS HERE!!
I see you've also added the refill soup, YOU DA MAN!
Can't wait to get this configured!
It would be nice to have a configurable cooldown option on the kits, and also not allowing the person to drop items while using their kits like Syukaan said.
How do you add a delay to the kits/ how do you make it so you cannot drop anything while using a kit
@Red_beat_blue Try using JRE7, if you are, use Java 6.
The Plugin is not working for Craftbukkit beta build 1.5.2-R0.1 I tried using commands and before i had set kits and it worked fine but now things dont work and i keep redownloading the latest version of this plugin and keep replacing my craftbukkit.jar but whenever i launch my server it has an error loading the plugin becuase when i type '/pl' Kingkits is not one of the fields there. Please fix maybe there is a short error you forgot that makes the whole thing not work, Please help me i really like this plugin and i want it to be updated and fully functioning like you say. Thanks again here is what my server says when i try to Load the plugin while starting the server: 23 [INFO] [PermissionsEx] PermissionEx plugin initialized. 06:52:23 [SEVERE] Could not load 'plugins/KingKits.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/bukkit/faris/kingkits/KingKits : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R3.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R3.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: net/bukkit/faris/kingkits/KingKits : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
@KingFaris10
Oh, I didn't know that. :/
Well, now we wait.
@Xotice
You get banned from Bukkit.
@KingFaris10
Can you upload it to a file sharing website in a zip? and provide us a dl link until bukkit approves your latest build?
Can't wait for 1.1.0!! :D
@imthatguy34 I don't make the kits, you have to make the kits, this just enables the kit to have the special ability. Also, in 1.1.0 there is a config option saying "PvP Worlds". Just type in the world name and it'll work. 1.1.0 HAS been uploaded, Bukkit just take long to approve files. This is why I wish there was a better website that lets you download plugins. Bukkit just takes too long. I'm finding other websites, I'm thinking of using Jenkins but I have NO idea how to upload plugins.
and how do i set it so that the kits can only be used in my arenas
i cant find the premade kits like snowman and zombie kit how do i get those to work
@Xotice As I said, I fixed all of the bugs. As I got to read ur error message I found where to look in the code. I also added worlds support in 1.1.0