From f193010fa7e5e2bace0827882a62bc8e91c9629e Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 18 Jun 2020 00:11:43 +0100 Subject: [PATCH] mofm to mom --- lgsm/data/serverlist.csv | 2 +- lgsm/functions/info_messages.sh | 6 +++--- lgsm/functions/info_parms.sh | 6 +++--- lgsm/functions/install_config.sh | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lgsm/data/serverlist.csv b/lgsm/data/serverlist.csv index 83f89cd81..240ac66dd 100644 --- a/lgsm/data/serverlist.csv +++ b/lgsm/data/serverlist.csv @@ -55,7 +55,7 @@ mc,mcserver,Minecraft mcb,mcbserver,Minecraft Bedrock mh,mhserver,MORDHAU mohaa,mohaaserver,Medal of Honor: Allied Assault -mofm,momserver,Memories of Mars +mom,momserver,Memories of Mars mta,mtaserver,Multi Theft Auto mumble,mumbleserver,Mumble nd,ndserver,Nuclear Dawn diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 5d3ad9590..ccfbee9f8 100644 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -871,7 +871,7 @@ fn_info_message_mohaa(){ } | column -s $'\t' -t } -fn_info_message_mofm(){ +fn_info_message_mom(){ echo -e "netstat -atunp | grep MemoriesOfMar" echo -e "" { @@ -1446,8 +1446,8 @@ fn_info_message_select_engine(){ fn_info_message_minecraft_bedrock elif [ "${shortname}" == "onset" ]; then fn_info_message_onset - elif [ "${shortname}" == "mofm" ]; then - fn_info_message_mofm + elif [ "${shortname}" == "mom" ]; then + fn_info_message_mom elif [ "${shortname}" == "pz" ]; then fn_info_message_projectzomboid elif [ "${shortname}" == "pstbs" ]; then diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh index ea91b2d44..f30d90020 100644 --- a/lgsm/functions/info_parms.sh +++ b/lgsm/functions/info_parms.sh @@ -85,7 +85,7 @@ fn_info_parms_mohaa(){ defaultmap=${defaultmap:-"NOT SET"} } -fn_info_parms_mofm(){ +fn_info_parms_mom(){ port=${port:-"7777"} beaconport=${queryport:-"15000"} } @@ -251,8 +251,8 @@ elif [ "${shortname}" == "kf2" ]; then elif [ "${shortname}" == "mohaa" ]; then fn_info_parms_mohaa #Memories of Mars -elif [ "${shortname}" == "mofm" ]; then - fn_info_parms_mofm +elif [ "${shortname}" == "mom" ]; then + fn_info_parms_mom # Project Zomboid elif [ "${shortname}" == "pz" ]; then fn_info_parms_projectzomboid diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index 5abc9e055..73e774ccf 100644 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -563,7 +563,7 @@ elif [ "${shortname}" == "mta" ]; then fn_fetch_default_config fn_default_config_remote fn_list_config_locations -elif [ "${shotname}" == "mofm" ];then +elif [ "${shotname}" == "mom" ];then gamedirname="MemoriesofMars" array_configs+=( DedicatedServerConfig.cfg) fn_fetch_default_config