Introduction: How to Make Your Minecraft Server Auto-restart After Crash

Picture of How to Make Your Minecraft Server Auto-restart After Crash

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:


LukeW93 (author)2017-09-12

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

LegoMaster1031 (author)2016-11-08

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

LegoMaster1031 (author)2016-10-16

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

About This Instructable



Bio: 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 ... More »
More by LegoMaster1031:MCPE 0.16.0 Tips and TricksHow to Make Your Minecraft Server Auto-restart After CrashCode Your Minecraft Server (PC)
Add instructable to: