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

ScheduleDelayedRepeatingTask

Comments in 'Plugin Development' started by RekkuzaRage, Jun 1, 2015.

  1. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    251
    Minecraft User:
    RekkuzaRage
    How does ScheduleDelayedRepeatingTask work? I haven't seen plugins using them. Can someone explain?
  2. Gamecrafter
    Offline

    Gamecrafter Notable Member Plugin Developer

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Easy. You can't get the concept down? Combine what scheduleDelayedTask does and what scheduleRepeatingTask does and you get what scheduleDelayedRepeatingTask does.
  3. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    251
    Minecraft User:
    RekkuzaRage
    I don't know how DelayedTask works. Just RepeatingTask. Explaination?
  4. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    A delayed task executes code after n ticks.
    A repeating task executes code every n ticks.
    A delayed repeating task executes code after m ticks and then every n ticks.

    It would be like if you created a delayed task which started a repeating task.
    PEMapModder, iJoshuaHD and luca28pet like this.
  5. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    251
    Minecraft User:
    RekkuzaRage
    Could you show me an example for delayed task?
  6. Gamecrafter
    Offline

    Gamecrafter Notable Member Plugin Developer

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Why don't you look around? People have asked about the same thing you're asking. Just use the search bar for once. If you can't find it, then I might help you.
    iJoshuaHD likes this.
  7. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    251
    Minecraft User:
    RekkuzaRage
    I wouldn't have created this thread if there was more information/threads on this. People seem to ask about repeating task more often.
  8. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,196
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    PEMapModder likes this.
  9. Gamecrafter
    Offline

    Gamecrafter Notable Member Plugin Developer

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9

Share This Page

Advertisement