I am trying to make a Championships kind of plugin where there is a start-game command that starts the game after counting down from 10. However, I cannot find a way to wait 1 second as an interval in the countdown. I have tried Object.wait(long) and BukkitScheduler.setRepeatingDelayedTask() but neither of them are working out for me (object.wait() returns java.lang.IllegalMonitorStateException: current thread is not owner and BukkitScheduler.setRepeatingDelayedTask() errors in my editor). Anyone know a workaround to this?