Browse Source

reshuffle

pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
cce9a98c83
  1. 76
      lgsm/functions/info_config.sh
  2. 61
      lgsm/functions/info_messages.sh
  3. 36
      lgsm/functions/info_parms.sh

76
lgsm/functions/info_config.sh

@ -1770,16 +1770,16 @@ elif [ "${shortname}" == "arma3" ]; then
fn_info_config_arma3
elif [ "${shortname}" == "av" ]; then
fn_info_config_av
elif [ "${shortname}" == "bf1942" ]; then
fn_info_config_bf1942
elif [ "${shortname}" == "bfv" ]; then
fn_info_config_bfv
elif [ "${shortname}" == "bo" ]; then
fn_info_config_bo
elif [ "${shortname}" == "bt" ]; then
fn_info_config_bt
elif [ "${shortname}" == "bt1944" ]; then
fn_info_config_bt1944
elif [ "${shortname}" == "bf1942" ]; then
fn_info_config_bf1942
elif [ "${shortname}" == "bfv" ]; then
fn_info_config_bfv
elif [ "${shortname}" == "cmw" ]; then
fn_info_config_cmw
elif [ "${shortname}" == "cod" ]||[ "${shortname}" == "coduo" ]; then
@ -1814,84 +1814,84 @@ elif [ "${shortname}" == "mc" ]||[ "${shortname}" == "pmc" ]; then
fn_info_config_mc
elif [ "${shortname}" == "mcb" ]; then
fn_info_config_mcb
elif [ "${shortname}" == "mh" ]; then
fn_info_config_mh
elif [ "${shortname}" == "mohaa" ]; then
fn_info_config_mohaa
elif [ "${shortname}" == "mom" ]; then
fn_info_config_mom
elif [ "${shortname}" == "mta" ]; then
fn_info_config_mta
elif [ "${shortname}" == "mumble" ]; then
fn_info_config_mumble
elif [ "${shortname}" == "onset" ]; then
fn_info_config_onset
elif [ "${shortname}" == "pstbs" ]; then
fn_info_config_pstbs
elif [ "${shortname}" == "pc" ]; then
fn_info_config_pc
elif [ "${shortname}" == "pstbs" ]; then
fn_info_config_pstbs
elif [ "${shortname}" == "pvr" ];then
fn_info_config_pvr
elif [ "${shortname}" == "pz" ]; then
fn_info_config_pz
elif [ "${shortname}" == "qw" ]; then
fn_info_config_qw
elif [ "${shortname}" == "q2" ]; then
fn_info_config_q2
elif [ "${shortname}" == "q3" ]; then
fn_info_config_q3
elif [ "${shortname}" == "ql" ]; then
fn_info_config_ql
elif [ "${shortname}" == "qw" ]; then
fn_info_config_qw
elif [ "${shortname}" == "ro" ]; then
fn_info_config_ro
elif [ "${shortname}" == "rtcw" ]; then
fn_info_config_rtcw
elif [ "${shortname}" == "rw" ]; then
fn_info_config_rw
elif [ "${shortname}" == "sb" ]; then
fn_info_config_sb
elif [ "${shortname}" == "sol" ]; then
fn_info_config_sol
elif [ "${shortname}" == "sof2" ]; then
fn_info_config_sof2
elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsrc" ]; then
fn_info_config_source
elif [ "${shortname}" == "samp" ]; then
fn_info_config_samp
elif [ "${shortname}" == "sb" ]; then
fn_info_config_sb
elif [ "${shortname}" == "sbots" ]; then
fn_info_config_sbots
elif [ "${shortname}" == "scpsl" ]||[ "${shortname}" == "scpslsm" ]; then
fn_info_config_scpsl
elif [ "${shortname}" == "sdtd" ]; then
fn_info_config_sdtd
elif [ "${shortname}" == "tw" ]; then
fn_info_config_tw
elif [ "${shortname}" == "sof2" ]; then
fn_info_config_sof2
elif [ "${shortname}" == "sol" ]; then
fn_info_config_sol
elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsrc" ]; then
fn_info_config_source
elif [ "${shortname}" == "squad" ]; then
fn_info_config_squad
elif [ "${shortname}" == "st" ]; then
fn_info_config_st
elif [ "${shortname}" == "terraria" ]; then
fn_info_config_terraria
elif [ "${shortname}" == "tu" ]; then
fn_info_config_tu
elif [ "${shortname}" == "ut2k4" ]; then
fn_info_config_ut2k4
elif [ "${engine}" == "unreal" ]; then
fn_info_config_unreal
elif [ "${engine}" == "unreal2" ]; then
fn_info_config_unreal2
elif [ "${shortname}" == "tw" ]; then
fn_info_config_tw
elif [ "${shortname}" == "ut" ]; then
fn_info_config_ut
elif [ "${shortname}" == "ut2k4" ]; then
fn_info_config_ut2k4
elif [ "${shortname}" == "ut3" ]; then
fn_info_config_ut3
elif [ "${shortname}" == "vints" ]; then
fn_info_config_vints
elif [ "${shortname}" == "wet" ]; then
fn_info_config_wet
elif [ "${shortname}" == "wf" ]; then
fn_info_config_wf
elif [ "${shortname}" == "wurm" ]; then
fn_info_config_wurm
elif [ "${shortname}" == "mta" ]; then
fn_info_config_mta
elif [ "${shortname}" == "squad" ]; then
fn_info_config_squad
elif [ "${shortname}" == "st" ]; then
fn_info_config_st
elif [ "${shortname}" == "mh" ]; then
fn_info_config_mh
elif [ "${shortname}" == "pvr" ];then
fn_info_config_pvr
elif [ "${shortname}" == "vints" ]; then
fn_info_config_vints
elif [ "${shortname}" == "wmc" ]; then
fn_info_config_wmc
elif [ "${shortname}" == "wurm" ]; then
fn_info_config_wurm
elif [ "${engine}" == "unreal" ]; then
fn_info_config_unreal
elif [ "${engine}" == "unreal2" ]; then
fn_info_config_unreal2
fi

