Chest Kits
This plugin allows the creation of kits that are actually chests. When you use the /ckit KIT command, you are given 1 chest that contains the kit items. When placed into the world, the chest will contain all of the items that belong to that kit.
This plugin was created in response to a plugin request on the bukkit forums available at: http://forums.bukkit.org/threads/chest-kit.177383/
Features
Create custom kits to give to new players or whoever you want! Supports all sorts of fancy item properties, such as enchantments, display names, lore, etc. You can save your kits to the configuration file in-game. No need to mess with the configuration file unless you really want to.
Commands
- /ckit - Displays the proper want to use this command. See below.
- /ckit KITNAME - Gives you the kit named KITNAME
- /ckit create KITNAME - Creates a new kit named KITNAME. The items in the kit will be all of the items currently in your inventory.
- /ckit cooldown KITNAME COOLDOWN - Gives the existing kit named KITNAME a cooldown of COOLDOWN milliseconds (1000 = 1 second).
- /ckit delete KITNAME - Deletes the kit named KITNAME
- /ckit give PLAYERNAME KITNAME - Give PLAYERNAME the kit named KITNAME.
- /ckit save config - Save the currently defined kits to the configuration file.
All of the commands above can be run from the console by specifying a target player as follows:
- /ckit TARGETPLAYER (rest of command)
Examples:
- /ckit finalfred KITNAME - Gives finalfred the kit named KITNAME.
- /ckit finalfred create KITNAME - Creates a new kit named KITNAME that contains whatever finalfred's inventory contains.
- /ckit finalfred delete KITNAME - Deletes the kit named KITNAME.
- etc.
Permissions
- ckit.create - Allows you to use the /ckit create command (see above). Defaults to OP.
- ckit.cooldown - Allows you to use the /ckit cooldown command (see above). Defaults to OP.
- ckit.delete - Allows you to use the /ckit delete command (see above). Defaults to OP.
- ckit.save - Allows you to use the /ckit save command (see above). Defaults to OP.
- ckit.give - Allows you to use the /ckit give command (see above). Defaults to OP.
- ckit.get.* - Allows you to get any kit by using /ckit KITNAME. Defaults to OP.
- ckit.get.KITNAME - Allows you to use /ckit KITNAME. You will have to give your users this permission if you want them to spawn their own kits.
Configuration
- kits - A list of the names of each kit
- kitcooldown - A pseudo-mapping of kit names to their cooldowns in the format of a long integer. The kit "meow" will have its cooldown saved as "kitcooldown.meow"
- kititems - A pseudo-mapping of kit names to the items contained in a kit. The kit "meow" will have its item list as "kititems.meow". The list itself is a serialized list of org.bukkit.inventory.ItemStack.
I highly recommend not changing the configuration file. It's more trouble than it's worth unless you really know what you're doing. The in-game commands should suffice.
One feature you may like is that creating a kit, saving it, then deleting it will leave it's items definition in the configuration file. You can re-create the kit by manually adding the kit name back to the "kits" configuration item and it will retain all of the items it used to have. This may be useful if you accidentally delete a kit.
Enjoy!
-
View User Profile
-
Send Message
Posted Feb 8, 2016Hey FinalFred, is there any way to change the name of the chest when it gets put in your inventory instead of having the default "Kit {KitName}"? Like would it be possible to give the chest a different custom name with colors and what not?
-
View User Profile
-
Send Message
Posted Jul 19, 2015hi im really looking for a mod that when you do (/kit pvp) it automatlic open a chest inventory im mean i dont want to place the chest just open direct
-
View User Profile
-
Send Message
Posted May 21, 2015Please update this plugin <3
-
View User Profile
-
Send Message
Posted May 14, 2015Please Update!!! this was working with my server and now it is not. :<
-
View User Profile
-
Send Message
Posted Mar 1, 2015THIS IS AWESOME!!!!!!!!!!! but can u add sign kits where u click the sign and it gives u the kit that was on the sign! Thanks so much 192.99.150.104:25571 is my server ip if u want to come and play kitpvp! Please make the sign kits!!!!!!!
-
View User Profile
-
Send Message
Posted Jan 3, 2015Is there any way to remove how players get the chest and just get the stuff in there inv in a certain world?
-
View User Profile
-
Send Message
Posted Dec 30, 2014please update plugin :(
-
View User Profile
-
Send Message
Posted Mar 30, 2014@Ikashy
Last I checked the 1.6.4 version works on 1.7.2 just fine.
I've uploaded a 1.7.5 Dev version, but it'll have to be approved first. You can get the source off of github if you'd like to compile it yourself.
-
View User Profile
-
Send Message
Posted Mar 29, 2014Hello FinalFred, I just wanted to know when you think a 1.7.2. version will be ready? I really need this for my server right now! By the way, awesome plugin you've got there.
-
View User Profile
-
Send Message
Posted Mar 16, 2014@hfasullo2
I'm afraid I don't know most of those plugins, but judging by the name it doesn't sound like any of them handle permissions. By default Bukkit has a very basic permission system, I think a permissions.yml file somewhere, that you might be able to use. I don't use Bukkit's default system though, so you'll have to search through the minecraft/bukkit wikis for that kind of information.
If you want to start using a permissions plugin, I recommend PEX (PermissionsEX). They have commands for changing permissions, and it supports pretty much every permission feature you could want (for example, groups of people and permissions that expire after a while).
So, if you just want to get it working I recommend looking for information on Bukkit's default permission system. If you want to get better at server administration (understanding permissions is important if you're in it for the long haul), I recommend looking into PermissionsEX.
-
View User Profile
-
Send Message
Posted Mar 16, 2014@FinalFred What permission plugins could I be using? Theese are the plugins on my server: ChestKits, Essentials, GetGlassBack, LightningDeathReloaded, Muter, SilkSpawners, Prefixer, Timber, WorldEdit
-
View User Profile
-
Send Message
Posted Mar 16, 2014@hfasullo2
You use permissions to allow regular users to use kits :)
ckit.get.* - Allows you to get any kit by using /ckit KITNAME. Defaults to OP.
ckit.get.KITNAME - Allows you to use /ckit KITNAME. You will have to give your users this permission if you want them to spawn their own kits.
So, if you want everyone to be able to do /ckit [anything], then you give everyone "ckit.get.*" How you give people this permission depends on what permission plugin you're using.
-
View User Profile
-
Send Message
Posted Mar 15, 2014Hi, how do i let regular users use all kits? Im looking in the config file but theres nothing about permissions just about the kit I made, any help?
-
View User Profile
-
Send Message
Posted Jan 18, 2014Dude just update the plugin to 1.7.2 so these idiots will leave you alone
-
View User Profile
-
Send Message
Posted Jan 4, 2014@TildaPvP
Only 1.7.2 beta builds have been released so far. Have you tried running it with them to see if it works? Like I mentioned earlier, I wrote my plugin with the idea that it won't usually need to be updated and will run just fine on new Bukkit versions.
As for "?bGod ?4Stick" I assume that ? are supposed to be ยง? I'm afraid I can't fix that - the way I'm saving items relies on the Bukkit serialization API. If it doesn't save/load items correctly, then that's a bug with the Bukkit API, not my plugin. Even if it doesn't look correctly in the config file, does the item load correctly or does it show question marks in-game as well?
Try re-adding the item to the kit, saving the config, and then restarting your server without even opening the config file. Does it load correctly then?
If the above doesn't work correctly, I'll try to think of a work-around.
-
View User Profile
-
Send Message
Posted Jan 4, 2014CraftBukkit 1.7.*4* has been released so please update to that. And please fix the naming of items then when it saves it says like "?bGod ?4Stick"
-
View User Profile
-
Send Message
Posted Nov 25, 2013Why is the cool down resets on restart intentianal ? I think it would be better if it logs players of what kit they got and what their cool down is so if the server restarts they still are not able to use the kit again until the cool down for them ends
-
View User Profile
-
Send Message
Posted Nov 22, 2013@XxwoolfxX
I'm not sure what you mean - as far as I'm aware a 1.7.2 version of CraftBukkit hasn't been released.
-
View User Profile
-
Send Message
Posted Nov 22, 2013Can you make the plugin 1.7.2?
-
View User Profile
-
Send Message
Posted Nov 10, 2013@FinalFred
ok