Kits

Here is a template for the kit file :

kits.yml
kits:
    Tools:
        delay: 0
        items:
            '276' :
                amount : 1
                echantments : []
                durability : 0
            '278' :
                amount : 1
                echantments : []
                durability : 0            
            '277' :
                amount : 1
                echantments : []
                durability : 0
            'Diamond_Axe' :
                amount : 1
                echantments :
                    - 'dur:5'
                    - 'dmg:2'
                durability : 0
    dirt:
        delay: 60
        items:
          'dirt': 64
          'grass': 2
    darmor:
        delay: 0
        items:
        armor:
          head:
              item : 310
              echantments :
                  - 'dur:5'
                  - 'oxy:4'
              durability : 0
          chest: 
              item : 311
              echantments : []
              durability : 0
          legs:
              item : 312
              echantments : []
              durability : 0
          boots:
              item : 313
              echantments : []
              durability : 0
    dequip:
        delay: 0
        armor:
        items:
        parents: [Tools,darmor]
    blue:
	delay: 0
	items:
	color: blue 
	armor:
          head: 298
          chest: 299
          legs: 300
          boots: 301
  • delay : represent the time that the user has to wait before using the kit again (-1 to create a “only one use kit per user”)
  • items : contain the items of the kit
  • armor : if you want to create an armored kit (optional)
  • parents : if you want your kit to inherit items and armor from other kits (optional)
  • color : in case of leather armor, you can choose the color of it. (optional)
  • durability : choose the durability of the item (default 0) (optional)
  • enchantments : choose which enchantments to put on the item (optional)
config/kit_file.txt · Last modified: 2013/01/20 11:36 by balor
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0