Skip to content

Commit 1563717

Browse files
committed
feat(rsdwserver): show world name, owner id, and ini path in details
1 parent 062833a commit 1563717

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

lgsm/modules/info_messages.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ fn_info_messages_ports_edit() {
719719

720720
startparameterslocation="${red}UNKNOWN${default}"
721721
# engines/games that require editing in the config file.
722-
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")
722+
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")
723723
for port_edit in "${ports_edit_array[@]}"; do
724724
if [ "${shortname}" == "ut3" ]; then
725725
startparameterslocation="${servercfgdir}/UTWeb.ini"
@@ -1417,6 +1417,13 @@ fn_info_messages_rsdw() {
14171417
fn_port "header"
14181418
fn_port "Game" port udp
14191419
} | column -s $'\t' -t
1420+
echo -e ""
1421+
echo -e "${bold}${lightgreen}${gamename} Game Settings${default}"
1422+
fn_messages_separator
1423+
{
1424+
echo -e "${lightblue}World name:\t${default}${worldname}"
1425+
echo -e "${lightblue}Owner ID:\t${default}${ownerid}"
1426+
} | column -s $'\t' -t
14201427
}
14211428

14221429
fn_info_messages_rtcw() {

0 commit comments

Comments
 (0)