File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -790,6 +790,14 @@ fn_info_game_kf2(){
790
790
defaultmap=${defaultmap:- " NOT SET" }
791
791
}
792
792
793
+ fn_info_game_lo (){
794
+ # Parameters
795
+ servername=${servername:- " NOT SET" }
796
+ port=${port:- " 0" }
797
+ queryport=${queryport:- " 0" }
798
+ maxplayers=${slots:- " 0" }
799
+ }
800
+
793
801
fn_info_game_mc (){
794
802
# Config
795
803
if [ ! -f " ${servercfgfullpath} " ]; then
@@ -1550,6 +1558,14 @@ fn_info_game_sdtd(){
1550
1558
fi
1551
1559
}
1552
1560
1561
+ fn_info_game_sf (){
1562
+ # Parameters
1563
+ servername=${selfname:- " NOT SET" }
1564
+ port=${port:- " 0" }
1565
+ queryport=${queryport:- " 0" }
1566
+ beaconport=${beaconport:- " 0" }
1567
+ }
1568
+
1553
1569
fn_info_game_sof2 (){
1554
1570
# Config
1555
1571
if [ ! -f " ${servercfgfullpath} " ]; then
@@ -2230,6 +2246,8 @@ elif [ "${shortname}" == "kf" ]; then
2230
2246
fn_info_game_kf
2231
2247
elif [ " ${shortname} " == " kf2" ]; then
2232
2248
fn_info_game_kf2
2249
+ elif [ " ${shortname} " == " lo" ]; then
2250
+ fn_info_game_lo
2233
2251
elif [ " ${shortname} " == " mc" ]|| [ " ${shortname} " == " pmc" ]; then
2234
2252
fn_info_game_mc
2235
2253
elif [ " ${shortname} " == " mcb" ]; then
@@ -2280,6 +2298,8 @@ elif [ "${shortname}" == "scpsl" ]||[ "${shortname}" == "scpslsm" ]; then
2280
2298
fn_info_game_scpsl
2281
2299
elif [ " ${shortname} " == " sdtd" ]; then
2282
2300
fn_info_game_sdtd
2301
+ elif [ " ${shortname} " == " sf" ]; then
2302
+ fn_info_game_sf
2283
2303
elif [ " ${shortname} " == " sof2" ]; then
2284
2304
fn_info_game_sof2
2285
2305
elif [ " ${shortname} " == " sol" ]; then
You can’t perform that action at this time.
0 commit comments