2

I have made a OP kits with essentials. I then tried to make another one. but the other one won't work here's the config for it

 May:
    delay: 84600
    items: 
      - 306 1 protection:45 fireprotection:42      respiration:40 thorns:40 name:&3&lMay
      - 307 1 protection:45 fireprotection:42 thorns:40 name:&3&lMay
      - 308 1 protection:45 fireprotection:42 thorns:40 name:&3&lMay
      - 309 1 protection:45 fireprotection:42 featherfalling:42 thorns:40 name:&3&lMay
      - 267 1 sharpness:50 fireaspect:30 name:&3&lMay
      - 271 1 sharpness:60 fireaspect:54 knockback:50 name:&4S&6W&eA&2G

Anything wrong? And yes I do have unsafe enchantments set to true

  • In your config.yml file, do you have unsafe-enchantments = true set? Otherwise, it won't let you set enchantment levels above the normal limit. Other than that, your formatting looks okay in general. – Unionhawk May 14 '14 at 2:35
  • 1
    @user74676 Try removing the extra spaces between fireprotection:42 and respiration:40 – LucidiousXIV Feb 23 '15 at 16:36
1

The error when you add a second kit in the essentials config that nothing works is likely because of the wrong format, here is an example how it should look like:

 May:
    delay: 84600
    items: 
      - 306 1 protection:45 fireprotection:42      respiration:40 thorns:40 name:&3&lMay
      - 307 1 protection:45 fireprotection:42 thorns:40 name:&3&lMay
      - 308 1 protection:45 fireprotection:42 thorns:40 name:&3&lMay
      - 309 1 protection:45 fireprotection:42 featherfalling:42 thorns:40 name:&3&lMay
      - 267 1 sharpness:50 fireaspect:30 name:&3&lMay
      - 271 1 sharpness:60 fireaspect:54 knockback:50 name:&4S&6W&eA&2G
 May2:
    delay: 84600
    items: 
      - 306 1 protection:45 fireprotection:42      respiration:40 thorns:40 name:&3&lMay
      - 307 1 protection:45 fireprotection:42 thorns:40 name:&3&lMay
      - 308 1 protection:45 fireprotection:42 thorns:40 name:&3&lMay
      - 309 1 protection:45 fireprotection:42 featherfalling:42 thorns:40 name:&3&lMay
      - 267 1 sharpness:50 fireaspect:30 name:&3&lMay
      - 271 1 sharpness:60 fireaspect:54 knockback:50 name:&4S&6W&eA&2G

Now, whats the REAL trick? its simple, almost EVERY plugin config is in the YML language, a programming language fixed on readability.

before the names, you might have tabstops.... DO NOT HAVE TABSTOPS, instead, use spaces, since the YML language recognizes a difference inbetween tabs and spaces.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.