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.
@KingFaris10 Not even update it to 1.6?
Important notice
I won't be working on this project anymore for a long time. I'm working on a big huge private plugin for a server that will be up soon. I hope you understand.
@willis888 1. No it doesn't, in the config you can allow/disable block placing/breaking.
2. Go to the economy.yml then the config properties are self-explanatory.
3. Open Essentials, go to EssentialsEconomy section in the config.yml, change the "starting-balance" or something like that to how much money you want.
4. To check how much money you have, type /balance
@KingFaris10 You have no idea how often I get that.
A have a few more questions:
1. Does KingKits automatically disable block placing/breaking? If so, is there a way to change this through permissions (I want to add stuff like TNT)? I'm asking because after I installed PermissionsEx (and removed ModifyWorld, the included plugin which would have interfered), I found that I could not break or place blocks. 2. How do you set up the kit buying/economy system? There isn't a guide on how to do that. How do you make it so that a player gets money to start out with? (Because if all kits cost money, then the player wouldn't have any kits in the beginning?). How do you check on how much money you have?
Thanks
@willis888
Whatcha talking about willis?
http://www.youtube.com/watch?v=Qw9oX-kZ_9k
Anyway, back to the point. No, there isn't a way and I will not make it in the future. Personally I don't like the idea of that at all as it'd mean that you'll always have to set the cost of each kit you create. There are many more reasons that I cannot type as they are too long.
Is there a way to make different kits cost different amounts of money?
@KingFaris10 Everthing is enabled and Kingkits are working as it should! I just cant get it to work:(
u dont have any more solutions?:)
@Jidiiot
Sorry, that was my cousin, lol.
Also, it should work. This is an example but:
Get KingKits & KingKitsSpecial
Make sure all the kits are enabled in KingKitsSpecial (in this example, I'm using Zombie)
Create a kit called Zombie (with items)
Then it should work. No zombies would follow you.
Lol thanks...KingFaris10
I typed wrong ops xD didnt meant it to type "I have renamed the kit to the kingkitsspecial" I meant, "I have renamed the kit to the kingkitsspecial kit names" Sorry, didnt saw what i typed xD
@Jidiiot
I see where you get your name from. Suits you, not to be offensive obviously ;)
You're not meant to rename the kit to KingKitsSpecial, you rename it to the name you gave the special kits in the KingKitsSpecial configuration.
So for example, if zombie kit is enabled, make a kit called zombie.
@KingFaris10 I've tried everything! But cant get the Kingkitsspecial to work:( I have renamed the kit to the kingkitsspecial and tried to add a lore! But i cant see though what lore to type. Any help?
thanks!
@KingFaris10
Thanks.
@mikey592cool
I've become lazy with this project, I've spent around 8hrs yesterday trying to fix one thing. I don't plan on doing that in the future. I'm leaving this project for a week or so. Too much things to do.
@FunProGames
That's sorta impossible, sorry. The only way is for you to do something yourself by opening the jar file, etc.
Hey, I'm not running a pvp server. But I really love this plugin. Is it possible to change the command so it's not /pvp? Could it be added into config by any chance?
Thanks.
Can you add a easy way to configure some kits to have prices some not
@Jidiiot
Read the KingKitsSpecial page. The top says it all.
Hi! Awesome kit-plugin! but I have one thing to mention.
How the hell do I add a special ability to a kit? i can't get it to work somehow:/
a litte help would be awesome!
Thanks!
Note, the following are the Java class codes for Java versions. This will help you willis:
J2SE 8 = 52,
J2SE 7 = 51,
J2SE 6.0 = 50,
J2SE 5.0 = 49,
JDK 1.4 = 48,
JDK 1.3 = 47,
JDK 1.2 = 46,
JDK 1.1 = 45
As you can see, it says "Unsupported major.minor version 51.0 at". '51' means Java 7. Type java -version in Terminal and check if it's really Java 7. Also check if your server is definitely running on Java 7 by typing manually "<java7path>/bin/java" instead of java.
@willis888
Firstly, read the above comment. If that doesn't work, try opening the jar file with WinRAR or as I see you're using Mac, just rename the KingKits.jar file to KingKits.zip then double click on it. Where you see plugin.yml, open it with Notepad/TextEdit. Where it says "version" or something like that, change it to like 1.0.0 and then save it. Then rename it back to KingKits.jar and test the server. If that doesn't work, inbox me.