Hey guys I need some help. I just got my new dedicated server running and I want a certain kind of batch file.
OR at least the code for it. I need a batch file that will run as a watchdog kind of thing and, when my server crashes, restart it AS DARK RP. I found one that will start the server if it crashes but there is no way to tell it which gamemode to run. This is what it looks like:
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
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +map rp_c18_v1 +maxplayers 30
echo (%time%) WARNING: srcds closed or crashed, restarting.
OK so how can I tell it to run DArkRP when it restarts it? Whoever helps can be given free adminship to the server. Well at least the first few people who actually give me helpful information. Thanks!