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
Thank you very much :)
Just the bit that made this plugin extra great :)
@banansnegl
Uploaded to Spigot and BukkitDev. BukkitDev has approval times so you'll have to wait to get it here, or just go on the Spigot page where there are no approval times.
So to set it up, you'd want to set your config.yml (global settings) to have:
Then you'd create a new folder in /plugins/KingKits/ called 'worlds'. Within that, create a new file called 'pvp.yml'.
Within pvp.yml, you'd want to type (for example): http://pastebin.com/ds5rW0ZT
Save that and type '/kk reload' (or just restart the server) and it should work.
@banansnegl
Yes. By the way, it's being made but I won't release till later tomorrow (4/4/16)
@KingFaris10
Would that make it so that each world can have different values? My current setup is as follows:
Only "Spawn" world is active in the config. In this world, Item dropping is set to false and Clear inventory is set to true
I have another world called "pvp" In this world, i want Item dropping set to true, and Clear inventory set to false
If that can be done using a world.yml, i'd very much appriciate it if you could make that, or maybe these settings can be applied to each kit instead? So that you can toggle Clear inventory (as example) to either true or false for each kit, that way you wouldn't need to add a world.yml, but instead include the settings(clear inventory, item dropping, etc.) in each kit's config file.
I'm not sure what is doable to you, but whatever you end up with, I appriciate your time, again, great plugin :)
@banansnegl
Hmm... what I can do is make it load the config.yml as default, but if the <world>.yml exists, it'll use that in place.
Great plugin, but i was wondering if you could make it so that you could chose which default values are active in each world.
Eg. I have two worlds, one world I want to have "item dropping" set to false and "Clear inventory on kit" set to true, but I don't want that for the other world.
I can only seem to see an option to toggle the entire plugins effect to a specific world or all at once, but I want different defaults for each world.
I don't know if that made sense, but is it doable?
@Sammeeh
You'll need a developer to modify the SRC of this plugin, I won't make it specifically for one person. If you can't do this, just use /kingkits:createkit instead of /createkit. And if you want to use Essential's createkit, /essentials:createkit
@DutchLords
I've already made a private plugin like this, but I won't make it for KingKits as that's not what this plugin is about. Not only that, but that'd mean anyone who DOESN'T want this feature will have to have it built in, which can be annoying.
Hi, could you please make something so players can upgrade their kits. Like /pvpkit {namekit} upgrade and than it's upgraded to lvl 2 so on so on.
Bye
Hi, because of the 1.9 update the potions are changed by code. Could you make it so it is possible to change it too in the kits.yml (I am having essentialsx and there is a command /createkit too)
If you're not understanding me that good (im Dutch so yea) come visit my server IP: Craftapanda.servegame.com:25612
@manutdfreek910
I can make a 'Hidden from GUI' feature in the next update.
@Captain104
Do you have Vault and a compatible economy plugin installed?
Also, people with OP or bypass node bypass the cost. So if you are an admin, for example, it does not cost you when choosing a kit.
I have set kit TANK cost: 100 but when people take the kit no money will be taked off
is there a way to keep a kit, but have it not display on the /pvpkit gui?
@TechBug2012
Is this the 'Money per kill' feature in KingKits? If so, the thing is, I just use Spigot/Bukkit's method to get the killer of a player, I don't track damaging myself.
@DutchLords
Private message me your config and your kit config with soups.
Yeah I have enabled it in the config
Is there a way to extend the time between a death and when a player is hit? For example, on my server, I have a map where players can hit each other into the void. In some cases where Player1 hits Player2 right before Player2 falls into the void, Player1 gets the money. But if Player1 hits Player2 and it takes a little longer for Player2 to fall into the void, Player1 won't get the money. Is there a way to extend the time that is elapsed so that Player1 gets the money for hitting Player2 into the void every time?
Thanks!
@DutchLords
Have you enabled quick soup in the config.
It is in the main hand slot...
@DutchLords
Soups only work in the main hand slot, I think.
Pls answer
The QuickSoup thing still doesn't work. I've given my players the kingkits.quicksoup permission but it doens't work! Pls help me out!