Browse Source

add battleeyeport

pull/3871/head
Daniel Gibbs 3 years ago
parent
commit
9469759556
  1. 10
      lgsm/functions/info_game.sh
  2. 1
      lgsm/functions/info_messages.sh

10
lgsm/functions/info_game.sh

@ -95,22 +95,24 @@ fn_info_game_arma3(){
fn_info_game_armar(){
if [ -f "${servercfgfullpath}" ]; then
adminpassword=$(jq -r '.adminPassword' "${servercfgfullpath}")
configip=$(jq -r '.gameHostBindAddress' "${servercfgfullpath}")
maxplayers=$(jq -r '.game.playerCountLimit' "${servercfgfullpath}")
port=$(jq -r '.gameHostBindPort' "${servercfgfullpath}")
queryport=$(jq -r '.steamQueryPort' "${servercfgfullpath}")
servername=$(jq -r '.game.name' "${servercfgfullpath}")
serverpassword=$(jq -r '.game.password' "${servercfgfullpath}")
maxplayers=$(jq -r '.game.playerCountLimit' "${servercfgfullpath}")
adminpassword=$(jq -r '.adminPassword' "${servercfgfullpath}")
battleeyeport=1376
# Not set
adminpassword=${adminpassword:-"NOT SET"}
configip=${configip:-"0.0.0.0"}
maxplayers=${maxplayers:-"0"}
port=${port:-"0"}
queryport=${queryport:-"0"}
servername=${servername:-"NOT SET"}
serverpassword=${serverpassword:-"NOT SET"}
maxplayers=${maxplayers:-"0"}
adminpassword=${adminpassword:-"NOT SET"}
else
port=${port:-"0"}
servername="${unavailable}"

1
lgsm/functions/info_messages.sh

@ -814,6 +814,7 @@ fn_info_message_armar(){
fn_port "header"
fn_port "Game" port udp
fn_port "Steam Query" queryport udp
fn_port "BattleEye" battleeyeport udp
} | column -s $'\t' -t
}

Loading…
Cancel
Save