Schedule tasks¶
Endstone provides a task scheduling system that allows plugins to schedule tasks for future execution, possibly at regular intervals. In this tutorial, we'll guide you on scheduling a straightforward task.
Here, we want an on-screen popup displaying "Hi!" to appear for every online player at a 1-second interval.
And that's it! The server will now send a "Hi" message to all players online at an interval of 20 ticks or approximately every second.