(Linux) Cron Script for Crash detection/Auto Restart.

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Stuferus

New Member
Jul 29, 2019
12
0
0
hi,

ill used board and google search and could not find anything useful.

im looking for a idea/script to auto restart ftb 1.7.10 dw20 pack if it crashes.

i dont want to babysit it all day.

thx
 

Shadowzfire

New Member
Jul 29, 2019
46
0
0
My serverstart bat contains a auto-restart script:
:mine
echo (%time%) Minecraft Server initiated.

start /B /WAIT java blah blah blah

echo (%time%) WARNING: Minecraft_Server closed or crashed, restarting.
ping 127.0.0.1 -n 30
goto mine