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

Schedule

Comments in 'Plugin Development' started by Lambo, Apr 19, 2014.

  1. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    Hi guys,

    Right now I am working on a spleef plugin, and I want that when 2 players are in a arena, it says "[Spleef] Match starting in 1 minute" and then, I want it too wait one minute before I run a function to start the match. Although, schedule does something over and over again, right? And how do you even use schedule?

    Thanks.
  2. Nautox
    Offline

    Nautox Banned

    Joined:
    Mar 29, 2014
    Posts:
    8
    Minecraft User:
    Nautox
  3. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    What is the 1200 for in the init?
  4. Nautox
    Offline

    Nautox Banned

    Joined:
    Mar 29, 2014
    Posts:
    8
    Minecraft User:
    Nautox
    That are the ticks, 20 Ticks = 1 second 1200 ticks = 1 minute
    PEMapModder likes this.
  5. BlinkSun
    Offline

    BlinkSun Active Member Plugin Developer

    Joined:
    Mar 26, 2014
    Posts:
    128
    Plugins:
    4
    Minecraft User:
    BlinkSun
  6. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
  7. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    431
    Plugins:
    4
    Minecraft User:
    Lambo
    Thank you!

Share This Page

Advertisement