|
@@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then
|
|
|
set -x
|
|
set -x
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
-version="190216"
|
|
|
|
|
|
|
+version="130316"
|
|
|
|
|
|
|
|
#### Variables ####
|
|
#### Variables ####
|
|
|
|
|
|
|
@@ -35,8 +35,13 @@ port="27015"
|
|
|
sourcetvport="27020"
|
|
sourcetvport="27020"
|
|
|
clientport="27005"
|
|
clientport="27005"
|
|
|
ip="0.0.0.0"
|
|
ip="0.0.0.0"
|
|
|
|
|
+tickrate="66"
|
|
|
updateonstart="off"
|
|
updateonstart="off"
|
|
|
|
|
|
|
|
|
|
+# Custom Start Parameters
|
|
|
|
|
+# Default +r_hunkalloclightmaps 0, fixes a start issue on maps with many lights
|
|
|
|
|
+customparms="+r_hunkalloclightmaps 0"
|
|
|
|
|
+
|
|
|
# Optional: Game Server Login Token
|
|
# Optional: Game Server Login Token
|
|
|
# GSLT can be used for running a public server.
|
|
# GSLT can be used for running a public server.
|
|
|
# More info: http://gameservermanagers.com/gslt
|
|
# More info: http://gameservermanagers.com/gslt
|
|
@@ -44,7 +49,7 @@ gslt=""
|
|
|
|
|
|
|
|
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
|
|
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
|
|
|
fn_parms(){
|
|
fn_parms(){
|
|
|
-parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
|
|
|
|
|
|
|
+parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate {tickrate} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#### Advanced Variables ####
|
|
#### Advanced Variables ####
|