I'm creating a minigame plugin and I thought of a small hack that might allow me to restart the server without stopping the server and editing the server bat file to make it loop back to the start and start it again. Wouldn't it be possible to do this: I use ping to make it sleep for 15 seconds before starting the server up again. Code (Text): Runtime r = Runtime.getRuntime(); r.exec("ping -n 15 localhost>nul\njava -Xmx12288M -Xms512M -jar spigot.jar -log-strip-color"); Bukkit.getServer().shutdown(); My questions: Will it even work? Is there a better way to do this? [Edit] I'm at school at the moment so I can't test my self. But if anyone wants to see if this little hack would work, feel free. I think it'd be really useful.