I'm coding a plugin for the hungergames, and It works really well, but there is one problem. It is REALLY unstable. It is giving errors in the repeating sheduler threads. They are async threads, and what they do is checking if somebody is still alive, editing signs, checking people in a certain area and shooting lightning at the ground. How can I do these things at certain sheduled times withouth using them in the particular thread, because I guess the methods I'm using aren't really "thread safe"
if theyre not thread safe, use the main server thread with Bukkit.getScheduler().scheduleSyncRepeatingTask(plugin, task, delay, period);