#!/bin/bash # LGSM fn_install function # Author: Daniel Gibbs # Website: https://gameservermanagers.com lgsm_version="260216" # Description: Overall function for the installer. local modulename="Install" function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" check.sh install_header.sh install_server_dir.sh install_logs.sh check_deps.sh # Download and install if [ "${gamename}" == "Unreal Tournament 2004" ]; then install_server_files.sh install_ut2k4_key.sh elif [ "${gamename}" == "Unreal Tournament 99" ]; then install_server_files.sh elif [ "${gamename}" == "Teamspeak 3" ]; then install_ts3.sh elif [ -n "${appid}" ]; then install_steamcmd.sh install_server_files.sh fi # Configuration install_config.sh if [ "${gamename}" == "Counter Strike: Global Offensive" ]||[ "${gamename}" == "Team Fortress 2" ]||[ "${gamename}" == "BrainBread 2" ]; then install_gslt.sh elif [ "${gamename}" == "Teamspeak 3" ]; then install_ts3db.sh fi fix.sh install_complete.sh