Bukkit scheduler - remaing time

Discussion in 'Plugin Development' started by matejdro, Jan 10, 2012.

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

    matejdro

    Is there a way to get after how much time will task be started?

    So I schedule task and store id. Then after some time I check it, and it would tell me how much time (ticks) remain until launching this task.
     
  2. Store the time when you started the task and then subtract that from the current time, if you either store ticks or actual seconds is up to you.
     
    WizzleDonker likes this.
Thread Status:
Not open for further replies.

Share This Page