if((p.isOp() || p.hasPermission("sg.system.updatenotify")) && SettingsManager.getInstance().getConfig().getBoolean("check-for-update", true)){
Bukkit.getServer().getScheduler().scheduleAsyncDelayedTask(plugin, new Runnable() {
public void run() {
System.out.println("[SG]Checking for updates");
new UpdateChecker().check(p, plugin);
}
}, 60L);
}
}