📜  如何制作 gmod 服务器 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:12.706000             🧑  作者: Mango

代码示例1
SERVER .BAT START FILE

@echo off
cls
echo Protecting srcds from crashes...
echo if you want to close scrds and this script type Y then enter
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game garrysmod +map rp_downtown_tits_v2 +maxplayers 30 -gamemode DarkRP +host_workshop_collection "paste collection key" -authkey 
echo (%time%) WARNING: srcds closed or crashed, restarting.