Original post · 5y ago#1
Read the full articleRead the full article
The files should be self-explanatory.
If you want your server to restart after the script closes it,
add this into your starter .bat file :
Example full batch file :
Let me know if you encounter any problems, i will try to help.
The files should be self-explanatory.
If you want your server to restart after the script closes it,
add this into your starter .bat file :
@echo off
cls
:start
echo Starting server...
YOUR OWN BATCH COMMANDS HERE
echo.
echo Restarting server...
echo.
goto startExample full batch file :
@echo off
cls
:start
echo Starting server...
cd /d C:\Users\Admin\Desktop\MYSERVER\server-data
C:\Users\Admin\Desktop\Desktop\MYSERVER\FXServer.exe +exec server.cfg +set onesync on
echo.
echo Restarting server...
echo.
goto startLet me know if you encounter any problems, i will try to help.
13 replies