what to put on plugin in run tast timer for this bukkit code example
Example: bukkit scheduled task
Bukkit.getScheduler().scheduleSyncRepeatingTask(instance, new Runnable() {
@Override
public void run() {
//Your Code Here
}
}, 0L, 20L);
Bukkit.getScheduler().scheduleSyncRepeatingTask(instance, new Runnable() {
@Override
public void run() {
//Your Code Here
}
}, 0L, 20L);