Error that kit is improperly defined. Contact an administrator

Discussion in 'Plugin Development' started by Player769, Aug 3, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    Player769

    This keep popping out for my last essential kit but config is fine please help!
    Code:
    # EssentialsX kit configuration.
    # If you don't have any kits defined in this file, the plugin will try to copy them from the config.yml
    
    # Note: All items MUST be followed by a quantity!
    # All kit names should be lower case, and will be treated as lower in permissions/costs.
    # Syntax: - name[:durability] amount [enchantment:level]... [itemmeta:value]...
    # For Item Meta information visit [URL]http://wiki.ess3.net/wiki/Item_Meta[/URL]
    # 'delay' refers to the cooldown between how often you can use each kit, measured in seconds.
    # Set delay to -1 for a one time kit.
    # For more information, visit [URL]http://wiki.ess3.net/wiki/Kits[/URL]
    kits:
      Member:
        delay: 43200
        items:
          - ironsword 1
          - stonepickaxe 1
          - stoneaxe 1
          - steak 10
          - chainhelmet 1
          - chainchestplate 1
          - chainleggings 1
          - chainboots 1
      Flame:
        delay: 43200
        items:
          - ironsword 1 sharpness:4
          - ironpickaxe 1 efficiency:2 durability:2
          - ironshovel 1 digspeed:2 
          - ironaxe 1 efficiency:2 
          - steak 20 
          - ironhelmet 1 protection:2 
          - ironchestplate 1 protection:2
          - ironleggings 1 protection:2
          - ironboots 1 protection:2
      Ember:
        delay: 43200
        items:
          - ironsword 1 sharpness:5 durability:3
          - ironpickaxe 1 efficiency:4 durability:5
          - ironshovel 1 digspeed:3 durability:5
          - ironaxe 1 efficiency:3 durability:5
          - steak 30
          - ironhelmet 1 protection:4 durability:2
          - ironchestplate 1 protection:4 durability:2
          - ironleggings 1 protection:4 durability:2
          - ironboots 1 protection:4 durability:2
          - ironingot 16
      Magma:
        delay: 43200
        items:
          - dsword 1 sharpness:2 durability:2
          - dpickaxe 1 efficiency:2 durability:2
          - dshovel 1 digspeed:1 durability:2
          - daxe 1 efficiency:2 durability:2
          - steak 40
          - dhelmet 1 protection:1 durability:2
          - dchestplate 1 protection:1 durability:2
          - dleggings 1 protection:1 durability:2
          - dboots 1 protection:1 durability:2
          - ironingot 32
      Inferno:
        delay: 43200
        items:    
          - dsword 1 sharpness:4 durability:3 looting:2 fireaspect:1
          - dpickaxe 1 efficiency:3 durability:5 fortune:1
          - dshovel 1 digspeed:2 durability:5 fortune:2
          - daxe 1 efficiency:3 durability:5
          - steak 50
          - dhelmet 1 protection:3 durability:4 aquainfinity:1
          - dchestplate 1 protection:3 durability:4
          - dleggings 1 protection:3 durability:4
          - dboots 1 protection:3 durability:4 featherfalling:1
          - ironingot 32
          - diamond 16
      Blaze:
       delay: 43200
       itmes:
          - dsword 1 sharpness:5 
          - dpickaxe 1 efficiency:5 durability:5 fortune:3
          - dshovel 1 digspeed:5 durability:5 fortune:2
          - daxe 1 efficiency:5 durability:5
          - steak 64
          - dhelmet 1 protection:5 durability:5 
          - dchestplate 1 protection:5 durability:5
          - dleggings 1 protection:5 durability:5
          - dboots 1 protection:5 durability:5 featherfalling:1
          - ironingot 32
          - diamond 32
     
    Last edited by a moderator: Aug 3, 2019
  2. Offline

    Machine Maker

    Which kit says that? Also if there is any console error, can you post that at https://pastebin.com
     
  3. Offline

    The_Xman249

    I'm not sure about all of the config but certaintly there is a problem with how you are defining kits.
    See here (from the header at the top):
    Code:
    # All kit names should be lower case
    As you can see here (first kit):
    Code:
    kits:
      Member:
    You have defined the kit 'Member' with an upper case which is mostlikely causing the error. The same goes for all the other kits in the config file.
     
Thread Status:
Not open for further replies.

Share This Page