From 316a2ba9a5b543cc78c0cc10067f9f412b0238c0 Mon Sep 17 00:00:00 2001 From: Frisasky Date: Sat, 21 Sep 2019 04:47:01 +0800 Subject: [PATCH] fix(doiserver): refactor workshop support (#2511) --- lgsm/config-default/config-lgsm/doiserver/_default.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lgsm/config-default/config-lgsm/doiserver/_default.cfg b/lgsm/config-default/config-lgsm/doiserver/_default.cfg index 59531d02d..279444eef 100644 --- a/lgsm/config-default/config-lgsm/doiserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/doiserver/_default.cfg @@ -13,14 +13,13 @@ ip="0.0.0.0" port="27015" clientport="27005" sourcetvport="27020" -defaultmap="bastogne" +defaultmap="bastogne stronghold" maxplayers="32" tickrate="64" -workshop="0" ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters fn_parms(){ -parms="-game doi -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers} +sv_workshop_enabled ${workshop}" +parms="-game doi -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers} -workshop" } #### LinuxGSM Settings ####