How to Make Your Minecraft Server Auto-restart After Crash

About: I enjoy doing things with legos, and am now learning how to code apps to Android. If you have any requests, comment. I have a Minecraft server (Doghouseservers), and my age is 10.

OK. Lets say you own a Minecraft server full of crazy, faithful ops who try to help but end up crashing your Minecraft server. I can solve that so your server will start up in 10 seconds after the crash. Lets start of by editing our start.bat, launch.bat, or the windows batch file you named. Right click the file, click edit, and you'll see a bunch of jibberish you possibly don't even understand. Now, highlight that, and copy and paste this code in its place (this is the code I use):


java.exe -Xms3072m -Xmx3072m -Dlog4j.configurationFile=log4j2.xml -jar craftbukkit.jar -o true

timeout 10

echo resuming server...

goto begin


Now, start your server, and try to type in 'stop' in your cmd prompt. Let the timer count down, and the server will start again! I apologize for not very many pictures, but please leave a like, and possibly join my server at:



    • Paper Contest

      Paper Contest
    • Faux-Real Contest

      Faux-Real Contest
    • Organization Contest

      Organization Contest

    3 Discussions


    1 year ago

    Why do you need to wait 10 seconds could you do it imediatly?


    2 years ago

    Don't pay attention to the left screen. I have dual monitors


    2 years ago

    I hope you like this tutorial enough to comment and share your thoughts!