bukkit scheduler
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
public void run() {
}
}, 20, 20);
bukkit scheduler
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
public void run() {
}
}, 20, 20);
spigot run task later
// 20L = 1 Second
Bukkit.getScheduler().runTaskLater(main, new Runnable() {
public void run() {
System.out.println("Plugin has been enabled for 5 seconds!");
}
}, 100L);
bukkit scheduled task
Bukkit.getScheduler().scheduleSyncRepeatingTask(instance, new Runnable() {
@Override
public void run() {
//Your Code Here
}
}, 0L, 20L);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us