This script was made for minecraft server
@echo off
cls
echo This script will keep your server running even after crashing!
title BetterRun.bat by Tedd
:StartServer
start /wait java -jar YOURSERVER.jar
echo (%time%) Server closed/crashed... restarting!
goto StartServer
- Head over to the releases page
- Download the release (ex. v1.0)
- Open the file up and change
YOURSERVER
to the spigot filename. - Make sure you place this
run.bat
near your spigot server file. - Run
run.bat
to start the script.
Do not turn off the script, or the script will not open the server automatically.
- RGA Minecraft: Profile
- Thread: Start.bat code