From 9e856b9d90b6e54eb37c5140ab994cbf67805b95 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 7 Feb 2016 22:20:30 +0000 Subject: [PATCH] Added GSLT for blackmesa --- BlackMesa/bmdmserver | 7 ++++++- BrainBread2/bb2server | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/BlackMesa/bmdmserver b/BlackMesa/bmdmserver index 7601f826a..d31b067fc 100644 --- a/BlackMesa/bmdmserver +++ b/BlackMesa/bmdmserver @@ -31,9 +31,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: http://gameservermanagers.com/gslt +gslt="" + # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ -parms="-game bms -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game bms -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables #### diff --git a/BrainBread2/bb2server b/BrainBread2/bb2server index a78fdbc5a..df17a46f9 100644 --- a/BrainBread2/bb2server +++ b/BrainBread2/bb2server @@ -31,8 +31,8 @@ clientport="27005" ip="0.0.0.0" updateonstart="off" -# Required: Game Server Login Token -# GSLT is required for running a public server. +# Optional: Game Server Login Token +# GSLT can be used for running a public server. # More info: http://gameservermanagers.com/gslt gslt=""