ソースを参照

Set the password as a travel parameter

According to the doc, `password` is a travel parameter and not a command line argument.
Guillaume Migeon 7 年 前
コミット
0a42c4d301
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lgsm/config-default/config-lgsm/inssserver/_default.cfg

+ 1 - 1
lgsm/config-default/config-lgsm/inssserver/_default.cfg

@@ -21,7 +21,7 @@ maxplayers="28"
 
 ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
 fn_parms(){
-parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}  -password=${serverpassword} -hostname='${servername}' -log"
+parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password=${serverpassword} -hostname='${servername}' -log"
 }
 
 #### LinuxGSM Settings ####