|
|
@@ -9,7 +9,7 @@ if [ -f ".dev-debug" ]; then
|
|
|
set -x
|
|
|
fi
|
|
|
|
|
|
-version="210516"
|
|
|
+version="130716"
|
|
|
|
|
|
#### Variables ####
|
|
|
|
|
|
@@ -38,9 +38,14 @@ clientport="27005"
|
|
|
ip="0.0.0.0"
|
|
|
updateonstart="off"
|
|
|
|
|
|
+# Optional: Game Server Login Token
|
|
|
+# GSLT can be used for running a public server.
|
|
|
+# More info: https://gameservermanagers.com/gslt
|
|
|
+gslt=""
|
|
|
+
|
|
|
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
|
|
|
fn_parms(){
|
|
|
-parms="-game nmrih -insecure -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
|
|
|
+parms="-game nmrih -insecure -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
|
|
|
}
|
|
|
|
|
|
#### Advanced Variables ####
|