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.
Help! I want to use this plugin a lot, as it seems to be the best kits plugin out there. But I keep getting the below error and KingKits never loads for me. I'm on JRE 7, and other plugins like Vault work just fine. I am running CB 1.5.2 R0.1 (the recommended beta version). Please help!
Williss-iMac:~ willis$ /Users/willis/Documents/kingkits/start_server.command ; exit; 229 recipes 27 achievements 16:57:30 [INFO] Starting minecraft server version 1.5.2 16:57:30 [INFO] Loading properties 16:57:30 [INFO] Default game type: SURVIVAL 16:57:30 [INFO] Generating keypair 16:57:30 [INFO] Starting Minecraft server on *:25565 16:57:30 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R0.1-b2771jnks (MC: 1.5.2) (Implementing API version 1.5.2-R0.1) 16:57:30 [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 16:57:30 [INFO] [Vault] Loading Vault v1.2.25-b320 16:57:30 [INFO] [Vault] Enabling Vault v1.2.25-b320 16:57:30 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system. 16:57:30 [INFO] [Vault] Enabled Version 1.2.25-b320 16:57:30 [INFO] Preparing level "world" 16:57:30 [INFO] Preparing start region for level 0 (Seed: -8066524240917982593) 16:57:31 [INFO] Preparing start region for level 1 (Seed: -8066524240917982593) 16:57:31 [INFO] Preparing spawn area: 33% 16:57:31 [INFO]
-Bukkit Auto Updater-16:57:31 [INFO] It appears that you're running a Beta Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds. 16:57:31 [INFO] If you would like to be kept informed about new Beta Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'beta'. 16:57:31 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes. 16:57:31 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml. 16:57:31 [INFO]----- 16:57:31 [INFO] Preparing start region for level 2 (Seed: -8066524240917982593) 16:57:32 [INFO] Server permissions file permissions.yml is empty, ignoring it 16:57:32 [INFO] Done (1.581s)! For help, type "help" or "?"Okay guys, so I found out why quick soup isn't working and I've fixed it. II'll upload it soon. I still can't figure out why the Money per kill and Money per death won't work for some people :S
It should work perfectly fine. If it doesn't work, try not using a symbol for the "Currency" in the economy config. Also make sure "Use economy" is true.
@Xotice
Yes it is most likely that. I'll remove hunger lock. Also, you do realise the player must have less than or equal to 8 hearts to heal them and less than or equal to 8 1/2 hunger to feed them. Also just disable Hunger Lock and check if it works. The thing I'm really confused about is that it's working on my lan server. I'll test it on my main PvPCombat server.
soups aren't working for my server, not even on me the OP. I'm reverting back to 1.1.0 for now.
Perhaps the issue has something to do with the hunger lock you added?
Talk in a PM. It's getting too spammy.
@Antibes
Nothing should interfere with it but maybe it is because of the £. I tried using £ on my lan server to test it and it crashed the config. Try changing it to "pounds" and not "£"
@KingFaris10
We have Vault 1.2.25 and essentials economy 2.11.1.6. Money is taken for the kit and soup refills, but no credit or debit for kill/death. I did make the currency £ and swap to <currency> <money>, but it shows up fine when buying kit and refilling soup.
The soup randomly works, I tried it live and on my test server with exactly the same results. Maybe another plugin is interfering with the latest version.
@Antibes
1. That's very odd, soup worked for me AND kill/deaeth did pay. Are you sure you have Vault and an economy plugin? 2. That's not really a problem on my side (plugin-wise) because soups can only be used if you have a kit. I'll make a config option to disable/enable it later. Atm I'm working on the Hunger games plugin.
@KingFaris10
Thank you very much for creating an awesome plugin and taking the time to visit. I look forward to seeing your Hunger Games plugin.
UPDATE: I've just loaded the latest version (1.1.2) and the soup isn't working plus money per kill/death isn't paying, so I've gone back to 1.1.0.
Also, when configured to allow kits to be kept (Remove items on leave: false) players can't re-soup if they relog, unless they choose a kit again.
KingKits v1.1.2 uploaded!
I uploaded KingKits v1.1.2. Please wait patiently for Bukkit to approve the file. If you can't wait, just PM me and I'll send you a mediafire link to the jar file. Note: If you do do this, note that the plugin I will send you in the PM is not approved by Bukkit and you will use it at your own risk.
@KingFaris10
I think it would be a great feature to be able to get money per kill, and have the option of losing money per death. :)
@Antibes
A good way of combatting that is if a player kills someone thrice in a row, they can't gain money till they kill a different player.
Also, the bug in the soup was a silly typo :/ Fixed.
@KingFaris10
Thanks for looking into it.
Yes, I think they mean that they get money for each kill, but it may be open to abuse (arranging to kill each other to increase their balance).
Minecraft pvp server
ye this plugin is great
Great
now i can create my server thanks#
@Antibes
I'll look into that bug. Also, you mean you get money per kill? Okay I could do that.
KingKits is amazing, but I have a problem with the latest version (1.1.1). Sometimes in combat or when taking damage the soups won't work. I've gone back to 1.1.0 and it's fine. Also, now economy support has now been added, some players were asking if it was possible to add pay per kill?
@KingFaris10 it won't let me pm u the file but how would i tie the special kingkits to the actually kit?
@SgtBubblezZ
How could an item have an effect. That means the item would get damaged... that makes no sense. I think you mean make the sword give the target player get an effect. Yes I can do that but I don't like the idea of adding it to KingKits. I might add a Viper kit to KingKitsSpecial.
Also, PM me the file for your potion effect config + PM me the file for your kits config (not config.yml in the main /plugins/KingKits)
@KingFaris10 I flowed the the instructions and still the potion effect is not applied to the kit. And is there an ability to add a potion effect to a weapon and add a cool down? For example maybe a viper kit that gives your sword poison.
@SgtBubblezZ
What do you mean. Have you seen how to set it up?