Need help with Essentials Kits..?

Discussion in 'Bukkit Help' started by gkovr, Feb 18, 2012.

  1. Offline

    gkovr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    First time poster, but anyways I am setting up my server at the moment but I need it so that people can access kits every 24 hours. I figured out how to set the kits up, and how to give them to certain groups of people but how do I set a cooldown period?
  2. Offline

    JWhy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Code:
    kits:
      tools:
        delay: 10
        items:
          - 277 1
    Thats the standard kit in the essentials config.yml. So you should set the delay to 24h in seconds:

    Code:
    kits:
      awesomekit:
        delay: 86400
        items:
          - 277 1
    (86400 seconds = 24 hours)
  3. Offline

    gkovr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Okay thank you, I can get one kit working for sure with the correct time but now when I attempt the add a kit in Np ++ the text gets red when I attempt to add a second one.

    Code:
    kits:
      tools:
        delay: 10
        items:
          - 270 1
          - 363 1
          - 50 2
     
      dirt:
        delay: 10
        items:
          - 2 1
    from the second "items" and down it is just red, and when i save and reload it reverts to the original config file, deleting all of my changes. Any reason why it would do this?
  4. Offline

    JWhy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Then you break the YAML rules... never use <TAB>-key, use <space>-key instead of it. (replace tabs by spaces, where its red)
  5. Offline

    messageofdeath

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    never use the tab key ever in a yaml file only use tabs in notepad++ if you have the right settings configured...

Share This Page