Daniel Gibbs
2 years ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
2 changed files with
32 additions and
0 deletions
-
lgsm/modules/info_game.sh
-
lgsm/modules/info_messages.sh
|
@ -681,6 +681,24 @@ fn_info_game_stn() { |
|
|
serverpassword="${serverpassword:-"NOT SET"}" |
|
|
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 |
|
|
# Config Type: ini |
|
|
# Parameters: true |
|
|
# Parameters: true |
|
|
# Comment: ; or # |
|
|
# Comment: ; or # |
|
@ -2372,6 +2390,8 @@ elif [ "${shortname}" == "stn" ]; then |
|
|
fn_info_game_stn |
|
|
fn_info_game_stn |
|
|
elif [ "${shortname}" == "terraria" ]; then |
|
|
elif [ "${shortname}" == "terraria" ]; then |
|
|
fn_info_game_terraria |
|
|
fn_info_game_terraria |
|
|
|
|
|
elif [ "${shortname}" == "tf" ]; then |
|
|
|
|
|
fn_info_game_tf |
|
|
elif [ "${shortname}" == "ti" ]; then |
|
|
elif [ "${shortname}" == "ti" ]; then |
|
|
fn_info_game_ti |
|
|
fn_info_game_ti |
|
|
elif [ "${shortname}" == "ts3" ]; then |
|
|
elif [ "${shortname}" == "ts3" ]; then |
|
|
|
@ -1542,6 +1542,16 @@ fn_info_messages_tu() { |
|
|
} | column -s $'\t' -t |
|
|
} | 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_info_messages_ut2k4() { |
|
|
{ |
|
|
{ |
|
|
fn_port "header" |
|
|
fn_port "header" |
|
@ -1813,6 +1823,8 @@ fn_info_messages_select_engine() { |
|
|
fn_info_messages_stn |
|
|
fn_info_messages_stn |
|
|
elif [ "${shortname}" == "terraria" ]; then |
|
|
elif [ "${shortname}" == "terraria" ]; then |
|
|
fn_info_messages_terraria |
|
|
fn_info_messages_terraria |
|
|
|
|
|
elif [ "${shortname}" == "tf" ]; then |
|
|
|
|
|
fn_info_messages_tf |
|
|
elif [ "${shortname}" == "ti" ]; then |
|
|
elif [ "${shortname}" == "ti" ]; then |
|
|
fn_info_messages_ti |
|
|
fn_info_messages_ti |
|
|
elif [ "${shortname}" == "ts3" ]; then |
|
|
elif [ "${shortname}" == "ts3" ]; then |
|
|