From 469fd3deea1aa5834cb1cc3335c3f684525cf3be Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 10 Jan 2016 11:05:05 +0000 Subject: [PATCH] Added GSLT support --- BrainBread2/bb2server | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BrainBread2/bb2server b/BrainBread2/bb2server index fc93b31b5..4ae9489f5 100644 --- a/BrainBread2/bb2server +++ b/BrainBread2/bb2server @@ -31,9 +31,14 @@ clientport="27005" ip="0.0.0.0" updateonstart="off" +# Required: Game Server Login Token +# GSLT is required 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 brainbread2 -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game brainbread2 -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables ####