Solved Task help.

Discussion in 'Plugin Development' started by Ibas, Jul 28, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Ibas

    task = this.getServer().getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
    public void run() {
    }
    },0, 1200L);

    What does mean that 0?
     
  2. Offline

    Rocoty

  3. Offline

    chasechocolate

    Ibas it's the delay before the task starts running. 0 means it will run immediately, 20 means it will run after 1 second, etc.
     
  4. Offline

    Alex5657

    Its the delay between the methods execution and the time (in ticks) the task will first execute.
     
Thread Status:
Not open for further replies.

Share This Page