So, what I'm trying to do the last days, was to make a plugin that restarts the server automatically per command after a specific time, but without editing the start batch file. I knew that there was a /restart command in the game. For me the /restart command works great. So what I did, was to combine the /restart command from the game with a timer. Now here is the problem: When the timer hits a specific value, the server performs: Bukkit.dispatchCommand(Bukkit.getServer().getConsoleSender(), "restart"); When I look into the console nothing happens. No error, no message, server is not frozen... (even wih try/catch) I only see my debug test messages before and after the code. By the way, if you know a better way, to restart the server without editing the batch file, just let me know. Thanks in advance, Jxlly.