Kits Config v5.0 and v5.1

Description

kits.yml (created on first start)

onetimekit:
  items:
  - 276,1 32,1 33,2
  - 14,20
  - 373:8225,2
  commands:
  - say That triggered a say command
  - tell (player) Hi, I am the console.
  givemoney: 20
  givexp: 50
  starter: false
  onetime: true
  clearinv: false
  cooldown: 0
  price: 0
  message: Enjoy it ;)

How to make kits

Kits are defined in this format:

[kitname]:
  items:
    - [item id],[amount] [enchant id],[level] [enchant id],[level], ...
  commands:
    - [your commands string here - no "/" required]
  givemoney: [any floating-point number]
  givexp: [any integer]
  starter: [false of true]
  onetime: [false or true]
  clearinv: [false or true]
  cooldown: [cooldown in seconds]
  price: [your price as floating-point number]
  message: [strings]

IMPORTANT: The kits config is using Bukkit's yaml parser. That means you can't use TAB indentation and you have to use spaces (see example).
Also if you don't set an attribute, it will use its default value.

Available config attributes

attributedescriptionpossibledefault
itemsThis is where you put all your items in. See example above.item idsnone
commandsHere you can list commands which are being executed after requesting a kit. (player) represents the name of the player who is getting the kit. See example above.stringsnone
givemoneyGive money to the user who is requesting the kit (requires Vault + Economy plugin).any floating-point number0.0
givexpGive experience points to the kit requester.any integer0
starterSet this to true if you want to give your players a starterkit on their first join. Onetime will be ignored if this is set to true.true or falsefalse
onetimeSet this to true if you want to make the kit usable once by every player. Cooldown will be ignored if this is set to true.true or falsefalse
cooldownIf onetime and starter is false, you can set a cooldown (in seconds) here if you want.any integer0
clearinvSet this to true if you want the player's inventory to be cleared out before sending the kit.true or falsefalse
priceIf you got Vault + Economy plugin installed, you can set a price here.any floating-point number0.0
messageHere you can specify a custom message for this kit. The default message from config.yml will be used if you leave that empty or remove the "message:" field.any stringnothing

Enchantmemt IDs

IDEnchant
0Protection
1Fire Protection
2Feather Falling
3Blast Protection
4Projectile Protection
5Respiration
6Aqua Affinity
7Thorns
16Sharpness
17Smite
18Bane Of Arthropods
19Knockback
20Fire Aspect
21Looting
32Efficiency
33Silk Touch
34Unbreaking
35Fortune
48Power
49Punch
50Flame
51Infinity