CustomKits (CKits)
CKits
Simple kits plugin.
Using /ckits command you can view and select which kit you want to claim.
Gui has pages, so you can have as many kits as you want.
Kits have options like limited, stock, cooldown.
This plugin also has vault support, so when it is installed you can set prices for kits.
Commands:
- /ckits -> Opens gui where you can view and collect/buy kits.
- /ckits add <name> -> Adds new kit. To have custom colored names use color codes, for example "&6Name".
- /ckits remove <kit> -> Removes kit.
- /ckits reload -> Reloads configs.
- /ckits save -> Saves configs.
- /ckits stockreset -> Resets stocks to their default values.
- /ckits set <kit> <parameter> <value> -> Parameters:
- - 'needsPermission' - sets if player needs a permission to get kits.
- - 'cost' - replaced 'withcost' subcommand.
- - 'stock' - sets how many kits are available. For no stock use -1.
- - 'isLimited' - sets kit to be limited, one time claim kit, and 'cooldown' parameter to 0.
- - 'cooldown' - sets new cooldown in seconds and 'isLimited' parameter to false. Default value for 24h is 86400.
- /ckits help -> Shows this list.
Version 1.02 and below
- /ckits add <name> <needsPermission> <stock> <isLimited> <cooldown> -> Adds new kit. Color code symbol '&' can be used to create custom colored names. Stock is how many kits are available, -1 for no stock. Cooldown is in seconds. For 24h use 86400. 'isLimited' value is used for one time claim kits.
- /ckits insert <kit> -> Inserts item from hand to kit.
- /ckits takeout <kit> <slot> -> Removes item from kit. Use 'slots' sub command to see which items are in which slot.
- /ckits list -> Shows available kits.
- /ckits slots <kit> -> Get kit's items slots.
- /ckits getperm <kits> -> Get kit's permission.
- /ckits stockreset <kit> -> Resets stock amount to default value for specific kit.
- /ckits withcost <kit> <cost> -> Adds cost to kits. Vault is needed for this feature.
- /ckits stockreset <kit> -> Resets stock of specific kit.
Permissions
- ckits.admin - Allows use of all ckits sub commands.
- ckits.[kit name].claim - Allows to claim specific kit.
Config:
#Custom gui name
guiName: '&0CKits'
#Set color of panes in gui
#Colors: WHITE, ORANGE, MAGENTA, LIGHT_BLUE, YELLOW, LIME, PINK, GRAY, LIGHT_GRAY, CYAN, #PURPLE, BLUE, BROWN, GREEN, RED, BLACK
guiPaneColor: YELLOW
#If vault is installed and this option is set to true, the economy component will be disabled.
#Basically plugin will act like there is no vault.
ignoreVault: false
#Clears inventory when kit is claimed.
clearInv: false
#If true shows that inventory will be cleared when kit gets claimed.
#Shown while hovering over kit (item in gui).
showClearWarning: false
Adding items:
To add items you must have ckits.admin permission!
To add items first create new kit with /ckits add <name>. Then pick items that you want to add and open gui with /ckits.
There right click on your new kit and in bottom right corner there should be Insert button.
When you left click button it will add item from your hand.
When you shift left click button it will add whole inventory contents.
If you want to remove item, just shift right click on that item in gui.
For versions 1.02 and older use commands.
Servers using CKits:
(If you want your server added here just message the IP of the server)
1.) 149.56.24.191:25576
nvm
My Server: gopixelsurvival.minecraftr.us
how do you buy the kits?
how do i make it so it dose not have a cool down?
Incredible plugin !
Super nice !
Very effective!
Incredible support!
1.8 ?
How would I give someone the permission node - ckits.[kit name].claim ?? Im new to this kinda... HELp!!!!!!
Hi, can you update the plugin to the version 1.14 pls?
Hey,
I need your help. I would like to have it that only OP-ed people can open /ckits.
I tried to change the needsPermission to true for the kits in the config file but it doenst save. Even whn i save it.
Or do you recommend me to fix it with xPermission?
Greetings from Belgium
I want to set a cost on my kits, but it says that I don't have vault? What should I do?
Hello can you make it so when you get a kit it clears your inventory, or at least add an option in the config for it to do so.
Where can I find the permission nodes?
EDIT: Oh my gosh, sorry I found it I am dumb....
When I changed the cooldown to 0 on my kit in kits.yml, it still said in the game that I had to wait 23 hours. Why is this happening?
In reply to magicowl10:
In reply to Edvardas555:
Hi.
i realy like youre plug-in its very nice dysigned! buti have a problem with it, i think i alredy know what it it but maybe you know something to do with it? i am hosting a server on 1.13 and instaled ckits, but now some commants are not working and if i try to open ckits and click some kit i made it just takes out the item its viewing and does not give me anything, i can even take it out an put it in my invo...
do you know something to solve this? that would be great!
[Sorry for my bad english] Very good plugin, could you add colors in the name of the kit? Thanks for reading my comment
why can't my players redeem the kit?
In reply to Forge_User_74109246:
It's probably something gotta do with stock or needsPermission options.
If stock was set to something else than -1, kit probably ran out of stock. You can reset the stock when needed to it's original value with "/ckits stockreset" or "/ckits stockreset <kit name>". If you don't want stock on your kit or want to change it, in kits.yml change stock and stockCur value to -1 or other value.
If needsPermission option was set to true, players probably don't have permission to get the kit. In this case if you want for all players to be able to get kit you can go to kits.yml, find your kit and set needsPermission to false.
In other case just use plugins like PermissionsEx to add permission node of a kit in groups/ranks that you want.
In reply to Edvardas555:
needsPermission: false
cost: 6000.0
cooldown: 86400
stock: 3
stockCur: 3
isLimited: false