Daniel Gibbs 64d21a1b88 fix(mcserver):correct minecraft port info (#2284) %!s(int64=7) %!d(string=hai) anos
..
README.md 6a4444662d Fix typo in lgsm/functions README %!s(int64=9) %!d(string=hai) anos
alert.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
alert_discord.sh 76e0bd1d6e fix(alert): fix discord profile picture (#2175) %!s(int64=7) %!d(string=hai) anos
alert_email.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
alert_ifttt.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
alert_mailgun.sh 9ee6bdb666 SC2086 %!s(int64=7) %!d(string=hai) anos
alert_pushbullet.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
alert_pushover.sh bf31ed493a gametracker.com will always use extip if available %!s(int64=7) %!d(string=hai) anos
alert_telegram.sh bf31ed493a gametracker.com will always use extip if available %!s(int64=7) %!d(string=hai) anos
check.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
check_config.sh cfbc460667 refactor: shortname variable change (#2088) %!s(int64=7) %!d(string=hai) anos
check_deps.sh 31371c98de fix(install): Sudo prompt on auto-install mode %!s(int64=7) %!d(string=hai) anos
check_executable.sh c7413599d2 fix(check): prevent restart from bypassing check_executable (#2278) %!s(int64=7) %!d(string=hai) anos
check_glibc.sh e7df8b6a6e refactor(check): deprecate glibc fixes (#2118) %!s(int64=7) %!d(string=hai) anos
check_ip.sh cfbc460667 refactor: shortname variable change (#2088) %!s(int64=7) %!d(string=hai) anos
check_logs.sh cfbc460667 refactor: shortname variable change (#2088) %!s(int64=7) %!d(string=hai) anos
check_permissions.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
check_root.sh c05d51fec3 Dependency checking can run as root (#2032) %!s(int64=7) %!d(string=hai) anos
check_status.sh 9ee6bdb666 SC2086 %!s(int64=7) %!d(string=hai) anos
check_steamcmd.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
check_system_dir.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
check_system_requirements.sh 6e778e856e Post Scriptum (#1981) %!s(int64=7) %!d(string=hai) anos
check_tmuxception.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
command_backup.sh f66dc437a5 fix(backup): include hidden directories in backup or rootdir #2087 %!s(int64=7) %!d(string=hai) anos
command_console.sh fc4028296f refactor(docs): change all urls from the old wiki to new docs (#2122) %!s(int64=7) %!d(string=hai) anos
command_debug.sh e7df8b6a6e refactor(check): deprecate glibc fixes (#2118) %!s(int64=7) %!d(string=hai) anos
command_details.sh cfbc460667 refactor: shortname variable change (#2088) %!s(int64=7) %!d(string=hai) anos
command_dev_clear_functions.sh cfbc460667 refactor: shortname variable change (#2088) %!s(int64=7) %!d(string=hai) anos
command_dev_debug.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
command_dev_detect_deps.sh 178046321b updated detect_deps %!s(int64=7) %!d(string=hai) anos
command_dev_detect_glibc.sh e7df8b6a6e refactor(check): deprecate glibc fixes (#2118) %!s(int64=7) %!d(string=hai) anos
command_dev_detect_ldd.sh 6848c9dbf7 Revert " SC2168: 'local' is only valid in functions." %!s(int64=8) %!d(string=hai) anos
command_dev_query_raw.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
command_donate.sh 77bb111830 Added donate option %!s(int64=7) %!d(string=hai) anos
command_fastdl.sh cfe0bd83c8 corrected the documentation link %!s(int64=7) %!d(string=hai) anos
command_install.sh b6e3b1b191 feat(install): refactor gslt to automatically detect gslt variable (#2280) %!s(int64=7) %!d(string=hai) anos
command_install_resources_mta.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
command_mods_install.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
command_mods_remove.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
command_mods_update.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
command_monitor.sh 38164851bd fix(monitor): monitor does not continue to query if session has failed %!s(int64=7) %!d(string=hai) anos
command_postdetails.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
command_restart.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
command_start.sh 87b8ed40f7 fix(install): Teamspeak3 server installation with MariaDB fixed. (#2261) %!s(int64=7) %!d(string=hai) anos
command_stop.sh 3a6881ae3d fix(stop): correct minor print error %!s(int64=7) %!d(string=hai) anos
command_test_alert.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
command_ts3_server_pass.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
command_update.sh cfbc460667 refactor: shortname variable change (#2088) %!s(int64=7) %!d(string=hai) anos
command_update_functions.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
command_update_linuxgsm.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
command_validate.sh cfbc460667 refactor: shortname variable change (#2088) %!s(int64=7) %!d(string=hai) anos
command_wipe.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
compress_unreal2_maps.sh d887a1f1d5 Merge branch 'develop' into feature/codetidy %!s(int64=8) %!d(string=hai) anos
compress_ut99_maps.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
core_dl.sh 6ee091b5a7 codacy: Use "${var:?}" to ensure this never expands to /* . %!s(int64=7) %!d(string=hai) anos
core_exit.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
core_functions.sh 87b8ed40f7 fix(install): Teamspeak3 server installation with MariaDB fixed. (#2261) %!s(int64=7) %!d(string=hai) anos
core_getopt.sh 62a49df88b fix(ts3server): Change password will no longer show in all game servers apart from TS3 (#2273) %!s(int64=7) %!d(string=hai) anos
core_legacy.sh 9352e14234 added code to deal with old workshop vars %!s(int64=8) %!d(string=hai) anos
core_messages.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
core_trap.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
fix.sh 5058214388 fix(fix): re-add fix_tf2 and minor fix refactor (#2279) %!s(int64=7) %!d(string=hai) anos
fix_ark.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
fix_arma3.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
fix_coduo.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
fix_csgo.sh be00a13d54 REMOVE: workshop fix that is no longer necessary %!s(int64=7) %!d(string=hai) anos
fix_dst.sh 5058214388 fix(fix): re-add fix_tf2 and minor fix refactor (#2279) %!s(int64=7) %!d(string=hai) anos
fix_ges.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
fix_ins.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
fix_kf.sh 7c3074ea08 Fixed exitbypass not working for install fixes %!s(int64=7) %!d(string=hai) anos
fix_kf2.sh 7c3074ea08 Fixed exitbypass not working for install fixes %!s(int64=7) %!d(string=hai) anos
fix_mta.sh 5058214388 fix(fix): re-add fix_tf2 and minor fix refactor (#2279) %!s(int64=7) %!d(string=hai) anos
fix_ro.sh 7c3074ea08 Fixed exitbypass not working for install fixes %!s(int64=7) %!d(string=hai) anos
fix_rust.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
fix_rw.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
fix_sdtd.sh 820b0cf725 refactor(sdtd): changes required for A17 update (#2121) %!s(int64=7) %!d(string=hai) anos
fix_ss3.sh 5058214388 fix(fix): re-add fix_tf2 and minor fix refactor (#2279) %!s(int64=7) %!d(string=hai) anos
fix_steamcmd.sh 5058214388 fix(fix): re-add fix_tf2 and minor fix refactor (#2279) %!s(int64=7) %!d(string=hai) anos
fix_tf2.sh 5058214388 fix(fix): re-add fix_tf2 and minor fix refactor (#2279) %!s(int64=7) %!d(string=hai) anos
fix_ts3.sh 5058214388 fix(fix): re-add fix_tf2 and minor fix refactor (#2279) %!s(int64=7) %!d(string=hai) anos
fix_ut.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
fix_ut2k4.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
fix_ut3.sh 7c3074ea08 Fixed exitbypass not working for install fixes %!s(int64=7) %!d(string=hai) anos
fix_wurm.sh 2965c8a7c8 Wurm: Unlimited (#2041) %!s(int64=7) %!d(string=hai) anos
info_config.sh 64d21a1b88 fix(mcserver):correct minecraft port info (#2284) %!s(int64=7) %!d(string=hai) anos
info_distro.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
info_glibc.sh 6468e8e897 feat(newserver): Dystopia (#2245) %!s(int64=7) %!d(string=hai) anos
info_messages.sh 64d21a1b88 fix(mcserver):correct minecraft port info (#2284) %!s(int64=7) %!d(string=hai) anos
info_parms.sh 4c2fa9037a fix(rtcwserver): added ioquake3 engine to query %!s(int64=7) %!d(string=hai) anos
install_complete.sh 87b8ed40f7 fix(install): Teamspeak3 server installation with MariaDB fixed. (#2261) %!s(int64=7) %!d(string=hai) anos
install_config.sh 6468e8e897 feat(newserver): Dystopia (#2245) %!s(int64=7) %!d(string=hai) anos
install_dst_token.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
install_eula.sh 87b8ed40f7 fix(install): Teamspeak3 server installation with MariaDB fixed. (#2261) %!s(int64=7) %!d(string=hai) anos
install_factorio_save.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
install_gslt.sh 6e48c66e18 fix(bsserver): fix launch issue and add GSLT support (#2276) %!s(int64=7) %!d(string=hai) anos
install_header.sh 77bb111830 Added donate option %!s(int64=7) %!d(string=hai) anos
install_logs.sh ad8b2229ef Resolved Factorio Stable/Experimental downloads issue #1933 (#2051) %!s(int64=7) %!d(string=hai) anos
install_mta_resources.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
install_retry.sh 77f1f9ea23 changed to new domain linuxgsm.com %!s(int64=8) %!d(string=hai) anos
install_server_dir.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
install_server_files.sh 87b8ed40f7 fix(install): Teamspeak3 server installation with MariaDB fixed. (#2261) %!s(int64=7) %!d(string=hai) anos
install_squad_license.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
install_steamcmd.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
install_ts3db.sh 87b8ed40f7 fix(install): Teamspeak3 server installation with MariaDB fixed. (#2261) %!s(int64=7) %!d(string=hai) anos
install_ut2k4_key.sh fff8e0a2f5 Release 180409 %!s(int64=8) %!d(string=hai) anos
logs.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
mods_core.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
mods_list.sh 1e57f8e25c GOKZ and TTT are only CS:GO mods %!s(int64=7) %!d(string=hai) anos
query_gamedig.sh 4c2fa9037a fix(rtcwserver): added ioquake3 engine to query %!s(int64=7) %!d(string=hai) anos
query_gsquery.py 4c2fa9037a fix(rtcwserver): added ioquake3 engine to query %!s(int64=7) %!d(string=hai) anos
update_factorio.sh df27a40d8e fix(update): correct remotelocation for fctrserver %!s(int64=7) %!d(string=hai) anos
update_minecraft.sh 0a26d8a41a fix(mcserver): fix syntax error with localbuild #2257 %!s(int64=7) %!d(string=hai) anos
update_mta.sh 7edca8a44f fix mta download url %!s(int64=7) %!d(string=hai) anos
update_mumble.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
update_steamcmd.sh a79feaf34c feat(update): Update command refactor %!s(int64=7) %!d(string=hai) anos
update_ts3.sh 6ea05a3d85 codacy: Declare and assign separately to avoid masking return values. %!s(int64=7) %!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.