Hello! I'm currently working on my first plugin and have ran into the following issue. I am using the BarAPI to count down the time until a task is run (begun by runTaskLater()) and I need the boss bar to accurately depict when the task will occur. I have successfully implemented this for the basic case, however, this boss bar is not to be always visible. This boss bar is to only show when the player teleports into the world in which the task will occur. So, while I can accurately estimate the time that will pass until the task will run from the beginning, I have no way of measuring how long it will take until the task will be run if a player teleports in the middle of the waiting sequence. There are two major solutions to this problem. I can 1). Measure the server time at the point where I call runTaskLater() and compare this to the time the player teleports into the world of the task 2). Perhaps somehow ask the scheduler how many ticks away from executing a particular task is. I am aware that I can measure time with the system time, however this is not in ticks and could lead to inaccuracies. While the inaccuracies may be small, this task could be delayed for hours, or even days, so even the slightest inaccuracies could mess up the time measurement. I've done some scouting around the API as well as these forums and haven't found the information I am looking for. For those who don't like to read, my question is this: How do I accurately measure the server's tick time?