|
@@ -102,11 +102,11 @@ fn_info_game_armar() {
|
|
|
servername="${unavailable}"
|
|
servername="${unavailable}"
|
|
|
serverpassword="${unavailable}"
|
|
serverpassword="${unavailable}"
|
|
|
else
|
|
else
|
|
|
- adminpassword=$(jq -r '.adminPassword' "${servercfgfullpath}")
|
|
|
|
|
|
|
+ adminpassword=$(jq -r '.game.passwordAdmin' "${servercfgfullpath}")
|
|
|
battleeyeport=1376
|
|
battleeyeport=1376
|
|
|
- configip=$(jq -r '.gameHostBindAddress' "${servercfgfullpath}")
|
|
|
|
|
- maxplayers=$(jq -r '.game.playerCountLimit' "${servercfgfullpath}")
|
|
|
|
|
- port=$(jq -r '.gameHostBindPort' "${servercfgfullpath}")
|
|
|
|
|
|
|
+ configip=$(jq -r '.bindAddress' "${servercfgfullpath}")
|
|
|
|
|
+ maxplayers=$(jq -r '.game.maxPlayers' "${servercfgfullpath}")
|
|
|
|
|
+ port=$(jq -r '.bindPort' "${servercfgfullpath}")
|
|
|
queryport=$(jq -r '.steamQueryPort' "${servercfgfullpath}")
|
|
queryport=$(jq -r '.steamQueryPort' "${servercfgfullpath}")
|
|
|
servername=$(jq -r '.game.name' "${servercfgfullpath}")
|
|
servername=$(jq -r '.game.name' "${servercfgfullpath}")
|
|
|
serverpassword=$(jq -r '.game.password' "${servercfgfullpath}")
|
|
serverpassword=$(jq -r '.game.password' "${servercfgfullpath}")
|