Skip to content

Commit

Permalink
Update missing info for lgsm modules - jk3server
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCS1337 committed Jul 27, 2024
1 parent aabc456 commit b8240ff
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions lgsm/modules/command_check_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ elif [ "${shortname}" == "mta" ]; then
update_mta.sh
elif [ "${shortname}" == "jk2" ]; then
update_jk2.sh
elif [ "${shortname}" == "jk3 "]; then
update_jk3.sh
elif [ "${shortname}" == "vints" ]; then
update_vints.sh
elif [ "${shortname}" == "ut99" ]; then
Expand Down
2 changes: 2 additions & 0 deletions lgsm/modules/command_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ fi
fn_print_dots "${servername}"
if [ "${shortname}" == "jk2" ]; then
fn_start_jk2
elif [ "${shortname}" == "jk3 "]; then
fn_start_jk3
else
fn_start_tmux
fi
Expand Down
2 changes: 2 additions & 0 deletions lgsm/modules/command_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ elif [ "${shortname}" == "mta" ]; then
update_mta.sh
elif [ "${shortname}" == "jk2" ]; then
update_jk2.sh
elif [ "${shortname}" == "jk3 " ]; then
update_jk3.sh
elif [ "${shortname}" == "vints" ]; then
update_vints.sh
elif [ "${shortname}" == "ut99" ]; then
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/core_getopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ currentopt=("${cmd_start[@]}" "${cmd_stop[@]}" "${cmd_restart[@]}" "${cmd_monito
currentopt+=("${cmd_update_linuxgsm[@]}")

# Exclude noupdate games here.
if [ "${shortname}" == "jk2" ] || [ "${engine}" != "idtech3" ]; then
if [ "${shortname}" == "jk2" ] || [ "${shortname}" == "jk3" ] || [ "${engine}" != "idtech3" ]; then
if [ "${shortname}" != "bf1942" ] && [ "${shortname}" != "bfv" ] && [ "${engine}" != "idtech2" ] && [ "${engine}" != "iw2.0" ] && [ "${engine}" != "iw3.0" ] && [ "${engine}" != "quake" ] && [ "${shortname}" != "samp" ] && [ "${shortname}" != "ut2k4" ]; then
currentopt+=("${cmd_update[@]}" "${cmd_check_update[@]}")
# force update for SteamCMD or Multi Theft Auto only.
Expand Down
4 changes: 0 additions & 4 deletions lgsm/modules/info_messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1798,13 +1798,9 @@ fn_info_messages_select_engine() {
elif [ "${shortname}" == "jc3" ]; then
fn_info_messages_jc3
elif [ "${shortname}" == "jk2" ]; then
<<<<<<< HEAD:lgsm/functions/info_messages.sh
fn_info_message_jk2
elif [ "${shortname}" == "jk3" ]; then
fn_info_message_jk3
=======
fn_info_messages_jk2
>>>>>>> 1522cbd7b3d673aadf5b1a611cc03badf1f32b36:lgsm/modules/info_messages.sh
elif [ "${shortname}" == "kf" ]; then
fn_info_messages_kf
elif [ "${shortname}" == "kf2" ]; then
Expand Down
1 change: 0 additions & 1 deletion lgsm/modules/install_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,6 @@ elif [ "${shortname}" == "jk2" ]; then
fn_default_config_remote
fn_set_config_vars
elif [ "${shortname}" == "jk3" ]; then
gamedirname="JediKnightJediAcademy"
array_configs+=( server.cfg )
fn_fetch_default_config
fn_default_config_remote
Expand Down
2 changes: 2 additions & 0 deletions lgsm/modules/install_server_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ elif [ "${shortname}" == "fctr" ]; then
install_factorio_save.sh
elif [ "${shortname}" == "jk2" ]; then
update_jk2.sh
elif [ "${shortname}" == "jk3" ]; then
update_jk3.sh
elif [ "${shortname}" == "vints" ]; then
update_vints.sh
elif [ "${shortname}" == "ut99" ]; then
Expand Down

0 comments on commit b8240ff

Please sign in to comment.