Looking for a script that auto starts my Unleashed server when it crashes on Ubuntu

  • 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

ShoxX304

New Member
Jul 29, 2019
3
0
0
I was using RemoteToolkit for that while i was using Spigot. I think it will works also on Vanilla Servers.
 

cjm721

New Member
Jul 29, 2019
734
0
1
And if you read the thread it works with vanilla servers just the plugin that detects if the server is frozen will not work. So if the server physicaly crashes to killing the thread RemoteToolKit will restart the server.
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
I would recommend RemoteToolkit, I've been using it since I hosted FTBBetaA. Crash detection improves if you are able to run the provided Bukkit plugin using MCPC+, which enables it to detect crashes where the minecraft process does not terminate. With a pure Forge server it will still be able to restart the server whenever the minecraft process terminates, and can also automate timed restarts. If the server does crash without terminating, it will still be forced to terminate and start again after a scheduled restart from RemoteToolkit which can minimise downtime.

Unlike some other server wrappers, RemoteToolkit is nice and lightweight, using about 30MB of memory by default.
 

Mr Chris

New Member
Jul 29, 2019
51
0
0
I've written a slightly ghetto script for the server I work with that uses the bukkit plugin JSONAPI as well as the MulticraftAPI to detect and restart the server as well as email the crash log to senior staff.

curl http://link to jsonapi php script that checks server status
If curl returns null then
curl http://link to multicraft php script that sends restart

I have this cron'd to run and it works perfectly. Should be doable with mcma API as well.