Essentials config.yml breaking when I add kits

Discussion in 'Spigot Help' started by Reckless_Pug, May 23, 2015.

  1. I had these kits working earlier, but then my friend tried adding a kit with a book with text in it, and now none but one of my donator kits are working.

    This is my only donator kit that works:
    trusted:
    delay: 86400
    items:
    - 267 1 sharpness:1
    - 261 1 power:1
    - 368 2
    - 384 5
    - 364 10
    - 322 2
    - 383:91 1
    - 329 1
    - 334 5
    - 47 2
    - 46 2
    - 264 2
    - 262 10
    - 403 1 0:1
    - 306 1
    - 307 1
    - 308 1
    - 309 1

    These donator kits don't however, and whenever I add them it breaks the config.yml

    elite:
    delay: 86400
    items:
    - 267 1 sharpness:2
    - 261 1 power:2
    - 368 4
    - 384 4
    - 364 15
    - 322 5
    - 383:92 1
    - 383:91 1
    - 47 4
    - 327 1
    - 46 4
    - 264 4
    - 329 1
    - 334 10
    - 262 20
    - 403 1 0:2
    - 306 1
    - 307 1
    - 308 1
    - 309 1
    veteran:
    delay: 172800
    items:
    - 276 1 sharpness:1
    - 261 1 power:2 punch:1
    - 368 6
    - 384 8
    - 364 20
    - 322 8
    - 383:92 1
    - 383:91 1
    - 383:120 1
    - 47 6
    - 327 1
    - 46 6
    - 264 6
    - 329 1
    - 334 15
    - 262 30
    - 403 1 0:3
    - 306 1
    - 307 1
    - 308 1
    - 309 1
    VIP:
    delay: 172800
    items:
    - 276 1 sharpness:2
    - 261 1 power:2 punch:2
    - 368 8
    - 384 10
    - 364 20
    - 322 10
    - 383:92 1
    - 383:91 1
    - 383:120 1
    - 47 8
    - 327 2
    - 46 8
    - 264 8
    - 329 1
    - 334 20
    - 262 40
    - 403 1 33
    - 403 1 0:3
    - 306 1
    - 307 1
    - 308 1
    - 309 1

    Would be great if I could get some help!
     
  2. it is probably a indentation problem. the format should look like this. the delay and items should be four spaces in and the dash for the items should be five. The ~ are spaces in my example.

    firework1:
    ~~~~delay: 600
    ~~~~items:
    ~~~~~ - 401 1 name:Firework lore:Use_/firework
     
  3. Actually it should:

    Kits:
    ~~Kit1:
    ~~~~delay: 60
    ~~~~Item:
    ~~~~- 401 1 name:Firework lore:Use_/firework
     
  4. Next time try using the spoiler <Code> to actually paste in the exact spacing etc.