Plugin Help Essentials kit doesn't work correctly

Discussion in 'Plugin Help/Development/Requests' started by StanleyMCS, Aug 27, 2015.

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

    StanleyMCS

    Hi there!

    I've made some essentials kit, and I can reload essentials without any problems.
    My server is seeing all kits, and kit 1 works perfectly.

    But when I want kit 2, the server gives me kit 1+2.
    When I want kit 3, the server gives me kit 1+2+3.
    This continues untill the last kit.

    Can somebody help me please ?

    Code:
    kits:
      starter:
        delay: 600
        items:
          - 298 1
          - 299 1
          - 300 1
          - 301 1
          - 272 1
          - 274 1
          - 275 1
          - 273 1
          - 291 1
          - 17 32
          - 364 32
    
      itools:
        delay: 1800
        items:
          - 267 1
          - 257 1
          - 258 1
          - 256 1
          - 292 1
      iarm:
        delay: 1800
        items:
          - 306 1
          - 307 1
          - 308 1
          - 309 1
      iblocks:
        delay: 7200
        items:
          - 42 10
      cblocks:
        delay: 7200
        items:
          - 173 10
      dtools:
        delay: 7200
        items:
          - 276 1
          - 278 1
          - 279 1
          - 277 1
          - 293 1
      darm:
        delay: 7200
        items:
          - 310 1
          - 311 1
          - 312 1
          - 313 1
      scout:
        delay: 7200
        items:
          - 306 1
          - 307 1
          - 308 1
          - 309 1
          - 267 1
          - 257 1
          - 258 1
          - 256 1
          - 292 1
          - 364 32
          - 333 5
          - 373:8258 1
          - 373:8205 1
      premium:
        delay: 21600
        items:
          - 276 1 {display:{Name:"Premium Sword"},ench:[{id:16,lvl:2},{id:34,lvl:1}]}
          - 310 1 {display:{Name:"Premium Helmet"},ench:[{id:0,lvl:2},{id:34,lvl:1}]}
          - 311 1 {display:{Name:"Premium Chestplate"},ench:[{id:0,lvl:2},{id:34,lvl:1}]}
          - 312 1 {display:{Name:"Premium Leggings"},ench:[{id:0,lvl:2},{id:34,lvl:1}]}
          - 313 1 {display:{Name:"Premium Boots"},ench:[{id:0,lvl:2},{id:34,lvl:1}]}
      dblocks:
        delay: 7200
        items:
          - 57 10
      elite:
        delay: 28800
        items:
          - 276 1 {display:{Name:"Elite Sword"},ench:[{id:16,lvl:3},{id:34,lvl:2}]}
          - 310 1 {display:{Name:"Elite Helmet"},ench:[{id:0,lvl:3},{id:34,lvl:2}]}
          - 311 1 {display:{Name:"Elite Chestplate"},ench:[{id:0,lvl:3},{id:34,lvl:2}]}
          - 312 1 {display:{Name:"Elite Leggings"},ench:[{id:0,lvl:3},{id:34,lvl:2}]}
          - 313 1 {display:{Name:"Elite Boots"},ench:[{id:0,lvl:3},{id:34,lvl:2}]}
      vip:
        delay: 43200
        items:
          - 276 1 {display:{Name:"VIP Sword"},ench:[{id:16,lvl:3},{id:20,lvl:1},{id:34,lvl:3}]}
          - 261 1 {display:{Name:"VIP Bow"},ench:[{id:48,lvl:3},{id:49,lvl:1},{id:34,lvl:2}]}
          - 310 1 {display:{Name:"VIP Helmet"},ench:[{id:0,lvl:3},{id:7,lvl:1},{id:34,lvl:3}]}
          - 311 1 {display:{Name:"VIP Chestplate"},ench:[{id:0,lvl:3},{id:7,lvl:1},{id:34,lvl:3}]}
          - 312 1 {display:{Name:"VIP Leggings"},ench:[{id:0,lvl:3},{id:7,lvl:1},{id:34,lvl:3}]}
          - 313 1 {display:{Name:"VIP Boots"},ench:[{id:0,lvl:3},{id:7,lvl:1},{id:34,lvl:3}]}
          - 262 64
      overlord:
        delay: 43200
        items:
          - 276 1 {display:{Name:"Overlord Sword"},ench:[{id:16,lvl:5},{id:20,lvl:2},{id:34,lvl:3}]}
          - 261 1 {display:{Name:"Overlord Bow"},ench:[{id:48,lvl:4},{id:49,lvl:2},{id:50,lvl:1},{id:34,lvl:3}]}
          - 310 1 {display:{Name:"Overlord Helmet"},ench:[{id:0,lvl:4},{id:1,lvl:2},{id:7,lvl:2},{id:34,lvl:3}]}
          - 311 1 {display:{Name:"Overlord Chestplate"},ench:[{id:0,lvl:4},{id:1,lvl:2},{id:7,lvl:2},{id:34,lvl:3}]}
          - 312 1 {display:{Name:"Overlord Leggings"},ench:[{id:0,lvl:4},{id:1,lvl:2},{id:7,lvl:2},{id:34,lvl:3}]}
          - 313 1 {display:{Name:"Overlord Boots"},ench:[{id:0,lvl:4},{id:1,lvl:2},{id:7,lvl:2},{id:34,lvl:3}]}
          - 262 64
      legend:
        delay: 43200
        items:
          - 276 1 {display:{Name:"Legend Sword"},ench:[{id:16,lvl:5},{id:17,lvl:5},{id:21,lvl:3},{id:20,lvl:2},{id:34,lvl:3}]}
          - 261 1 {display:{Name:"Legend Bow"},ench:[{id:48,lvl:5},{id:49,lvl:2},{id:50,lvl:2},{id:51,lvl:1},{id:34,lvl:3}]}
          - 310 1 {display:{Name:"Legend Helmet"},ench:[{id:0,lvl:4},{id:1,lvl:4},{id:3,lvl:4},{id:6,lvl:1},{id:7,lvl:3},{id:34,lvl:3}]}
          - 311 1 {display:{Name:"Legend Chestplate"},ench:[{id:0,lvl:4},{id:1,lvl:4},{id:3,lvl:4},{id:7,lvl:3},{id:34,lvl:3}]}
          - 312 1 {display:{Name:"Legend Leggings"},ench:[{id:0,lvl:4},{id:1,lvl:4},{id:3,lvl:4},{id:7,lvl:3},{id:34,lvl:3}]}
          - 313 1 {display:{Name:"Legend Boots"},ench:[{id:0,lvl:4},{id:1,lvl:4},{id:3,lvl:4},{id:2,lvl:4},{id:7,lvl:3},{id:34,lvl:3}]}
          - 322:1 10
          - 373:8229 5
          - 262 64
      ltools:
        delay: 43200
        items:
          - 278 1 {display:{Name:"Legend Pickaxe"},ench:[{id:32,lvl:5},{id:35,lvl:3},{id:33,lvl:1},{id:34,lvl:3}]}
          - 279 1 {display:{Name:"Legend Axe"},ench:[{id:32,lvl:5},{id:35,lvl:3},{id:33,lvl:1},{id:34,lvl:3}]}
          - 277 1 {display:{Name:"Legend Shovel"},ench:[{id:32,lvl:5},{id:35,lvl:3},{id:33,lvl:1},{id:34,lvl:3}]}
      raid:
        delay: 43200
        items:
          - 46 64
          - 331 64
          - 4 64
          - 356 10
          - 326 2
          - 77 10
          - 44:3 10
    Thanks in advance!
     
  2. Offline

    StanleyMCS

    Thanks for your help, but I still don't know what I've done wrong in my config file :(
     
  3. @StanleyMCS The json as said above.

    A line from the config
    Code:
    {display:{Name:"Premium Sword"},ench:[{id:16,lvl:2},{id:34,lvl:1}]}
     
  4. Offline

    StanleyMCS

    do you mean I should replace all the item names and enchants with this kind ?
    Code:
          - 278 1 efficiency:1 durability:1 fortune:1 name:&4Gigadrill lore:The_drill_that_&npierces|the_heavens
     
  5. Offline

    StanleyMCS

    EDIT:

    I'm using my first config and right now I know what the problem is.
    My config is perfectly fine.. but the reason why all the kits were messing up, was gamemode 1.

    After I changed my gamemode to Survival, all kits are working fine! :D
     
    Last edited: Aug 28, 2015
  6. Offline

    Boomer

    <Removed post, wrong question>
     
Thread Status:
Not open for further replies.

Share This Page