File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,11 @@ fn_info_game_armar() {
102
102
servername=" ${unavailable} "
103
103
serverpassword=" ${unavailable} "
104
104
else
105
- adminpassword=$( jq -r ' .adminPassword ' " ${servercfgfullpath} " )
105
+ adminpassword=$( jq -r ' .game.passwordAdmin ' " ${servercfgfullpath} " )
106
106
battleeyeport=1376
107
- configip=$( jq -r ' .gameHostBindAddress ' " ${servercfgfullpath} " )
108
- maxplayers=$( jq -r ' .game.playerCountLimit ' " ${servercfgfullpath} " )
109
- port=$( jq -r ' .gameHostBindPort ' " ${servercfgfullpath} " )
107
+ configip=$( jq -r ' .bindAddress ' " ${servercfgfullpath} " )
108
+ maxplayers=$( jq -r ' .game.maxPlayers ' " ${servercfgfullpath} " )
109
+ port=$( jq -r ' .bindPort ' " ${servercfgfullpath} " )
110
110
queryport=$( jq -r ' .steamQueryPort' " ${servercfgfullpath} " )
111
111
servername=$( jq -r ' .game.name' " ${servercfgfullpath} " )
112
112
serverpassword=$( jq -r ' .game.password' " ${servercfgfullpath} " )
Original file line number Diff line number Diff line change @@ -872,10 +872,10 @@ fn_info_game_ut2k4() {
872
872
# Filetype: json
873
873
fn_info_game_armar () {
874
874
if [ -f " ${servercfgfullpath} " ]; then
875
- fn_info_game_json " adminpassword" " .adminPassword "
876
- fn_info_game_json " configip" " .gameHostBindAddress "
877
- fn_info_game_json " maxplayers" " .game.playerCountLimit "
878
- fn_info_game_json " port" " .gameHostBindPort "
875
+ fn_info_game_json " adminpassword" " .game.passwordAdmin "
876
+ fn_info_game_json " configip" " .bindAddress "
877
+ fn_info_game_json " maxplayers" " .game.maxPlayers "
878
+ fn_info_game_json " port" " .bindPort "
879
879
fn_info_game_json " queryport" " .steamQueryPort"
880
880
fn_info_game_json " servername" " .game.name"
881
881
fn_info_game_json " serverpassword" " .game.password"
You can’t perform that action at this time.
0 commit comments