© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
AdmincraftA
Admincraft•8mo ago•
8 replies
RedStrider

Auto restart server after crash

Hi, I selfhost a private 1.21.1 Fabric server on Windows 10.

The average uptime on my server isn't great, and I'm going to be away from my computers for a week so I won't be able to log in to fix it when it goes down this time. So is there a way to automatically restart the server after it goes down? I've tried a couple methods with .bat files but the methods I tried didn't work, or still required me to manually press a key to continue after a crash.

Bonus: Is there also a way to automatically stop and restart the server every say, 3 days(for stability)?
Solution
https://flags.sh
flags.sh
flags.sh
A simple script generator to start your Minecraft servers with optimal flags.
flags.sh
Jump to solution
AdmincraftJoin
10,704Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Velocity auto restart
AdmincraftAAdmincraft / questions
13mo ago
Server Crash after adding Aether expansions?
AdmincraftAAdmincraft / questions
2y ago
Server restart script
AdmincraftAAdmincraft / questions
3y ago
Auto restart for fabric (1.20.1) server on linux
AdmincraftAAdmincraft / questions
11mo ago