-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Minecraft Version
1.20.1
Minecraft Forge Version
47.3.0
Mod Version
2.0.2
Describe the bug
Auto Restarting has stopped working, used to work fine, but lately it just stops the server, and the gui freezes, but doesn't actually restart, just gets stuck on trying to restart for a minute then stops.


sometimes im able to press the exit on cmd windows, it comes up do i want to terminate batch job y/n?
if i do n, then it will acually run the restart of the server.
Expected behavior
expected behavior is for the server to restart
Steps to reproduce
wait for auto restart time or /restart command
References (optional)
changed it to .json to be able to add it here
auto_restart-server.json
restart_start . cmd file:
cd "C:\Users\User\Desktop\The LAN pack v4 server\The LAN Pack V4 Server"
start .\restart_loop.cmd
restart_loop .cmd file:
echo OFF
:start
java -javaagent:log4jfix/Log4jPatcher-1.0.0.jar -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+UnlockExperimentalVMOptions -Xms6G -Xmx12G @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.3.0/win_args.txt
SET /p should_restart=<./auto_restart/restart
if %should_restart% EQU 0 goto stop
echo If you want to stop the server completely, press STRG-C, \before the countdown is at 1!
echo Rebooting in:
timeout /T 5 /nobreak
echo 'Server restarts!'
goto start
:stop
Additional info (optional)
No response