61
lgsm/functions/info_messages.sh

@ -1605,12 +1605,12 @@ fn_info_message_select_engine(){
fn_info_message_ins
elif [ "${shortname}" == "inss" ]; then
fn_info_message_inss
elif [ "${shortname}" == "jk2" ]; then
fn_info_message_jk2
elif [ "${shortname}" == "jc2" ]; then
fn_info_message_jc2
elif [ "${shortname}" == "jc3" ]; then
fn_info_message_jc3
elif [ "${shortname}" == "jk2" ]; then
fn_info_message_jk2
elif [ "${shortname}" == "kf" ]; then
fn_info_message_kf
elif [ "${shortname}" == "kf2" ]; then
@ -1627,44 +1627,48 @@ fn_info_message_select_engine(){
fn_info_message_mta
elif [ "${shortname}" == "mumble" ]; then
fn_info_message_mumble
elif [ "${shortname}" == "onset" ]; then
fn_info_message_onset
elif [ "${shortname}" == "mom" ]; then
fn_info_message_mom
elif [ "${shortname}" == "pz" ]; then
fn_info_message_pz
elif [ "${shortname}" == "pstbs" ]; then
fn_info_message_pstbs
elif [ "${shortname}" == "onset" ]; then
fn_info_message_onset
elif [ "${shortname}" == "pc" ]; then
fn_info_message_pc
elif [ "${shortname}" == "qw" ]; then
fn_info_message_qw
elif [ "${shortname}" == "pstbs" ]; then
fn_info_message_pstbs
elif [ "${shortname}" == "pvr" ]; then
fn_info_message_pvr
elif [ "${shortname}" == "pz" ]; then
fn_info_message_pz
elif [ "${shortname}" == "q2" ]; then
fn_info_message_q2
elif [ "${shortname}" == "q3" ]; then
fn_info_message_q3
elif [ "${shortname}" == "ql" ]; then
fn_info_message_ql
elif [ "${shortname}" == "qw" ]; then
fn_info_message_qw
elif [ "${shortname}" == "ro" ]; then
fn_info_message_ro
elif [ "${shortname}" == "rtcw" ]; then
fn_info_message_rtcw
elif [ "${shortname}" == "samp" ]; then
fn_info_message_samp
elif [ "${shortname}" == "sb" ]; then
fn_info_message_sb
elif [ "${shortname}" == "sbots" ]; then
fn_info_message_sbots
elif [ "${shortname}" == "scpsl" ]||[ "${shortname}" == "scpslsm" ]; then
fn_info_message_scpsl
elif [ "${shortname}" == "sdtd" ]; then
fn_info_message_sdtd
elif [ "${shortname}" == "squad" ]; then
fn_info_message_squad
elif [ "${shortname}" == "st" ]; then
fn_info_message_st
elif [ "${shortname}" == "sof2" ]; then
fn_info_message_sof2
elif [ "${shortname}" == "sol" ]; then
fn_info_message_sol
elif [ "${shortname}" == "sb" ]; then
fn_info_message_sb
elif [ "${shortname}" == "sbots" ]; then
fn_info_message_sbots
elif [ "${shortname}" == "squad" ]; then
fn_info_message_squad
elif [ "${shortname}" == "st" ]; then
fn_info_message_st
elif [ "${shortname}" == "terraria" ]; then
fn_info_message_terraria
elif [ "${shortname}" == "ts3" ]; then
@ -1675,30 +1679,26 @@ fn_info_message_select_engine(){
fn_info_message_tw
elif [ "${shortname}" == "unt" ]; then
fn_info_message_unt
elif [ "${shortname}" == "ut" ]; then
fn_info_message_ut
elif [ "${shortname}" == "vh" ]; then
fn_info_message_vh
elif [ "${shortname}" == "rtcw" ]; then
fn_info_message_rtcw
elif [ "${shortname}" == "pvr" ]; then
fn_info_message_pvr
elif [ "${shortname}" == "rust" ]; then
fn_info_message_rust
elif [ "${shortname}" == "vints" ]; then
fn_info_message_vints
elif [ "${shortname}" == "wf" ]; then
fn_info_message_wf
elif [ "${shortname}" == "wurm" ]; then
fn_info_message_wurm
elif [ "${shortname}" == "rust" ]; then
fn_info_message_rust
elif [ "${shortname}" == "rw" ]; then
fn_info_message_rw
elif [ "${shortname}" == "ut" ]; then
fn_info_message_ut
elif [ "${shortname}" == "ut2k4" ]; then
fn_info_message_ut2k4
elif [ "${shortname}" == "ut3" ]; then
fn_info_message_ut3
elif [ "${shortname}" == "wet" ]; then
fn_info_message_wet
elif [ "${shortname}" == "wf" ]; then
fn_info_message_wf
elif [ "${shortname}" == "wurm" ]; then
fn_info_message_wurm
elif [ "${engine}" == "goldsrc" ]; then
fn_info_message_goldsrc
elif [ "${engine}" == "source" ]; then
@ -1707,6 +1707,7 @@ fn_info_message_select_engine(){
fn_info_message_spark
elif [ "${engine}" == "unreal" ]; then
fn_info_message_unreal
else
fn_print_error_nl "Unable to detect server engine."
fi

36
lgsm/functions/info_parms.sh

@ -285,52 +285,52 @@ elif [ "${shortname}" == "inss" ]; then
fn_info_parms_inss
elif [ "${shortname}" == "kf2" ]; then
fn_info_parms_kf2
elif [ "${shortname}" == "mh" ]; then
fn_info_parms_mh
elif [ "${shortname}" == "mohaa" ]; then
fn_info_parms_mohaa
elif [ "${shortname}" == "mom" ]; then
fn_info_parms_mom
elif [ "${shortname}" == "pz" ]; then
fn_info_parms_pz
elif [ "${shortname}" == "mta" ]; then
fn_info_parms_mta
elif [ "${shortname}" == "pvr" ]; then
fn_info_parms_pvr
elif [ "${shortname}" == "qw" ]; then
fn_info_parms_qw
elif [ "${shortname}" == "pz" ]; then
fn_info_parms_pz
elif [ "${shortname}" == "q2" ]||[ "${shortname}" == "q3" ]; then
fn_info_parms_quake2
elif [ "${shortname}" == "qw" ]; then
fn_info_parms_qw
elif [ "${shortname}" == "rtcw" ]; then
fn_info_parms_rtcw
elif [ "${shortname}" == "rust" ]; then
fn_info_parms_rust
elif [ "${shortname}" == "st" ]; then
fn_info_parms_st
elif [ "${shortname}" == "rw" ]; then
fn_info_parms_rw
elif [ "${shortname}" == "st" ]; then
fn_info_parms_st
elif [ "${shortname}" == "sof2" ]; then
fn_info_parms_sof2
elif [ "${shortname}" == "sbots" ]; then
fn_info_parms_sbots
elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsrc" ]; then
fn_info_parms_source
elif [ "${engine}" == "spark" ]; then
fn_info_parms_spark
elif [ "${shortname}" == "tu" ]; then
fn_info_parms_tu
elif [ "${shortname}" == "vh" ]; then
fn_info_parms_vh
elif [ "${shortname}" == "mh" ]; then
fn_info_parms_mh
elif [ "${shortname}" == "mta" ]; then
fn_info_parms_mta
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
fn_info_parms_unreal
elif [ "${shortname}" == "ut3" ]; then
fn_info_parms_ut3
elif [ "${shortname}" == "unt" ]; then
fn_info_parms_unt
elif [ "${shortname}" == "ut" ]; then
fn_info_parms_ut
elif [ "${shortname}" == "vh" ]; then
fn_info_parms_vh
elif [ "${shortname}" == "wf" ]; then
fn_info_parms_wf
elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsrc" ]; then
fn_info_parms_source
elif [ "${engine}" == "spark" ]; then
fn_info_parms_spark
elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
fn_info_parms_unreal
# for servers that have a missing queryport from the game config.
elif [ "${shortname}" == "samp" ]||[ "${shortname}" == "scpsl" ]||[ "${shortname}" == "scpslsm" ]||[ "${shortname}" == "jk2" ]||[ "${shortname}" == "tw" ]; then
fn_info_parms_queryport

Loading…
Cancel
Save