Daniel Gibbs 3aa9cb18d2 added gperftools-libs.i686/libtcmalloc-minimal4:i386 to tf2 deps %!s(int64=8) %!d(string=hai) anos
..
README.md 6a4444662d Fix typo in lgsm/functions README %!s(int64=9) %!d(string=hai) anos
alert.sh 5596022780 corrected more info from discord %!s(int64=8) %!d(string=hai) anos
alert_discord.sh 8b163a61c4 comment %!s(int64=8) %!d(string=hai) anos
alert_email.sh 1b7f2f9626 Alerts will postdetails to allow more info in alert %!s(int64=8) %!d(string=hai) anos
alert_ifttt.sh 424880ea29 removed emoji from IFTTT as may cause issues with intergrations %!s(int64=8) %!d(string=hai) anos
alert_mailgun.sh 1b7f2f9626 Alerts will postdetails to allow more info in alert %!s(int64=8) %!d(string=hai) anos
alert_pushbullet.sh a37328cdaf curlpath %!s(int64=8) %!d(string=hai) anos
alert_pushover.sh 4e38a2294e error checking %!s(int64=8) %!d(string=hai) anos
alert_telegram.sh a37328cdaf curlpath %!s(int64=8) %!d(string=hai) anos
check.sh 5bbce3032c added more commands to check logs %!s(int64=8) %!d(string=hai) anos
check_config.sh 8410191aba ut3 and kf2 bypass config checker %!s(int64=8) %!d(string=hai) anos
check_deps.sh 3aa9cb18d2 added gperftools-libs.i686/libtcmalloc-minimal4:i386 to tf2 deps %!s(int64=8) %!d(string=hai) anos
check_executable.sh a7e79a5350 renamed scriptlog to lgsmlog %!s(int64=9) %!d(string=hai) anos
check_glibc.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
check_ip.sh 8082932a0e fixed typo/syntax %!s(int64=9) %!d(string=hai) anos
check_logs.sh 28b5d3ff5a now correctly checks if gamelogdir is missing and needs installing %!s(int64=9) %!d(string=hai) anos
check_permissions.sh a7e79a5350 renamed scriptlog to lgsmlog %!s(int64=9) %!d(string=hai) anos
check_root.sh a7e79a5350 renamed scriptlog to lgsmlog %!s(int64=9) %!d(string=hai) anos
check_status.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
check_steamcmd.sh 612af6390d closing fi %!s(int64=9) %!d(string=hai) anos
check_system_dir.sh a7e79a5350 renamed scriptlog to lgsmlog %!s(int64=9) %!d(string=hai) anos
check_system_requirements.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
check_tmuxception.sh 40c36615cd code tidy then %!s(int64=9) %!d(string=hai) anos
command_backup.sh 0a8bfc3c25 Changed tar exclude to be the configured dir %!s(int64=9) %!d(string=hai) anos
command_console.sh 4a21ddc7a3 Added ARK to warning about lack of output %!s(int64=9) %!d(string=hai) anos
command_debug.sh 408db1a9f4 added external IP to debug info %!s(int64=8) %!d(string=hai) anos
command_details.sh 7879fd0fa8 more changes for info_messages.sh %!s(int64=8) %!d(string=hai) anos
command_dev_debug.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
command_dev_detect_deps.sh 0bfbdbc01f Got rid of double returns %!s(int64=9) %!d(string=hai) anos
command_dev_detect_glibc.sh 40c36615cd code tidy then %!s(int64=9) %!d(string=hai) anos
command_dev_detect_ldd.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
command_fastdl.sh 390feb9bc3 Merge branch 'develop' into feature/config %!s(int64=9) %!d(string=hai) anos
command_install.sh 8ec1c362ef migrated to fix_ark.sh %!s(int64=8) %!d(string=hai) anos
command_install_resources_mta.sh 3ef7ca2879 updated download variables %!s(int64=9) %!d(string=hai) anos
command_mods_install.sh f95eede9a6 Merge branch 'feature/prompt' into feature/prompt-user-function %!s(int64=9) %!d(string=hai) anos
command_mods_remove.sh 19a3d31763 fixed typo that says install instead of remove %!s(int64=8) %!d(string=hai) anos
command_mods_update.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
command_monitor.sh bc6eddb632 added madness engine to gsquery %!s(int64=9) %!d(string=hai) anos
command_postdetails.sh df662e06f1 got rid of rm command. keeping the log file %!s(int64=8) %!d(string=hai) anos
command_restart.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
command_start.sh 70be3e17ed fix for #1315 by unsetting the updateonstart var %!s(int64=8) %!d(string=hai) anos
command_stop.sh a5e4d51092 fixed syntax error [: missing `]' %!s(int64=9) %!d(string=hai) anos
command_test_alert.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
command_ts3_server_pass.sh 0bfbdbc01f Got rid of double returns %!s(int64=9) %!d(string=hai) anos
command_update.sh 15f80f1151 Run log manager upon update %!s(int64=9) %!d(string=hai) anos
command_update_functions.sh dadeaed975 redirect %!s(int64=9) %!d(string=hai) anos
command_update_linuxgsm.sh 4a2fef2e67 changed servername to gameservername %!s(int64=9) %!d(string=hai) anos
command_validate.sh a7e79a5350 renamed scriptlog to lgsmlog %!s(int64=9) %!d(string=hai) anos
command_wipe.sh fd835e995a Merge pull request #1547 from pedrozun/master %!s(int64=8) %!d(string=hai) anos
compress_unreal2_maps.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
compress_ut99_maps.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
core_dl.sh 4c184b973b update var names local_filedir local_filename %!s(int64=9) %!d(string=hai) anos
core_exit.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
core_functions.sh c2e41f10e8 Added fix_ark.sh() to core_functions %!s(int64=8) %!d(string=hai) anos
core_getopt.sh 11962ef83d corrected url link %!s(int64=8) %!d(string=hai) anos
core_legacy.sh 1b7f2f9626 Alerts will postdetails to allow more info in alert %!s(int64=8) %!d(string=hai) anos
core_messages.sh a4ba75ede1 Update core_messages.sh %!s(int64=8) %!d(string=hai) anos
core_trap.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
fix.sh c45f21e566 Added fix for ark %!s(int64=8) %!d(string=hai) anos
fix_ark.sh bafb8fb370 Add symlink based on $HOME to fix ark mod loading. %!s(int64=8) %!d(string=hai) anos
fix_arma3.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
fix_coduo.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
fix_csgo.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
fix_dst.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
fix_ges.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
fix_glibc.sh 390feb9bc3 Merge branch 'develop' into feature/config %!s(int64=9) %!d(string=hai) anos
fix_ins.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
fix_kf.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
fix_mta.sh 3ef7ca2879 updated download variables %!s(int64=9) %!d(string=hai) anos
fix_ro.sh 390feb9bc3 Merge branch 'develop' into feature/config %!s(int64=9) %!d(string=hai) anos
fix_rust.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
fix_steamcmd.sh a7e79a5350 renamed scriptlog to lgsmlog %!s(int64=9) %!d(string=hai) anos
fix_ut.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
fix_ut2k4.sh ebb0e38592 updated message %!s(int64=9) %!d(string=hai) anos
gsquery.py bc6eddb632 added madness engine to gsquery %!s(int64=9) %!d(string=hai) anos
info_config.sh 9ceb61574e imroving UT3 & KF2 details %!s(int64=8) %!d(string=hai) anos
info_distro.sh 3e6463f7b0 Now gets internet IP for servers that are behind NAT %!s(int64=8) %!d(string=hai) anos
info_glibc.sh 9d8200b44b stray letter %!s(int64=8) %!d(string=hai) anos
info_messages.sh 18a085a6e4 Added all alert types to details %!s(int64=8) %!d(string=hai) anos
info_parms.sh 26067f7572 added kf2 specific parms %!s(int64=8) %!d(string=hai) anos
install_complete.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
install_config.sh 2cdda18020 fixes #1308 as per @cedarlugs suggestion %!s(int64=8) %!d(string=hai) anos
install_dst_token.sh f95eede9a6 Merge branch 'feature/prompt' into feature/prompt-user-function %!s(int64=9) %!d(string=hai) anos
install_factorio_save.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
install_gslt.sh 839b6b4e3e Improved sed safety %!s(int64=8) %!d(string=hai) anos
install_header.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
install_logs.sh f277f8b282 corrected symlink message %!s(int64=9) %!d(string=hai) anos
install_minecraft_eula.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
install_mta_resources.sh 4c64348c0d removed libmysqlclient install as handled by fix_mta.sh %!s(int64=9) %!d(string=hai) anos
install_retry.sh f95eede9a6 Merge branch 'feature/prompt' into feature/prompt-user-function %!s(int64=9) %!d(string=hai) anos
install_server_dir.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
install_server_files.sh f6e3ef8a02 Unable to get symlink working. %!s(int64=8) %!d(string=hai) anos
install_squad_license.sh d63c710d5e Add install_squad_license to prompt user to add a license key if wanted %!s(int64=9) %!d(string=hai) anos
install_steamcmd.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
install_ts3db.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
install_unreal_tournament_eula.sh 6fbd530633 renamed filesdir to serverfiles %!s(int64=9) %!d(string=hai) anos
install_ut2k4_key.sh 11696acf5a Renamed LGSM to LinuxGSM %!s(int64=9) %!d(string=hai) anos
logs.sh 58e76e523d spelling %!s(int64=9) %!d(string=hai) anos
mods_core.sh e902468f78 $filename > $modfilename + tidy "] ; then" to "]; then" %!s(int64=9) %!d(string=hai) anos
mods_list.sh a6d09ec696 Fix simple bug %!s(int64=8) %!d(string=hai) anos
monitor_gsquery.sh 4559cee10c removed if [ "${gsquery}" == "yes" ]; then %!s(int64=9) %!d(string=hai) anos
update_factorio.sh 9caf66dbde moved " %!s(int64=8) %!d(string=hai) anos
update_minecraft.sh 0bfbdbc01f Got rid of double returns %!s(int64=9) %!d(string=hai) anos
update_mta.sh a33b33acbd Corrected server files path variable %!s(int64=9) %!d(string=hai) anos
update_mumble.sh 0bfbdbc01f Got rid of double returns %!s(int64=9) %!d(string=hai) anos
update_steamcmd.sh 0bfbdbc01f Got rid of double returns %!s(int64=9) %!d(string=hai) anos
update_ts3.sh 0bfbdbc01f Got rid of double returns %!s(int64=9) %!d(string=hai) anos

README.md

Linux Game Server Manager - Functions

These functions are universal functions that work in all scripts.

Function Names

Functions have been named to give an idea of what the function does.

  • core: Essential functions that will always run first.
  • command: Primary command function.
  • check: Runs checks that will either halt on or fix an issue.
  • dev: development functions.
  • fix: Applies a game server specific fix.
  • info: retrieves information from a source such as config file or the OS.
  • install: Functions related to the installer.
  • monitor: Functions related to monitor.
  • update: Functions that update the game server.