|
@@ -790,6 +790,14 @@ fn_info_game_kf2(){
|
|
|
defaultmap=${defaultmap:-"NOT SET"}
|
|
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(){
|
|
fn_info_game_mc(){
|
|
|
# Config
|
|
# Config
|
|
|
if [ ! -f "${servercfgfullpath}" ]; then
|
|
if [ ! -f "${servercfgfullpath}" ]; then
|
|
@@ -1550,6 +1558,14 @@ fn_info_game_sdtd(){
|
|
|
fi
|
|
fi
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+fn_info_game_sf(){
|
|
|
|
|
+ # Parameters
|
|
|
|
|
+ servername=${selfname:-"NOT SET"}
|
|
|
|
|
+ port=${port:-"0"}
|
|
|
|
|
+ queryport=${queryport:-"0"}
|
|
|
|
|
+ beaconport=${beaconport:-"0"}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
fn_info_game_sof2(){
|
|
fn_info_game_sof2(){
|
|
|
# Config
|
|
# Config
|
|
|
if [ ! -f "${servercfgfullpath}" ]; then
|
|
if [ ! -f "${servercfgfullpath}" ]; then
|
|
@@ -2230,6 +2246,8 @@ elif [ "${shortname}" == "kf" ]; then
|
|
|
fn_info_game_kf
|
|
fn_info_game_kf
|
|
|
elif [ "${shortname}" == "kf2" ]; then
|
|
elif [ "${shortname}" == "kf2" ]; then
|
|
|
fn_info_game_kf2
|
|
fn_info_game_kf2
|
|
|
|
|
+elif [ "${shortname}" == "lo" ]; then
|
|
|
|
|
+ fn_info_game_lo
|
|
|
elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "pmc" ]; then
|
|
elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "pmc" ]; then
|
|
|
fn_info_game_mc
|
|
fn_info_game_mc
|
|
|
elif [ "${shortname}" == "mcb" ]; then
|
|
elif [ "${shortname}" == "mcb" ]; then
|
|
@@ -2280,6 +2298,8 @@ elif [ "${shortname}" == "scpsl" ]||[ "${shortname}" == "scpslsm" ]; then
|
|
|
fn_info_game_scpsl
|
|
fn_info_game_scpsl
|
|
|
elif [ "${shortname}" == "sdtd" ]; then
|
|
elif [ "${shortname}" == "sdtd" ]; then
|
|
|
fn_info_game_sdtd
|
|
fn_info_game_sdtd
|
|
|
|
|
+elif [ "${shortname}" == "sf" ]; then
|
|
|
|
|
+ fn_info_game_sf
|
|
|
elif [ "${shortname}" == "sof2" ]; then
|
|
elif [ "${shortname}" == "sof2" ]; then
|
|
|
fn_info_game_sof2
|
|
fn_info_game_sof2
|
|
|
elif [ "${shortname}" == "sol" ]; then
|
|
elif [ "${shortname}" == "sol" ]; then
|