From 83c17a48dd38fe1989f2d405f951e7490a12da31 Mon Sep 17 00:00:00 2001 From: Cypher100 Date: Sat, 23 Jun 2018 18:49:10 -0500 Subject: [PATCH] Use +maxplayers instead of -maxplayers Svencoop uses +maxplayers to specify max players, not -maxplayers. If -maxplayers is utilized, it will default to 2 slots regardless of specified players. --- lgsm/config-default/config-lgsm/svenserver/_default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/config-default/config-lgsm/svenserver/_default.cfg b/lgsm/config-default/config-lgsm/svenserver/_default.cfg index 455e170a1..7472e7e96 100644 --- a/lgsm/config-default/config-lgsm/svenserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/svenserver/_default.cfg @@ -17,7 +17,7 @@ maxplayers="16" ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters fn_parms(){ -parms="-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clientport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" +parms="-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clientport} +map ${defaultmap} +servercfgfile ${servercfg} +maxplayers ${maxplayers}" } #### LinuxGSM Settings ####