Browse Source

fix(doiserver): refactor workshop support (#2511)

pull/2519/head
Frisasky 6 years ago
committed by Daniel Gibbs
parent
commit
316a2ba9a5
  1. 5
      lgsm/config-default/config-lgsm/doiserver/_default.cfg

5
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 ####

Loading…
Cancel
Save