Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to you sent cooldowns?

Comments in 'Plugin Development' started by Boltingthunder, Feb 16, 2015.

  1. Boltingthunder
    Offline

    Boltingthunder New Member

    Joined:
    Jan 18, 2015
    Posts:
    20
    Minecraft User:
    Bolting_Thunder
    I'm not sure if anyone brought this up before me but, how do you set cool downs?
  2. PixelGuy75
    Offline

    PixelGuy75 Notable Member Plugin Developer

    Joined:
    Feb 9, 2014
    Posts:
    316
    Plugins:
    2
    Minecraft User:
    PixelGuy75
    Cool downs for what?
  3. Boltingthunder
    Offline

    Boltingthunder New Member

    Joined:
    Jan 18, 2015
    Posts:
    20
    Minecraft User:
    Bolting_Thunder
    Example: Kits, you could have some sort of ability, but I want that specific ability to cool down.


    (In title I meant set not Sent, my bad.)
  4. hoyinm14mc
    Offline

    hoyinm14mc Notable Member Plugin Developer

    Joined:
    Jun 4, 2014
    Posts:
    501
    Plugins:
    9
    Minecraft User:
    hoyinm14mc
    Use scheduler, or data provider. See essentialsTP for samples
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    If you mean to set the time for damage immunity, look at the part of the LegionPE code I posted yesterday.
  6. Boltingthunder
    Offline

    Boltingthunder New Member

    Joined:
    Jan 18, 2015
    Posts:
    20
    Minecraft User:
    Bolting_Thunder
    Not quite, just like in BattleArena, they have the cool down to one of their kits.

Share This Page

Advertisement