Hey I need to create events that happen at various times within my plugin. For example a player will use a command that will initiate a timer, when that time is reached the plugin will do something. In addition I will also need events that just happen say every 30 minutes without being initiated by a plugin. Is there some kind of Time Listener or something? I don't know how I would achieve this or implement this. I really just need someone to point me in the right direction in terms of an api class or structure as I don't understand how I could do it with the default plugin structure or listeners. Thanks
I would really suggest using a scheduler. http://wiki.bukkit.org/Scheduler_Programming Just remember that 20 ticks = 1 second