From 08120c12a5cf2bec77a9f4d3f97150d165bb4e61 Mon Sep 17 00:00:00 2001 From: Scarsz Date: Sat, 28 Jun 2014 19:52:23 -0700 Subject: [PATCH] Update gmodserver --- GarrysMod/gmodserver | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 443a0fc15..e96d4a769 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -16,6 +16,11 @@ email="email@example.com" steamuser="anonymous" steampass="" +# Workshop Variables +# http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers +workshopauth="" +workshopcollectionid="" + # Start Variables defaultmap="gm_construct" maxplayers="16" @@ -26,7 +31,7 @@ ip="0.0.0.0" # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server fn_parms(){ -parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +host_workshop_collection ${workshopcollectionid} -authkey {workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" } #### Advanced Variables ####