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

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

    Code (Text):
    1. kits:
    2.   awesomekit:
    3.     delay: 86400
    4.     items:
    5.       - 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 (Text):
    1. kits:
    2.   tools:
    3.     delay: 10
    4.     items:
    5.       - 270 1
    6.       - 363 1
    7.       - 50 2
    8.  
    9.   dirt:
    10.     delay: 10
    11.     items:
    12.       - 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

    My BukkitDev Profile
    My Plugins (2)
    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

    My BukkitDev Profile
    My Plugins (4)
    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