Skip to content

1.18.x and above scripts

Sydney edited this page Nov 10, 2022 · 1 revision

Windows Sample Script

:start
java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.84/win_args.txt %*
echo Restarting in 5...
sleep 1
echo Restarting in 4...
sleep 1
echo Restarting in 3...
sleep 1
echo Restarting in 2...
sleep 1
echo Restarting in 1...
sleep 1
echo Restarting now!...
sleep 1
goto start
pause

Linux Sample Script

while true;
do

java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19.2-43.1.52/unix_args.txt "$@"

echo Restarting in 5...
sleep 1
echo Restarting in 4...
sleep 1
echo Restarting in 3...
sleep 1
echo Restarting in 2...
sleep 1
echo Restarting in 1...
sleep 1

done 
Clone this wiki locally