Browse Source

fix: add lo & sf info_game

pull/3653/head
Claiyc 4 years ago
parent
commit
3661876173
  1. 16
      lgsm/functions/info_game.sh

16
lgsm/functions/info_game.sh

@ -790,6 +790,14 @@ fn_info_game_kf2(){
defaultmap=${defaultmap:-"NOT SET"}
}
fn_info_game_lo(){
# Parameters
servername=${servername:-"NOT SET"}
port=${port:-"0"}
queryport=${queryport:-"0"}
maxplayers=${slots:-"0"}
}
fn_info_game_mc(){
# Config
if [ ! -f "${servercfgfullpath}" ]; then
@ -1550,6 +1558,14 @@ fn_info_game_sdtd(){
fi
}
fn_info_game_sf(){
# Parameters
servername=${selfname:-"NOT SET"}
port=${port:-"0"}
queryport=${$queryport:-"0"}
beaconport=${$beaconport:-"0"}
}
fn_info_game_sof2(){
# Config
if [ ! -f "${servercfgfullpath}" ]; then

Loading…
Cancel
Save