Kits



Kits is a simple yet deceptively powerful plugin allowing you to create, edit and spawn custom kits in-game. When creating and editing a kit, you are provided an inventory in which you will be able to place any item into; changes are made when this inventory is closed.

- Manage Kits entirely in-game with a custom-size inventory GUI for you to add items to or remove items from.
- Everything is drag n' drop
- Create a kit with any name. Kit names are not case sensitive.
- Store any item, with any stack size, name, lore and enchantment; you get back what you added.
- Spawn a kit by clicking on a kit sign.
- Toggle Player inventory overwrite for individual kits.
- Create complete inventory kits.
- Add delays between kits. Kits can have their own individual delays.
- Simple in-game commands displayed and explained below!

- Works with CB 1.7.10-R0.1; works with previous versions that support the UUID changes.
- Hopefully fixed time delay issues.
- Time delay expressions can now be stated literally ("1 month and 2 days, 3 hours & 4 minutes" is a valid expression)
- Cleaned some code.
- Added support for Gravity's updater.

Kits is open source and available on GitHub. There's also an API for developers to create their own plugins that hook into Kits:
This plugin utilizes Gravity's plugin update system. By default, it only checks if any updates are available. You can disable the updater in the config by setting enabled to false. types of updates:
- default - automatically update if the current version of Kits is out of date.
- force - automatically update regardless of the current version
- check - do not download, only check the latest version.
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
- Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.






-
View User Profile
-
Send Message
Posted Jul 26, 2013How would you add a delay for each kit individually? And could you add an option so a kit can only be used once?
-
View User Profile
-
Send Message
Posted Jul 26, 2013@MrDHdavid
When the latest update is uploaded, you can download that. It allows you to use all slots of the player's inventory (except crafting and armor slots because that is impossible.)
When the latest update is uploaded, issue the following command:
/kit create pvp 4
Make sure every other slot in the inventory is empty and place what you want in the bottom-most bar.
Finally, in the config.yml file, make sure that you set overwrite to true.
-
View User Profile
-
Send Message
Posted Jul 26, 2013I love how easy this plugin is to use. Only request is if there is some way to clear the inventory when using the kits. It only clears the hotkey inventory. I have a kitpvp world setup and players are bypassing and mixing kits by placing them in their inventory out of the hotkey slot. Would be much appreciated if there is anything you can do.
-
View User Profile
-
Send Message
Posted Jul 25, 2013@Theproterror
Unfortunately, it's impossible to use armor slots with the Bukkit API - if there is a way around it, it's either something I have not seen or heard of, or it involves using NMS classes which are not an option.
Another note to everyone:
There is a way for me to allow you to use delays for individual kits, but this will require some changes to be made to the kits file, meaning that unless you know how to fix it, it will become obsolete until you create a new kit. This goes for kits with and without delays.
-
View User Profile
-
Send Message
Posted Jul 25, 2013Could you add somethink like, not using only 9 slots of space, and use slot armor and rest of the space that you have for a kit
-
View User Profile
-
Send Message
Posted Jul 25, 2013Version 1.4:
http://dev.bukkit.org/bukkit-plugins/kits/files/8-kits-1-4/
-
View User Profile
-
Send Message
Posted Jul 25, 2013@TristonSmith24
Without adding a fair amount of code, no. I'll look into it when I get the time, but for now, I have an official update for you all! The next update allows you to define whether you want to overwrite the player's existing inventory space or not. Additionally, I have added a new feature, allowing you to define the size of the inventory you wish to create based on the amount of bars. For example:
/kit create foo 2
This will create a kit named foo with two bars (or 18 slots). The plugin has built-in safety protocols to ensure that you can't enter a kit size over 4 (the maximum for a player's inventory).
As well as this, a small bug with sign interaction has been fixed. Please paste any errors you might get below so I can further fix them.
-
View User Profile
-
Send Message
Posted Jul 25, 2013Is there any way to have individual delays for individual kits?
-
View User Profile
-
Send Message
Posted Jul 23, 2013Got some errors, can you help?
24.07 00:39:25 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:161) 24.07 00:39:25 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:191) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 24.07 00:39:25 [Server] INFO org.bukkit.event.EventException 24.07 00:39:25 [Server] SEVERE Could not pass event PlayerInteractEvent to Kits v1.3 24.07 00:39:25 [Server] INFO ... 16 more 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 24.07 00:39:25 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) 24.07 00:39:25 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 24.07 00:39:25 [Server] INFO at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) 24.07 00:39:25 [Server] INFO at com.dragonphase.Kits.Listeners.EventListener.onPlayerInteract(EventListener.java:76) 24.07 00:39:25 [Server] INFO Caused by: java.lang.NullPointerException 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58) 24.07 00:39:25 [Server] INFO at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:610) 24.07 00:39:25 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:161) 24.07 00:39:25 [Server] INFO at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:191) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 24.07 00:39:25 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 24.07 00:39:25 [Server] INFO org.bukkit.event.EventException 24.07 00:39:25 [Server] SEVERE Could not pass event PlayerInteractEvent to Kits v1.3
-
View User Profile
-
Send Message
Posted Jul 23, 2013how do i make it so if you get a kit but removes the other kit at the same time
-
View User Profile
-
Send Message
Posted Jul 22, 201304:14:55 [SEVERE] Could not pass event PlayerInteractEvent to Kits v1.3 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInte ractEvent(CraftEventFactory.java:191) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInte ractEvent(CraftEventFactory.java:161) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java :610) at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296 ) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java :118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:5 90) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:2 26) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:4 86) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java :419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:5 82) Caused by: java.lang.NullPointerException at com.dragonphase.Kits.Listeners.EventListener.onPlayerInteract(EventLi stener.java:76) at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 16 more
-
View User Profile
-
Send Message
Posted Jul 22, 2013== HOW DOES PERMISSIONS WORK!?!?!?!?! ==
-
View User Profile
-
Send Message
Posted Jul 22, 2013HOW DOES THE PERMISSIONS WORK!?!?!?!?!?!?!?!?!?!?!
-
View User Profile
-
Send Message
Posted Jul 22, 2013HOW DO I MAKE A DELAY FOR CERTIN ITEMS ONLY!?!?
-
View User Profile
-
Send Message
Posted Jul 21, 2013How do i like make delay for certain kits...
-
View User Profile
-
Send Message
Posted Jul 20, 2013Please update and fix the toolbar items deleting glitch.
-
View User Profile
-
Send Message
Posted Jul 19, 2013when you do obtain a kit all the items in your toolbar vanish
-
View User Profile
-
Send Message
Posted Jul 18, 2013good plugins
-
View User Profile
-
Send Message
Posted Jul 16, 2013@deleted_9479005
1. First make a kit with /kit create <kitname> (example: /kit create iron and put in some iron tools and armour)
2 .When you have made a kit, head over to your permissions plugin and give them this node kits.spawn.<kitname> (example: kits.spawn.iron)
3. Reload or restart your server then the players you gave the node too will be able to get the kit with /kit <kitname>. (example: /kit iron will give them the kit you made at the start)
REMEMBER: You have to give the player the node for the kit you want them to have (Like in step 2). If you make a kit called diamond but then don't give players the node kits.spawn.diamond, they wont be able to get the kit. If you want a group to have all the kits give them kits.spawn.*.
Hope it helps,
Tech.
-
View User Profile
-
Send Message
Posted Jul 15, 2013I am a complete noob to this, how can i make it so any average player can use a kit? Thank you!