1Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
2 @Override
3 public void run() {
4 Bukkit.broadcastMessage("This message is shown after one second");
5 }
6}, 20L); //20 Tick (1 Second) delay before run() is called