Browse Source

feat(rsdwserver): show world name, owner id, and ini path in details

pull/4921/head
Josh Saterdalen 1 month ago
parent
commit
1563717c80
  1. 9
      lgsm/modules/info_messages.sh

9
lgsm/modules/info_messages.sh

@ -719,7 +719,7 @@ fn_info_messages_ports_edit() {
startparameterslocation="${red}UNKNOWN${default}"
# engines/games that require editing in the config file.
local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "ct" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "nec" "pc" "pc2" "prism3d" "pz" "qw" "refractor" "renderware" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "xnt" "wurm")
local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "ct" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "nec" "pc" "pc2" "prism3d" "pz" "qw" "refractor" "renderware" "rsdw" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "xnt" "wurm")
for port_edit in "${ports_edit_array[@]}"; do
if [ "${shortname}" == "ut3" ]; then
startparameterslocation="${servercfgdir}/UTWeb.ini"
@ -1417,6 +1417,13 @@ fn_info_messages_rsdw() {
fn_port "header"
fn_port "Game" port udp
} | column -s $'\t' -t
echo -e ""
echo -e "${bold}${lightgreen}${gamename} Game Settings${default}"
fn_messages_separator
{
echo -e "${lightblue}World name:\t${default}${worldname}"
echo -e "${lightblue}Owner ID:\t${default}${ownerid}"
} | column -s $'\t' -t
}
fn_info_messages_rtcw() {

Loading…
Cancel
Save