hello I want to know how I could do a countdown to 24h. I had thought of putting the seconds minutes and hours in different variables. And then when the three variables are 0 to perform action. But you could not tell me how someone can do with the tick?
You can look at my plugin RestartMe, it utilizes a timer that counts down. But please don't copy the code, try to understand it instead! https://github.com/Gamecrafter/PocketMine-Plugins/tree/master/RestartMe Leave a like if this helped!