Steps to run your gmod server correctly :
1-Create Start.txt
2- Open &Edit Start.txt (Using bloc-note, I prefer usingnotepad++)
3- Copy & Paste the following:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +gamemode sandbox +map gm_construct +maxplayers 12
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Customize the orange section as you want,you can add more stuff but I keptit simple <3
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +gamemode sandbox +map gm_construct +maxplayers 12
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Customize the orange section as you want,you can add more stuff but I keptit simple <3
4- Save Start.txt as .bat file (Batch file)
5- Launch your server with the Start.bat,ENJOY!
Note : If you have Linux,check this linux-forum about running bat files in linux:Click me
HOPE THIS HELPS! :peace: