# new BukkitRunnable(){ @Override public void run() { player.sendMessage("Loop ran); } }.runTaskTimer((Plugin) this,0L, 20L);