From e941925747d21f0f82304b15db627636812af59a Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 10 Jan 2021 15:58:38 +0000 Subject: [PATCH] updated header --- lgsm/functions/README.md | 18 +++++++++--------- lgsm/functions/alert.sh | 3 ++- lgsm/functions/alert_discord.sh | 4 ++-- lgsm/functions/alert_email.sh | 3 ++- lgsm/functions/alert_ifttt.sh | 3 ++- lgsm/functions/alert_mailgun.sh | 3 ++- lgsm/functions/alert_pushbullet.sh | 3 ++- lgsm/functions/alert_pushover.sh | 3 ++- lgsm/functions/alert_rocketchat.sh | 5 +++-- lgsm/functions/alert_slack.sh | 5 +++-- lgsm/functions/alert_telegram.sh | 7 ++++--- lgsm/functions/check.sh | 3 ++- lgsm/functions/check_config.sh | 3 ++- lgsm/functions/check_deps.sh | 3 ++- lgsm/functions/check_executable.sh | 3 ++- lgsm/functions/check_glibc.sh | 3 ++- lgsm/functions/check_ip.sh | 3 ++- lgsm/functions/check_last_update.sh | 3 ++- lgsm/functions/check_logs.sh | 3 ++- lgsm/functions/check_permissions.sh | 2 +- lgsm/functions/check_root.sh | 3 ++- lgsm/functions/check_status.sh | 4 ++-- lgsm/functions/check_steamcmd.sh | 3 ++- lgsm/functions/check_system_dir.sh | 3 ++- lgsm/functions/check_system_requirements.sh | 2 +- lgsm/functions/check_tmuxception.sh | 4 ++-- lgsm/functions/check_version.sh | 3 ++- lgsm/functions/command_backup.sh | 4 ++-- lgsm/functions/command_check_update.sh | 3 ++- lgsm/functions/command_console.sh | 3 ++- lgsm/functions/command_debug.sh | 3 ++- lgsm/functions/command_details.sh | 4 ++-- lgsm/functions/command_dev_clear_functions.sh | 3 ++- lgsm/functions/command_dev_debug.sh | 3 ++- lgsm/functions/command_dev_detect_deps.sh | 3 ++- lgsm/functions/command_dev_detect_glibc.sh | 3 ++- lgsm/functions/command_dev_detect_ldd.sh | 3 ++- lgsm/functions/command_dev_query_raw.sh | 3 ++- lgsm/functions/command_donate.sh | 3 ++- lgsm/functions/command_fastdl.sh | 4 ++-- lgsm/functions/command_install.sh | 4 ++-- .../functions/command_install_resources_mta.sh | 3 ++- lgsm/functions/command_mods_install.sh | 4 ++-- lgsm/functions/command_mods_remove.sh | 4 ++-- lgsm/functions/command_mods_update.sh | 4 ++-- lgsm/functions/command_monitor.sh | 4 ++-- lgsm/functions/command_postdetails.sh | 6 +++--- lgsm/functions/command_restart.sh | 3 ++- lgsm/functions/command_skeleton.sh | 3 ++- lgsm/functions/command_start.sh | 4 ++-- lgsm/functions/command_stop.sh | 4 ++-- lgsm/functions/command_test_alert.sh | 3 ++- lgsm/functions/command_ts3_server_pass.sh | 4 ++-- lgsm/functions/command_update.sh | 3 ++- lgsm/functions/command_update_linuxgsm.sh | 3 ++- lgsm/functions/command_validate.sh | 3 ++- lgsm/functions/command_wipe.sh | 4 ++-- lgsm/functions/compress_unreal2_maps.sh | 3 ++- lgsm/functions/compress_ut99_maps.sh | 3 ++- lgsm/functions/core_dl.sh | 4 ++-- lgsm/functions/core_exit.sh | 3 ++- lgsm/functions/core_functions.sh | 3 ++- lgsm/functions/core_getopt.sh | 3 ++- lgsm/functions/core_legacy.sh | 3 ++- lgsm/functions/core_logs.sh | 4 ++-- lgsm/functions/core_messages.sh | 4 ++-- lgsm/functions/core_steamcmd.sh | 3 ++- lgsm/functions/core_trap.sh | 3 ++- lgsm/functions/fix.sh | 3 ++- lgsm/functions/fix_ark.sh | 3 ++- lgsm/functions/fix_arma3.sh | 3 ++- lgsm/functions/fix_av.sh | 5 +++-- lgsm/functions/fix_bo.sh | 3 ++- lgsm/functions/fix_cmw.sh | 5 +++-- lgsm/functions/fix_csgo.sh | 3 ++- lgsm/functions/fix_dst.sh | 3 ++- lgsm/functions/fix_hw.sh | 3 ++- lgsm/functions/fix_ins.sh | 3 ++- lgsm/functions/fix_kf.sh | 3 ++- lgsm/functions/fix_kf2.sh | 3 ++- lgsm/functions/fix_mcb.sh | 3 ++- lgsm/functions/fix_mta.sh | 4 ++-- lgsm/functions/fix_nmrih.sh | 6 ++++-- lgsm/functions/fix_onset.sh | 5 +++-- lgsm/functions/fix_ro.sh | 3 ++- lgsm/functions/fix_rust.sh | 3 ++- lgsm/functions/fix_rw.sh | 3 ++- lgsm/functions/fix_samp.sh | 5 +++-- lgsm/functions/fix_sdtd.sh | 3 ++- lgsm/functions/fix_sfc.sh | 3 ++- lgsm/functions/fix_sof2.sh | 3 ++- lgsm/functions/fix_squad.sh | 5 +++-- lgsm/functions/fix_st.sh | 3 ++- lgsm/functions/fix_steamcmd.sh | 3 ++- lgsm/functions/fix_terraria.sh | 3 ++- lgsm/functions/fix_tf2.sh | 7 ++++--- lgsm/functions/fix_ts3.sh | 3 ++- lgsm/functions/fix_unt.sh | 3 ++- lgsm/functions/fix_ut.sh | 5 +++-- lgsm/functions/fix_ut2k4.sh | 3 ++- lgsm/functions/fix_ut3.sh | 3 ++- lgsm/functions/fix_wurm.sh | 3 ++- lgsm/functions/fix_zmr.sh | 3 ++- lgsm/functions/info_config.sh | 4 ++-- lgsm/functions/info_distro.sh | 3 ++- lgsm/functions/info_messages.sh | 3 ++- lgsm/functions/info_parms.sh | 3 ++- lgsm/functions/info_stats.sh | 6 +++--- lgsm/functions/install_complete.sh | 3 ++- lgsm/functions/install_config.sh | 3 ++- lgsm/functions/install_dst_token.sh | 5 +++-- lgsm/functions/install_eula.sh | 3 ++- lgsm/functions/install_factorio_save.sh | 5 +++-- lgsm/functions/install_gslt.sh | 3 ++- lgsm/functions/install_header.sh | 3 ++- lgsm/functions/install_logs.sh | 3 ++- lgsm/functions/install_modules.sh | 3 ++- lgsm/functions/install_mta_resources.sh | 4 ++-- lgsm/functions/install_retry.sh | 3 ++- lgsm/functions/install_server_dir.sh | 3 ++- lgsm/functions/install_server_files.sh | 3 ++- lgsm/functions/install_squad_license.sh | 3 ++- lgsm/functions/install_stats.sh | 3 ++- lgsm/functions/install_steamcmd.sh | 3 ++- lgsm/functions/install_ts3db.sh | 4 ++-- lgsm/functions/install_ut2k4_key.sh | 3 ++- lgsm/functions/mods_core.sh | 4 ++-- lgsm/functions/mods_list.sh | 4 ++-- lgsm/functions/query_gamedig.sh | 3 ++- lgsm/functions/query_gsquery.py | 5 +++-- lgsm/functions/update_factorio.sh | 3 ++- lgsm/functions/update_jediknight2.sh | 7 +++---- lgsm/functions/update_minecraft.sh | 3 ++- lgsm/functions/update_minecraft_bedrock.sh | 3 ++- lgsm/functions/update_mta.sh | 3 ++- lgsm/functions/update_mumble.sh | 3 ++- lgsm/functions/update_steamcmd.sh | 3 ++- lgsm/functions/update_ts3.sh | 3 ++- lgsm/functions/update_vintagestory.sh | 5 +++-- 139 files changed, 304 insertions(+), 195 deletions(-) diff --git a/lgsm/functions/README.md b/lgsm/functions/README.md index 01de5f0c7..c1c823fac 100755 --- a/lgsm/functions/README.md +++ b/lgsm/functions/README.md @@ -1,16 +1,16 @@ -# Linux Game Server Manager - Functions +# LinuxGSM - Modules -These functions are universal functions that work in all scripts. +These modules are scripts that are called upon by the primary script linuxgsm.sh -## Function Names -Functions have been named to give an idea of what the function does. +## Module Names +Modules have been named to give an idea of what the function does. -* core: Essential functions that will always run first. +* core: Essential modules that will always run first. * command: Primary command function. * check: Runs checks that will either halt on or fix an issue. -* dev: development functions. +* dev: development modules. * 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. +* install: modules related to the installer. +* monitor: modules related to monitor. +* update: modules that update the game server. diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 484c0c1e2..64fc25076 100755 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert.sh function +# LinuxGSM alert.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Overall function for managing alerts. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_discord.sh b/lgsm/functions/alert_discord.sh index a8ce373f0..e3289e0c6 100755 --- a/lgsm/functions/alert_discord.sh +++ b/lgsm/functions/alert_discord.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM alert_discord.sh function +# LinuxGSM alert_discord.sh module # Author: Daniel Gibbs -# Contributor: faflfama, diamondburned # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends Discord alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_email.sh b/lgsm/functions/alert_email.sh index 85c3ee9bc..45a441f9f 100755 --- a/lgsm/functions/alert_email.sh +++ b/lgsm/functions/alert_email.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_email.sh function +# LinuxGSM alert_email.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends email alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_ifttt.sh b/lgsm/functions/alert_ifttt.sh index faef505a5..674d4b261 100755 --- a/lgsm/functions/alert_ifttt.sh +++ b/lgsm/functions/alert_ifttt.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_ifttt.sh function +# LinuxGSM alert_ifttt.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends IFTTT alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_mailgun.sh b/lgsm/functions/alert_mailgun.sh index 5694bd595..7ba01d7d8 100755 --- a/lgsm/functions/alert_mailgun.sh +++ b/lgsm/functions/alert_mailgun.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_mailgun.sh function +# LinuxGSM alert_mailgun.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends Mailgun Email alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_pushbullet.sh b/lgsm/functions/alert_pushbullet.sh index 42a9b7d5d..809f16ad7 100755 --- a/lgsm/functions/alert_pushbullet.sh +++ b/lgsm/functions/alert_pushbullet.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_pushbullet.sh function +# LinuxGSM alert_pushbullet.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends Pushbullet Messenger alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_pushover.sh b/lgsm/functions/alert_pushover.sh index 848a2eea5..f1afbe24c 100755 --- a/lgsm/functions/alert_pushover.sh +++ b/lgsm/functions/alert_pushover.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_pushover.sh function +# LinuxGSM alert_pushover.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends Pushover alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_rocketchat.sh b/lgsm/functions/alert_rocketchat.sh index e6d4cf5ce..d17e55813 100755 --- a/lgsm/functions/alert_rocketchat.sh +++ b/lgsm/functions/alert_rocketchat.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_rocketchat.sh function -# Author: Alasdair Haig +# LinuxGSM alert_rocketchat.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends Rocketchat alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_slack.sh b/lgsm/functions/alert_slack.sh index c3a82d529..c972dfd8d 100755 --- a/lgsm/functions/alert_slack.sh +++ b/lgsm/functions/alert_slack.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_slack.sh function -# Author: Kenneth Lindeof +# LinuxGSM alert_slack.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends Slack alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/alert_telegram.sh b/lgsm/functions/alert_telegram.sh index 7b812246c..b1c2a4c9f 100755 --- a/lgsm/functions/alert_telegram.sh +++ b/lgsm/functions/alert_telegram.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM alert_telegram.sh function -# Author: Bennet Becker -# Website: https://bytegaming.de +# LinuxGSM alert_telegram.sh module +# Author: Daniel Gibbs +# Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends Telegram Messenger alert. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check.sh b/lgsm/functions/check.sh index 7ce2e9824..3a0723c28 100755 --- a/lgsm/functions/check.sh +++ b/lgsm/functions/check.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check.sh function +# LinuxGSM check.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Overall function for managing checks. # Runs checks that will either halt on or fix an issue. diff --git a/lgsm/functions/check_config.sh b/lgsm/functions/check_config.sh index ce9035744..000f3413b 100755 --- a/lgsm/functions/check_config.sh +++ b/lgsm/functions/check_config.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_config.sh function +# LinuxGSM check_config.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if the server config is missing and warns the user if needed. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index 5a9b34be8..9256087e9 100755 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_deps.sh function +# LinuxGSM check_deps.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if required dependencies are installed for LinuxGSM. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_executable.sh b/lgsm/functions/check_executable.sh index 8623dc303..f9fddcaec 100755 --- a/lgsm/functions/check_executable.sh +++ b/lgsm/functions/check_executable.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_executable.sh function +# LinuxGSM check_executable.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if server executable exists. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_glibc.sh b/lgsm/functions/check_glibc.sh index 02f7ad459..6208b82ee 100755 --- a/lgsm/functions/check_glibc.sh +++ b/lgsm/functions/check_glibc.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_glibc.sh function +# LinuxGSM check_glibc.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if the server has the correct Glibc version. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_ip.sh b/lgsm/functions/check_ip.sh index a4ddf7ae0..8f3b1d5bc 100755 --- a/lgsm/functions/check_ip.sh +++ b/lgsm/functions/check_ip.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_ip.sh function +# LinuxGSM check_ip.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Automatically identifies the server interface IP. # If multiple interfaces are detected the user will need to manually set using ip="0.0.0.0". diff --git a/lgsm/functions/check_last_update.sh b/lgsm/functions/check_last_update.sh index 99253d749..103245edf 100755 --- a/lgsm/functions/check_last_update.sh +++ b/lgsm/functions/check_last_update.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_last_update.sh function +# LinuxGSM check_last_update.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks lock file to see when last update happened. # Will reboot server if instance not rebooted since update. diff --git a/lgsm/functions/check_logs.sh b/lgsm/functions/check_logs.sh index 694b1678a..96c118ddd 100755 --- a/lgsm/functions/check_logs.sh +++ b/lgsm/functions/check_logs.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_logs.sh function +# LinuxGSM check_logs.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if log files exist. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_permissions.sh b/lgsm/functions/check_permissions.sh index 7f95f5da7..60cda9152 100755 --- a/lgsm/functions/check_permissions.sh +++ b/lgsm/functions/check_permissions.sh @@ -1,8 +1,8 @@ #!/bin/bash # LinuxGSM check_permissions.sh # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks ownership & permissions of scripts, files and directories. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_root.sh b/lgsm/functions/check_root.sh index b6886938f..7bd5abae8 100755 --- a/lgsm/functions/check_root.sh +++ b/lgsm/functions/check_root.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_root.sh function +# LinuxGSM check_root.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if the user tried to run the script as root. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_status.sh b/lgsm/functions/check_status.sh index 178adcf6b..ec3d94736 100755 --- a/lgsm/functions/check_status.sh +++ b/lgsm/functions/check_status.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM check_status.sh function +# LinuxGSM check_status.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks the process status of the server. Either online or offline. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_steamcmd.sh b/lgsm/functions/check_steamcmd.sh index 9141acd0d..712bf1fe7 100755 --- a/lgsm/functions/check_steamcmd.sh +++ b/lgsm/functions/check_steamcmd.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_steamcmd.sh function +# LinuxGSM check_steamcmd.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if SteamCMD is installed correctly. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_system_dir.sh b/lgsm/functions/check_system_dir.sh index ce7ff5ba5..463260806 100755 --- a/lgsm/functions/check_system_dir.sh +++ b/lgsm/functions/check_system_dir.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM check_system_dir.sh function +# LinuxGSM check_system_dir.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if systemdir/serverfiles is accessible. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_system_requirements.sh b/lgsm/functions/check_system_requirements.sh index 7a8b73de5..8cc01dd95 100755 --- a/lgsm/functions/check_system_requirements.sh +++ b/lgsm/functions/check_system_requirements.sh @@ -1,8 +1,8 @@ #!/bin/bash # LinuxGSM check_system_requirements.sh # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks RAM requirements functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_tmuxception.sh b/lgsm/functions/check_tmuxception.sh index 4f5fd2e29..932708419 100755 --- a/lgsm/functions/check_tmuxception.sh +++ b/lgsm/functions/check_tmuxception.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM check_config.sh function +# LinuxGSM check_config.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Checks if run from tmux or screen functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/check_version.sh b/lgsm/functions/check_version.sh index 15f0284bb..3bf01cdbf 100755 --- a/lgsm/functions/check_version.sh +++ b/lgsm/functions/check_version.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_version.sh function +# LinuxGSM command_version.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Will run update-lgsm if gameserver.sh and modules version does not match # this will allow gameserver.sh to update - useful for multi instance servers. diff --git a/lgsm/functions/command_backup.sh b/lgsm/functions/command_backup.sh index e778cb8a6..5214c2beb 100755 --- a/lgsm/functions/command_backup.sh +++ b/lgsm/functions/command_backup.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_backup.sh function +# LinuxGSM command_backup.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Creates a .tar.gz file in the backup directory. commandname="BACKUP" diff --git a/lgsm/functions/command_check_update.sh b/lgsm/functions/command_check_update.sh index 5bda55469..9792277d5 100755 --- a/lgsm/functions/command_check_update.sh +++ b/lgsm/functions/command_check_update.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_check_update.sh function +# LinuxGSM command_check_update.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of servers. commandname="CHECK-UPDATE" diff --git a/lgsm/functions/command_console.sh b/lgsm/functions/command_console.sh index 0de924ea6..fc873b5a5 100755 --- a/lgsm/functions/command_console.sh +++ b/lgsm/functions/command_console.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_console.sh function +# LinuxGSM command_console.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Gives access to the server tmux console. commandname="CONSOLE" diff --git a/lgsm/functions/command_debug.sh b/lgsm/functions/command_debug.sh index fe2e8a38e..9c0564370 100755 --- a/lgsm/functions/command_debug.sh +++ b/lgsm/functions/command_debug.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_debug.sh function +# LinuxGSM command_debug.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Runs the server without tmux and directly from the terminal. commandname="DEBUG" diff --git a/lgsm/functions/command_details.sh b/lgsm/functions/command_details.sh index 2db605656..8bddc2942 100755 --- a/lgsm/functions/command_details.sh +++ b/lgsm/functions/command_details.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_details.sh function +# LinuxGSM command_details.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Displays server information. commandname="DETAILS" diff --git a/lgsm/functions/command_dev_clear_functions.sh b/lgsm/functions/command_dev_clear_functions.sh index 96a637c52..6b94b78dc 100755 --- a/lgsm/functions/command_dev_clear_functions.sh +++ b/lgsm/functions/command_dev_clear_functions.sh @@ -1,7 +1,8 @@ #!/bin/bash -# command_dev_clear_functions.sh function +# LinuxGSM command_dev_clear_functions.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Deletes the contents of the functions dir. commandname="DEV-CLEAR-MODULES" diff --git a/lgsm/functions/command_dev_debug.sh b/lgsm/functions/command_dev_debug.sh index e959509cd..f4fbdf5d4 100755 --- a/lgsm/functions/command_dev_debug.sh +++ b/lgsm/functions/command_dev_debug.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_dev_debug.sh function +# LinuxGSM command_dev_debug.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Dev only: Enables debugging log to be saved to dev-debug.log. commandname="DEV-DEBUG" diff --git a/lgsm/functions/command_dev_detect_deps.sh b/lgsm/functions/command_dev_detect_deps.sh index 2a620fd66..b6d910d31 100755 --- a/lgsm/functions/command_dev_detect_deps.sh +++ b/lgsm/functions/command_dev_detect_deps.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_dev_detect_deps.sh function +# LinuxGSM command_dev_detect_deps.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Detects dependencies the server binary requires. commandname="DEV-DETECT-DEPS" diff --git a/lgsm/functions/command_dev_detect_glibc.sh b/lgsm/functions/command_dev_detect_glibc.sh index e538c456e..8125efb57 100755 --- a/lgsm/functions/command_dev_detect_glibc.sh +++ b/lgsm/functions/command_dev_detect_glibc.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_dev_detect_glibc.sh function +# LinuxGSM command_dev_detect_glibc.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Automatically detects the version of GLIBC that is required. # Can check a file or directory recursively. diff --git a/lgsm/functions/command_dev_detect_ldd.sh b/lgsm/functions/command_dev_detect_ldd.sh index e6ddfb09f..acbf7e0c5 100755 --- a/lgsm/functions/command_dev_detect_ldd.sh +++ b/lgsm/functions/command_dev_detect_ldd.sh @@ -1,7 +1,8 @@ #!/bin/bash -# command_dev_detect_ldd.sh function +# LinuxGSM command_dev_detect_ldd.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Automatically detects required deps using ldd. # Can check a file or directory recursively. diff --git a/lgsm/functions/command_dev_query_raw.sh b/lgsm/functions/command_dev_query_raw.sh index ac1e9f688..75e44b4e4 100755 --- a/lgsm/functions/command_dev_query_raw.sh +++ b/lgsm/functions/command_dev_query_raw.sh @@ -1,7 +1,8 @@ #!/bin/bash -# command_dev_query_raw.sh function +# LinuxGSM command_dev_query_raw.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Raw gamedig output of the server. commandname="DEV-QUERY-RAW" diff --git a/lgsm/functions/command_donate.sh b/lgsm/functions/command_donate.sh index 18e6dce5a..cbef1676c 100755 --- a/lgsm/functions/command_donate.sh +++ b/lgsm/functions/command_donate.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_donate.sh function +# LinuxGSM command_donate.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Shows ways to donate. commandname="DONATE" diff --git a/lgsm/functions/command_fastdl.sh b/lgsm/functions/command_fastdl.sh index 4f8ebd863..a72b90b6c 100755 --- a/lgsm/functions/command_fastdl.sh +++ b/lgsm/functions/command_fastdl.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_fastdl.sh function +# LinuxGSM command_fastdl.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Creates a FastDL directory. commandname="FASTDL" diff --git a/lgsm/functions/command_install.sh b/lgsm/functions/command_install.sh index 3e5d27872..612585926 100755 --- a/lgsm/functions/command_install.sh +++ b/lgsm/functions/command_install.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_install.sh function +# LinuxGSM command_install.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Overall function for the installer. commandname="INSTALL" diff --git a/lgsm/functions/command_install_resources_mta.sh b/lgsm/functions/command_install_resources_mta.sh index 503948a3c..54052608f 100755 --- a/lgsm/functions/command_install_resources_mta.sh +++ b/lgsm/functions/command_install_resources_mta.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_install_resources_mta.sh function +# LinuxGSM command_install_resources_mta.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Installs the default resources for Multi Theft Auto. commandname="DEFAULT-RESOURCES" diff --git a/lgsm/functions/command_mods_install.sh b/lgsm/functions/command_mods_install.sh index d644e0cf0..973721166 100755 --- a/lgsm/functions/command_mods_install.sh +++ b/lgsm/functions/command_mods_install.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_mods_install.sh function +# LinuxGSM command_mods_install.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: List and installs available mods along with mods_list.sh and mods_core.sh. commandname="MODS-INSTALL" diff --git a/lgsm/functions/command_mods_remove.sh b/lgsm/functions/command_mods_remove.sh index 507251e87..5b748709e 100755 --- a/lgsm/functions/command_mods_remove.sh +++ b/lgsm/functions/command_mods_remove.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_mods_uninstall.sh function +# LinuxGSM command_mods_uninstall.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Uninstall mods along with mods_list.sh and mods_core.sh. commandname="MODS-REMOVE" diff --git a/lgsm/functions/command_mods_update.sh b/lgsm/functions/command_mods_update.sh index 9328a493d..f6f289a4a 100755 --- a/lgsm/functions/command_mods_update.sh +++ b/lgsm/functions/command_mods_update.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_mods_update.sh function +# LinuxGSM command_mods_update.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Updates installed mods along with mods_list.sh and mods_core.sh. commandname="MODS-UPDATE" diff --git a/lgsm/functions/command_monitor.sh b/lgsm/functions/command_monitor.sh index edc101012..e2f66bada 100755 --- a/lgsm/functions/command_monitor.sh +++ b/lgsm/functions/command_monitor.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_monitor.sh function +# LinuxGSM command_monitor.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Monitors server by checking for running processes # then passes to gamedig and gsquery. diff --git a/lgsm/functions/command_postdetails.sh b/lgsm/functions/command_postdetails.sh index 0f18b12a9..f4b8baa71 100755 --- a/lgsm/functions/command_postdetails.sh +++ b/lgsm/functions/command_postdetails.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_postdetails.sh function -# Author: CedarLUG -# Contributor: CedarLUG +# LinuxGSM command_postdetails.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Strips sensitive information out of Details output commandname="POST-DETAILS" diff --git a/lgsm/functions/command_restart.sh b/lgsm/functions/command_restart.sh index 9498c618c..54917feb3 100755 --- a/lgsm/functions/command_restart.sh +++ b/lgsm/functions/command_restart.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_restart.sh function +# LinuxGSM command_restart.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Restarts the server. commandname="MODS-INSTALL" diff --git a/lgsm/functions/command_skeleton.sh b/lgsm/functions/command_skeleton.sh index cb1136915..583ed4116 100644 --- a/lgsm/functions/command_skeleton.sh +++ b/lgsm/functions/command_skeleton.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_skeleton.sh function +# LinuxGSM command_skeleton.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Creates an copy of a game servers directorys. diff --git a/lgsm/functions/command_start.sh b/lgsm/functions/command_start.sh index 897cc90aa..7f78c8441 100755 --- a/lgsm/functions/command_start.sh +++ b/lgsm/functions/command_start.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_start.sh function +# LinuxGSM command_start.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Starts the server. commandname="START" diff --git a/lgsm/functions/command_stop.sh b/lgsm/functions/command_stop.sh index 6fe06e4ef..069cc3701 100644 --- a/lgsm/functions/command_stop.sh +++ b/lgsm/functions/command_stop.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_stop.sh function +# LinuxGSM command_stop.sh module # Author: Daniel Gibbs -# Contributors: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Stops the server. commandname="STOP" diff --git a/lgsm/functions/command_test_alert.sh b/lgsm/functions/command_test_alert.sh index 625d5c6c2..272fa4925 100755 --- a/lgsm/functions/command_test_alert.sh +++ b/lgsm/functions/command_test_alert.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_test_alert.sh function +# LinuxGSM command_test_alert.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Sends a test alert. commandname="TEST-ALERT" diff --git a/lgsm/functions/command_ts3_server_pass.sh b/lgsm/functions/command_ts3_server_pass.sh index ff75b71d2..83a6f45e5 100755 --- a/lgsm/functions/command_ts3_server_pass.sh +++ b/lgsm/functions/command_ts3_server_pass.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_ts3_server_pass.sh function +# LinuxGSM command_ts3_server_pass.sh module # Author: Daniel Gibbs -# Contributor : UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Changes TS3 serveradmin password. commandname="CHANGE-PASSWORD" diff --git a/lgsm/functions/command_update.sh b/lgsm/functions/command_update.sh index 718f5d490..90e11fa4f 100755 --- a/lgsm/functions/command_update.sh +++ b/lgsm/functions/command_update.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_update.sh function +# LinuxGSM command_update.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of servers. commandname="UPDATE" diff --git a/lgsm/functions/command_update_linuxgsm.sh b/lgsm/functions/command_update_linuxgsm.sh index 7e0ec57b6..4c4bab270 100755 --- a/lgsm/functions/command_update_linuxgsm.sh +++ b/lgsm/functions/command_update_linuxgsm.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_update_linuxgsm.sh function +# LinuxGSM command_update_linuxgsm.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Deletes the functions dir to allow re-downloading of functions from GitHub. commandname="UPDATE-LGSM" diff --git a/lgsm/functions/command_validate.sh b/lgsm/functions/command_validate.sh index 690a86b43..8b88acac2 100755 --- a/lgsm/functions/command_validate.sh +++ b/lgsm/functions/command_validate.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_validate.sh function +# LinuxGSM command_validate.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Runs a server validation. commandname="VALIDATE" diff --git a/lgsm/functions/command_wipe.sh b/lgsm/functions/command_wipe.sh index 3e0c53b2e..784397f2e 100755 --- a/lgsm/functions/command_wipe.sh +++ b/lgsm/functions/command_wipe.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_backup.sh function +# LinuxGSM command_backup.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Wipes server data, useful after updates for some games like Rust commandname="WIPE" diff --git a/lgsm/functions/compress_unreal2_maps.sh b/lgsm/functions/compress_unreal2_maps.sh index 7169c9612..88514389d 100755 --- a/lgsm/functions/compress_unreal2_maps.sh +++ b/lgsm/functions/compress_unreal2_maps.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM compress_unreal2_maps.sh function +# LinuxGSM compress_unreal2_maps.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Compresses unreal maps. commandname="MAP-COMPRESSOR" diff --git a/lgsm/functions/compress_ut99_maps.sh b/lgsm/functions/compress_ut99_maps.sh index 3239837a0..1b93bf0ea 100755 --- a/lgsm/functions/compress_ut99_maps.sh +++ b/lgsm/functions/compress_ut99_maps.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM compress_ut99_maps.sh function +# LinuxGSM compress_ut99_maps.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Compresses unreal maps. commandname="MAP-COMPRESSOR" diff --git a/lgsm/functions/core_dl.sh b/lgsm/functions/core_dl.sh index 7bb346a85..cd242db52 100755 --- a/lgsm/functions/core_dl.sh +++ b/lgsm/functions/core_dl.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM core_dl.sh function +# LinuxGSM core_dl.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Deals with all downloads for LinuxGSM. # remote_fileurl: The URL of the file: http://example.com/dl/File.tar.bz2 diff --git a/lgsm/functions/core_exit.sh b/lgsm/functions/core_exit.sh index e2b439abd..11e951088 100755 --- a/lgsm/functions/core_exit.sh +++ b/lgsm/functions/core_exit.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM core_exit.sh function +# LinuxGSM core_exit.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles exiting of LinuxGSM by running and reporting an exit code. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/core_functions.sh b/lgsm/functions/core_functions.sh index 3a8c77def..4b76fc135 100755 --- a/lgsm/functions/core_functions.sh +++ b/lgsm/functions/core_functions.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM core_functions.sh function +# LinuxGSM core_functions.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Defines all functions to allow download and execution of functions using fn_fetch_function. # This function is called first before any other function. Without this file other functions will not load. diff --git a/lgsm/functions/core_getopt.sh b/lgsm/functions/core_getopt.sh index 5fae3fb9f..02c69c689 100755 --- a/lgsm/functions/core_getopt.sh +++ b/lgsm/functions/core_getopt.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM core_getopt.sh function +# LinuxGSM core_getopt.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: getopt arguments. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/core_legacy.sh b/lgsm/functions/core_legacy.sh index 9c95adcaf..d001e5624 100755 --- a/lgsm/functions/core_legacy.sh +++ b/lgsm/functions/core_legacy.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM core_legacy.sh function +# LinuxGSM core_legacy.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Code for backwards compatability with older versions of LinuxGSM. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/core_logs.sh b/lgsm/functions/core_logs.sh index 00c4d0662..daec31233 100755 --- a/lgsm/functions/core_logs.sh +++ b/lgsm/functions/core_logs.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM core_logs.sh function +# LinuxGSM core_logs.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Acts as a log rotator, removing old logs. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/core_messages.sh b/lgsm/functions/core_messages.sh index c467c2a4d..1868d326b 100755 --- a/lgsm/functions/core_messages.sh +++ b/lgsm/functions/core_messages.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM core_messages.sh function +# LinuxGSM core_messages.sh module # Author: Daniel Gibbs -# Contributor: s-eam # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Defines on-screen messages such as [ OK ] and how script logs look. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/core_steamcmd.sh b/lgsm/functions/core_steamcmd.sh index 582eb93b6..a2e53aa5f 100755 --- a/lgsm/functions/core_steamcmd.sh +++ b/lgsm/functions/core_steamcmd.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM core_steamcmd.sh function +# LinuxGSM core_steamcmd.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Core functions for SteamCMD functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/core_trap.sh b/lgsm/functions/core_trap.sh index 769c27c96..34d818c92 100755 --- a/lgsm/functions/core_trap.sh +++ b/lgsm/functions/core_trap.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM core_trap.sh function +# LinuxGSM core_trap.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles CTRL-C trap to give an exit code. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index 2e2931e41..97f44a7d3 100755 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix.sh function +# LinuxGSM fix.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Overall function for managing fixes. # Runs functions that will fix an issue. diff --git a/lgsm/functions/fix_ark.sh b/lgsm/functions/fix_ark.sh index 4c4cf3f32..fd895019f 100755 --- a/lgsm/functions/fix_ark.sh +++ b/lgsm/functions/fix_ark.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_ark.sh function +# LinuxGSM fix_ark.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with ARK: Survival Evolved. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_arma3.sh b/lgsm/functions/fix_arma3.sh index f71fcde7b..298fd909f 100755 --- a/lgsm/functions/fix_arma3.sh +++ b/lgsm/functions/fix_arma3.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_arma3.sh function +# LinuxGSM fix_arma3.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves an issue with ARMA3. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_av.sh b/lgsm/functions/fix_av.sh index 3edf7862b..9d6cf2261 100755 --- a/lgsm/functions/fix_av.sh +++ b/lgsm/functions/fix_av.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_av.sh function -# Author: Christian Birk +# LinuxGSM fix_av.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves startup issue with Avorion functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_bo.sh b/lgsm/functions/fix_bo.sh index 545504f63..4d739ef9b 100644 --- a/lgsm/functions/fix_bo.sh +++ b/lgsm/functions/fix_bo.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_hw.sh function +# LinuxGSM fix_hw.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Ballistic Overkill. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_cmw.sh b/lgsm/functions/fix_cmw.sh index 2f517b1b7..cbdb3c2bb 100755 --- a/lgsm/functions/fix_cmw.sh +++ b/lgsm/functions/fix_cmw.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_cmw.sh function -# Author: Christian Birk +# LinuxGSM fix_cmw.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves the issue of the not starting server on linux if [ ! -f "${executabledir}/steam_appid.txt" ]; then diff --git a/lgsm/functions/fix_csgo.sh b/lgsm/functions/fix_csgo.sh index 6b213d388..04de2c5b0 100755 --- a/lgsm/functions/fix_csgo.sh +++ b/lgsm/functions/fix_csgo.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_csgo.sh function +# LinuxGSM fix_csgo.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with CS:GO. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_dst.sh b/lgsm/functions/fix_dst.sh index b203e1cd8..c32941878 100755 --- a/lgsm/functions/fix_dst.sh +++ b/lgsm/functions/fix_dst.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_dst.sh function +# LinuxGSM fix_dst.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Don't Starve Together. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_hw.sh b/lgsm/functions/fix_hw.sh index 4fc3dcd0d..af7cc0120 100755 --- a/lgsm/functions/fix_hw.sh +++ b/lgsm/functions/fix_hw.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_hw.sh function +# LinuxGSM fix_hw.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Hurtworld. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_ins.sh b/lgsm/functions/fix_ins.sh index f41dffbd4..ae1f7d547 100755 --- a/lgsm/functions/fix_ins.sh +++ b/lgsm/functions/fix_ins.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_ins.sh function +# LinuxGSM fix_ins.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Insurgency. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_kf.sh b/lgsm/functions/fix_kf.sh index c4a294515..d07d59a6c 100755 --- a/lgsm/functions/fix_kf.sh +++ b/lgsm/functions/fix_kf.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_kf.sh function +# LinuxGSM fix_kf.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Killing Floor. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_kf2.sh b/lgsm/functions/fix_kf2.sh index e826dea2a..a0888f476 100755 --- a/lgsm/functions/fix_kf2.sh +++ b/lgsm/functions/fix_kf2.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_kf2.sh function +# LinuxGSM fix_kf2.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Killing Floor 2. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_mcb.sh b/lgsm/functions/fix_mcb.sh index 691647fb7..9e1b71eaf 100755 --- a/lgsm/functions/fix_mcb.sh +++ b/lgsm/functions/fix_mcb.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_mcb.sh function +# LinuxGSM fix_mcb.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves possible startup issue with Minecraft Bedrock. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_mta.sh b/lgsm/functions/fix_mta.sh index 549101a68..a8954981b 100755 --- a/lgsm/functions/fix_mta.sh +++ b/lgsm/functions/fix_mta.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM fix_mta.sh function +# LinuxGSM fix_mta.sh module # Author: Daniel Gibbs -# Contributor: ChaosMTA # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Installs the libmysqlclient for database functions on the server. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_nmrih.sh b/lgsm/functions/fix_nmrih.sh index 2c9d8c743..67385fff1 100755 --- a/lgsm/functions/fix_nmrih.sh +++ b/lgsm/functions/fix_nmrih.sh @@ -1,6 +1,8 @@ #!/bin/bash -# LinuxGSM fix_nmrih.sh function -# Author: Denperidge +# LinuxGSM fix_nmrih.sh module +# Author: Daniel Gibbs +# Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Create symlinks for renamed No More Room In Hell serverfiles. # Solution from Steam Community post: https://steamcommunity.com/app/224260/discussions/2/1732089092441769414/ diff --git a/lgsm/functions/fix_onset.sh b/lgsm/functions/fix_onset.sh index 630245844..745e7bd8d 100755 --- a/lgsm/functions/fix_onset.sh +++ b/lgsm/functions/fix_onset.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_onset.sh function -# Author: Frédéric C. +# LinuxGSM fix_onset.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Onset. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_ro.sh b/lgsm/functions/fix_ro.sh index c9254aa64..fd2e42b89 100755 --- a/lgsm/functions/fix_ro.sh +++ b/lgsm/functions/fix_ro.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_ro.sh function +# LinuxGSM fix_ro.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Red Orchestra. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_rust.sh b/lgsm/functions/fix_rust.sh index 607af491b..af386cb79 100755 --- a/lgsm/functions/fix_rust.sh +++ b/lgsm/functions/fix_rust.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_rust.sh function +# LinuxGSM fix_rust.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves startup issue with Rust. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_rw.sh b/lgsm/functions/fix_rw.sh index b02ec343e..6eadeacb2 100755 --- a/lgsm/functions/fix_rw.sh +++ b/lgsm/functions/fix_rw.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_rw.sh function +# LinuxGSM fix_rw.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Rising World. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_samp.sh b/lgsm/functions/fix_samp.sh index b69779019..0aeaf8dab 100644 --- a/lgsm/functions/fix_samp.sh +++ b/lgsm/functions/fix_samp.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_sfc.sh function -# Author: Christian Birk +# LinuxGSM fix_sfc.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves issue that the default rcon password is not changed functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_sdtd.sh b/lgsm/functions/fix_sdtd.sh index 2709102c4..bee7d0647 100755 --- a/lgsm/functions/fix_sdtd.sh +++ b/lgsm/functions/fix_sdtd.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_sdtd.sh function +# LinuxGSM fix_sdtd.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with 7 Days to Die. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_sfc.sh b/lgsm/functions/fix_sfc.sh index 874d6eca7..122f9fb6b 100755 --- a/lgsm/functions/fix_sfc.sh +++ b/lgsm/functions/fix_sfc.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_sfc.sh function +# LinuxGSM fix_sfc.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Source Forts Classic. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_sof2.sh b/lgsm/functions/fix_sof2.sh index 51224c8e0..74899d3c7 100755 --- a/lgsm/functions/fix_sof2.sh +++ b/lgsm/functions/fix_sof2.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_rust.sh function +# LinuxGSM fix_rust.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Soldier of Fortune 2. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_squad.sh b/lgsm/functions/fix_squad.sh index 8ec84a86f..778ec4e6e 100644 --- a/lgsm/functions/fix_squad.sh +++ b/lgsm/functions/fix_squad.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_squad.sh function -# Author: Christian Birk +# LinuxGSM fix_squad.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Squad. # As the server base dir changed for the game, we need to migrate the default config from the old to the new location diff --git a/lgsm/functions/fix_st.sh b/lgsm/functions/fix_st.sh index 2495264da..e9bba33be 100644 --- a/lgsm/functions/fix_st.sh +++ b/lgsm/functions/fix_st.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_rust.sh function +# LinuxGSM fix_rust.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves startup issue with Stationeers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_steamcmd.sh b/lgsm/functions/fix_steamcmd.sh index 01465b45e..82c3d17bd 100755 --- a/lgsm/functions/fix_steamcmd.sh +++ b/lgsm/functions/fix_steamcmd.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_steamcmd.sh function +# LinuxGSM fix_steamcmd.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues related to SteamCMD. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_terraria.sh b/lgsm/functions/fix_terraria.sh index 712416bd8..5347514ee 100755 --- a/lgsm/functions/fix_terraria.sh +++ b/lgsm/functions/fix_terraria.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_terraria.sh function +# LinuxGSM fix_terraria.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves an issue with Terraria. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_tf2.sh b/lgsm/functions/fix_tf2.sh index 59b841226..556bf067e 100755 --- a/lgsm/functions/fix_tf2.sh +++ b/lgsm/functions/fix_tf2.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_tf2.sh function -# Author: Vector Sigma -# Website: https://github.com/vectorsigma +# LinuxGSM fix_tf2.sh module +# Author: Daniel Gibbs +# Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Team Fortress 2. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_ts3.sh b/lgsm/functions/fix_ts3.sh index b019012f7..aa3997282 100755 --- a/lgsm/functions/fix_ts3.sh +++ b/lgsm/functions/fix_ts3.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_ts3.sh function +# LinuxGSM fix_ts3.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Teamspeak 3. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_unt.sh b/lgsm/functions/fix_unt.sh index d030ef318..f6bdb59bb 100755 --- a/lgsm/functions/fix_unt.sh +++ b/lgsm/functions/fix_unt.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_rust.sh function +# LinuxGSM fix_rust.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves startup issue with Unturned. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_ut.sh b/lgsm/functions/fix_ut.sh index f9c81348a..d7615c18c 100755 --- a/lgsm/functions/fix_ut.sh +++ b/lgsm/functions/fix_ut.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_ut.sh function -# Author: Alexander Hurd +# LinuxGSM fix_ut.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Unreal Tournament. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_ut2k4.sh b/lgsm/functions/fix_ut2k4.sh index cc1621815..b0d86577a 100755 --- a/lgsm/functions/fix_ut2k4.sh +++ b/lgsm/functions/fix_ut2k4.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_ut2k4.sh function +# LinuxGSM fix_ut2k4.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Unreal Tournament 2004. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_ut3.sh b/lgsm/functions/fix_ut3.sh index 402683bf1..49fa91e3b 100755 --- a/lgsm/functions/fix_ut3.sh +++ b/lgsm/functions/fix_ut3.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_ut2.sh function +# LinuxGSM fix_ut2.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Unreal Tournament 3. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_wurm.sh b/lgsm/functions/fix_wurm.sh index bf53e35b0..c2f06c176 100755 --- a/lgsm/functions/fix_wurm.sh +++ b/lgsm/functions/fix_wurm.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_wurm.sh function +# LinuxGSM fix_wurm.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Wurm Unlimited. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/fix_zmr.sh b/lgsm/functions/fix_zmr.sh index 1825fa327..05eead543 100755 --- a/lgsm/functions/fix_zmr.sh +++ b/lgsm/functions/fix_zmr.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM fix_sfc.sh function +# LinuxGSM fix_sfc.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Resolves various issues with Zombie Master: Reborn. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index 3720c421e..e97ca14bf 100755 --- a/lgsm/functions/info_config.sh +++ b/lgsm/functions/info_config.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM info_config.sh function +# LinuxGSM info_config.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Gets specific details from config files. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/info_distro.sh b/lgsm/functions/info_distro.sh index 11da3cc63..dbcc93c1e 100755 --- a/lgsm/functions/info_distro.sh +++ b/lgsm/functions/info_distro.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM info_distro.sh function +# LinuxGSM info_distro.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Variables providing useful info on the Operating System such as disk and performace info. # Used for command_details.sh, command_debug.sh and alert.sh. diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 93dbea45b..c22038500 100755 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM info_messages.sh function +# LinuxGSM info_messages.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Defines server info messages for details and alerts. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/info_parms.sh b/lgsm/functions/info_parms.sh index 74c29b9df..00a02f44f 100755 --- a/lgsm/functions/info_parms.sh +++ b/lgsm/functions/info_parms.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM info_parms.sh function +# LinuxGSM info_parms.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: If specific parms are not set then this will be displayed in details. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/info_stats.sh b/lgsm/functions/info_stats.sh index 9bdee07fd..254edadc7 100755 --- a/lgsm/functions/info_stats.sh +++ b/lgsm/functions/info_stats.sh @@ -1,12 +1,12 @@ #!/bin/bash -# LinuxGSM info_stats.sh function +# LinuxGSM info_stats.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Collect optional Stats sent to LinuxGSM project. # Uses Google analytics. -local modulegroup="INFO" -local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" +function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" info_distro.sh diff --git a/lgsm/functions/install_complete.sh b/lgsm/functions/install_complete.sh index 62eec08a2..2268a65f7 100755 --- a/lgsm/functions/install_complete.sh +++ b/lgsm/functions/install_complete.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_complete.sh function +# LinuxGSM install_complete.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Prints installation completion message and hints. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_config.sh b/lgsm/functions/install_config.sh index 3efb46a65..776abcbf7 100755 --- a/lgsm/functions/install_config.sh +++ b/lgsm/functions/install_config.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_config.sh function +# LinuxGSM install_config.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Creates default server configs. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_dst_token.sh b/lgsm/functions/install_dst_token.sh index 7eab2a153..ffc13fb3c 100755 --- a/lgsm/functions/install_dst_token.sh +++ b/lgsm/functions/install_dst_token.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_dst_token.sh function -# Author: Daniel Gibbs & Marvin Lehmann (marvinl97) +# LinuxGSM install_dst_token.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Configures Don't Starve Together cluster with given token. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_eula.sh b/lgsm/functions/install_eula.sh index 1f50007f2..a8cb75c1c 100755 --- a/lgsm/functions/install_eula.sh +++ b/lgsm/functions/install_eula.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_eula.sh function +# LinuxGSM install_eula.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Gets user to accept the EULA. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_factorio_save.sh b/lgsm/functions/install_factorio_save.sh index 71690a7a7..d83d04381 100755 --- a/lgsm/functions/install_factorio_save.sh +++ b/lgsm/functions/install_factorio_save.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_factorio_save.sh function -# Author: Kristian Polso +# LinuxGSM install_factorio_save.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Creates the initial save file for Factorio functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_gslt.sh b/lgsm/functions/install_gslt.sh index 27d384936..b6b5f0686 100755 --- a/lgsm/functions/install_gslt.sh +++ b/lgsm/functions/install_gslt.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_gslt.sh function +# LinuxGSM install_gslt.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Configures GSLT. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_header.sh b/lgsm/functions/install_header.sh index 420b827f8..0811352bc 100755 --- a/lgsm/functions/install_header.sh +++ b/lgsm/functions/install_header.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_header.sh function +# LinuxGSM install_header.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Prints installation header. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_logs.sh b/lgsm/functions/install_logs.sh index 6a272f2ef..32c50b554 100755 --- a/lgsm/functions/install_logs.sh +++ b/lgsm/functions/install_logs.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_logs.sh function +# LinuxGSM install_logs.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Creates log directories. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_modules.sh b/lgsm/functions/install_modules.sh index cc516bea0..a695f05a0 100755 --- a/lgsm/functions/install_modules.sh +++ b/lgsm/functions/install_modules.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_modules.sh function +# LinuxGSM install_modules.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Downloads all modules on install echo -e "" diff --git a/lgsm/functions/install_mta_resources.sh b/lgsm/functions/install_mta_resources.sh index 194d9f546..8befa19b4 100755 --- a/lgsm/functions/install_mta_resources.sh +++ b/lgsm/functions/install_mta_resources.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM install_mta_resources.sh function +# LinuxGSM install_mta_resources.sh module # Author: Daniel Gibbs -# Contributor: ChaosMTA # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Installs the libmysqlclient for database functions on the server and optionally installs default resources required to run the server functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_retry.sh b/lgsm/functions/install_retry.sh index 070a4a816..7a9b8ba32 100755 --- a/lgsm/functions/install_retry.sh +++ b/lgsm/functions/install_retry.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_retry.sh function +# LinuxGSM install_retry.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Asks for installation retry after failure. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_server_dir.sh b/lgsm/functions/install_server_dir.sh index 77c5ab138..778f2c03d 100755 --- a/lgsm/functions/install_server_dir.sh +++ b/lgsm/functions/install_server_dir.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_server_dir.sh function +# LinuxGSM install_server_dir.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Creates the server directory. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_server_files.sh b/lgsm/functions/install_server_files.sh index a3c40da37..749b61083 100755 --- a/lgsm/functions/install_server_files.sh +++ b/lgsm/functions/install_server_files.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_server_files.sh function +# LinuxGSM install_server_files.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Installs server files. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_squad_license.sh b/lgsm/functions/install_squad_license.sh index b17b1ab7e..a48d81c85 100755 --- a/lgsm/functions/install_squad_license.sh +++ b/lgsm/functions/install_squad_license.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_squad_license.sh function +# LinuxGSM install_squad_license.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Configures the Squad server's license. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_stats.sh b/lgsm/functions/install_stats.sh index 355b7fa67..13d9a5ee9 100755 --- a/lgsm/functions/install_stats.sh +++ b/lgsm/functions/install_stats.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_stats.sh function +# LinuxGSM install_stats.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Enabled LinuxGSM Stats. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_steamcmd.sh b/lgsm/functions/install_steamcmd.sh index 40acf435b..082b0c167 100755 --- a/lgsm/functions/install_steamcmd.sh +++ b/lgsm/functions/install_steamcmd.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_steamcmd.sh function +# LinuxGSM install_steamcmd.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Downloads SteamCMD on install. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_ts3db.sh b/lgsm/functions/install_ts3db.sh index a77a0ea38..9e6aba633 100755 --- a/lgsm/functions/install_ts3db.sh +++ b/lgsm/functions/install_ts3db.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM install_ts3db.sh function +# LinuxGSM install_ts3db.sh module # Author: Daniel Gibbs -# Contributor: PhilPhonic # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Installs the database server MariaDB for TeamSpeak 3. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/install_ut2k4_key.sh b/lgsm/functions/install_ut2k4_key.sh index 144ac278e..4a829683d 100755 --- a/lgsm/functions/install_ut2k4_key.sh +++ b/lgsm/functions/install_ut2k4_key.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM install_ut2k4_key.sh function +# LinuxGSM install_ut2k4_key.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Activates ut2k4 server with given key. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/mods_core.sh b/lgsm/functions/mods_core.sh index 010ff109e..c5792b969 100755 --- a/lgsm/functions/mods_core.sh +++ b/lgsm/functions/mods_core.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM command_mods_install.sh function +# LinuxGSM command_mods_install.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Core functions for mods list/install/update/remove functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/mods_list.sh b/lgsm/functions/mods_list.sh index f60d9b30f..f1a21622a 100755 --- a/lgsm/functions/mods_list.sh +++ b/lgsm/functions/mods_list.sh @@ -1,8 +1,8 @@ #!/bin/bash -# LinuxGSM mods_list.sh function +# LinuxGSM mods_list.sh module # Author: Daniel Gibbs -# Contributor: UltimateByte # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Lists and defines available mods for LinuxGSM supported servers; works along with mods_core.sh. # Usage: To add a mod, you need to add an array variable following the guide to set proper values; # Usage: Then add this array to the mods_global_array. diff --git a/lgsm/functions/query_gamedig.sh b/lgsm/functions/query_gamedig.sh index 2443c6e99..a8f1bfa12 100755 --- a/lgsm/functions/query_gamedig.sh +++ b/lgsm/functions/query_gamedig.sh @@ -1,7 +1,8 @@ #!/bin/bash -# query_gamedig.sh function +# LinuxGSM query_gamedig.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Querys a gameserver using node-gamedig. # https://github.com/sonicsnes/node-gamedig diff --git a/lgsm/functions/query_gsquery.py b/lgsm/functions/query_gsquery.py index 376f704b7..77fdf505b 100755 --- a/lgsm/functions/query_gsquery.py +++ b/lgsm/functions/query_gsquery.py @@ -1,8 +1,9 @@ #! /usr/bin/env python3 # -*- coding: utf-8 -*- -# query_gsquery.py -# Author: Anonymous & Daniel Gibbs +# LinuxGSM query_gsquery.py function +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Allows querying of various game servers. import optparse diff --git a/lgsm/functions/update_factorio.sh b/lgsm/functions/update_factorio.sh index f13a48c43..9944cc961 100644 --- a/lgsm/functions/update_factorio.sh +++ b/lgsm/functions/update_factorio.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM update_factorio.sh function +# LinuxGSM update_factorio.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of Factorio servers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/update_jediknight2.sh b/lgsm/functions/update_jediknight2.sh index c2bdca1b6..1f0d1a4b9 100644 --- a/lgsm/functions/update_jediknight2.sh +++ b/lgsm/functions/update_jediknight2.sh @@ -1,12 +1,11 @@ #!/bin/bash -# LinuxGSM update_jk2.sh function +# LinuxGSM update_jk2.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of jk2 servers. -local commandname="UPDATE" -local commandaction="Update" -local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" +functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_update_jk2_dl(){ fn_fetch_file "https://github.com/mvdevs/jk2mv/releases/download/${remotebuild}/jk2mv-v${remotebuild}-dedicated.zip" "" "" "" "${tmpdir}" "jk2mv-${remotebuild}-dedicated.zip" "" "norun" "noforce" "nomd5" diff --git a/lgsm/functions/update_minecraft.sh b/lgsm/functions/update_minecraft.sh index 34adf43fc..fe34e3746 100755 --- a/lgsm/functions/update_minecraft.sh +++ b/lgsm/functions/update_minecraft.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM update_minecraft.sh function +# LinuxGSM update_minecraft.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of Minecraft servers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/update_minecraft_bedrock.sh b/lgsm/functions/update_minecraft_bedrock.sh index 34ada66b3..8e5bdc407 100644 --- a/lgsm/functions/update_minecraft_bedrock.sh +++ b/lgsm/functions/update_minecraft_bedrock.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM update_minecraft_bedrock.sh function +# LinuxGSM update_minecraft_bedrock.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of Minecraft Bedrock servers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/update_mta.sh b/lgsm/functions/update_mta.sh index 00ffc5a18..72c38ddce 100644 --- a/lgsm/functions/update_mta.sh +++ b/lgsm/functions/update_mta.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM update_mta.sh function +# LinuxGSM update_mta.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of Multi Theft Auto servers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/update_mumble.sh b/lgsm/functions/update_mumble.sh index 76ae837f3..07a28efc0 100644 --- a/lgsm/functions/update_mumble.sh +++ b/lgsm/functions/update_mumble.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM update_mumble.sh function +# LinuxGSM update_mumble.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of Mumble servers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/update_steamcmd.sh b/lgsm/functions/update_steamcmd.sh index 0733a57d2..e610f47d0 100644 --- a/lgsm/functions/update_steamcmd.sh +++ b/lgsm/functions/update_steamcmd.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM update_steamcmd.sh function +# LinuxGSM update_steamcmd.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating using SteamCMD. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/update_ts3.sh b/lgsm/functions/update_ts3.sh index b72979ff4..7ffe97be5 100644 --- a/lgsm/functions/update_ts3.sh +++ b/lgsm/functions/update_ts3.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM command_ts3.sh function +# LinuxGSM command_ts3.sh module # Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of Teamspeak 3 servers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" diff --git a/lgsm/functions/update_vintagestory.sh b/lgsm/functions/update_vintagestory.sh index 98568f3ca..6d87df7a7 100755 --- a/lgsm/functions/update_vintagestory.sh +++ b/lgsm/functions/update_vintagestory.sh @@ -1,7 +1,8 @@ #!/bin/bash -# LinuxGSM update_vintagestory.sh function -# Author: Christian Birk +# LinuxGSM update_vintagestory.sh module +# Author: Daniel Gibbs # Website: https://linuxgsm.com +# Contributors: http://linuxgsm.com/contrib # Description: Handles updating of Vintage Story servers. functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"