From 61e83b46335f39a965ddb00bd5113e21f8f0ff9c Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 9 Dec 2015 21:59:16 +0000 Subject: [PATCH] added tf2server GSLT --- TeamFortress2/tf2server | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index b40840dd1..72518f287 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="291015" +version="091215" #### Variables #### @@ -25,9 +25,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 tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables ####