From b4a377549084cdb4a05a5d618cc7785959b5a3ef Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Tue, 15 Mar 2016 18:03:32 +0100 Subject: [PATCH] Update gmodserver --- GarrysMod/gmodserver | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 879cd1d01..994a5bb67 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -35,7 +35,13 @@ port="27015" sourcetvport="27020" clientport="27005" ip="0.0.0.0" +tickrate="66" updateonstart="off" +consolelogging="on" + +# 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 # GSLT can be used for running a public server. @@ -44,7 +50,7 @@ gslt="" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server 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 ####