CustomKits (CKits)

CustomKits (CKits)

11.1k Downloads

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