diff --git a/lgsm/modules/info_game.sh b/lgsm/modules/info_game.sh index fd45981669..c75f1c2390 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -681,6 +681,24 @@ fn_info_game_stn() { serverpassword="${serverpassword:-"NOT SET"}" } +# Config Type: parameters +# Parameters: true +# Comment: +# Example: -ServerName="SERVERNAME" +# Filetype: parameters +fn_info_game_tf() { + beaconport="${beaconport:-"0"}" + gamemode="${gamemode:-"NOT SET"}" + maxplayers="${maxplayers:-"0"}" + port="${port:-"0"}" + queryport="${queryport:-"0"}" + saveinterval="${saveinterval:-"0"}" + servername="${servername:-"NOT SET"}" + serverpassword="${serverpassword:-"NOT SET"}" + shutdownport="${shutdownport:-"0"}" + +} + # Config Type: ini # Parameters: true # Comment: ; or # @@ -2372,6 +2390,8 @@ elif [ "${shortname}" == "stn" ]; then fn_info_game_stn elif [ "${shortname}" == "terraria" ]; then fn_info_game_terraria +elif [ "${shortname}" == "tf" ]; then + fn_info_game_tf elif [ "${shortname}" == "ti" ]; then fn_info_game_ti elif [ "${shortname}" == "ts3" ]; then diff --git a/lgsm/modules/info_messages.sh b/lgsm/modules/info_messages.sh index 0e57690bff..0b928aa55e 100644 --- a/lgsm/modules/info_messages.sh +++ b/lgsm/modules/info_messages.sh @@ -1542,6 +1542,16 @@ fn_info_messages_tu() { } | column -s $'\t' -t } +fn_info_messages_tf() { + { + fn_port "header" + fn_port "Game" port udp + fn_port "Query" queryport tcp + fn_port "Beacon" beaconport udp + fn_port "Shutdown" shutdownport tcp + } | column -s $'\t' -t +} + fn_info_messages_ut2k4() { { fn_port "header" @@ -1813,6 +1823,8 @@ fn_info_messages_select_engine() { fn_info_messages_stn elif [ "${shortname}" == "terraria" ]; then fn_info_messages_terraria + elif [ "${shortname}" == "tf" ]; then + fn_info_messages_tf elif [ "${shortname}" == "ti" ]; then fn_info_messages_ti elif [ "${shortname}" == "ts3" ]; then