Browse Source

Renamed LGSM to LinuxGSM

For consistant branding.
pull/1323/head
Daniel Gibbs 8 years ago
parent
commit
11696acf5a
  1. 8
      CONTRIBUTING.md
  2. 2
      Hurtworld/hwserver
  3. 2
      images/logo/README.md
  4. 12
      lgsm/functions/alert.sh
  5. 2
      lgsm/functions/alert_email.sh
  6. 2
      lgsm/functions/alert_pushbullet.sh
  7. 2
      lgsm/functions/check.sh
  8. 2
      lgsm/functions/check_config.sh
  9. 8
      lgsm/functions/check_deps.sh
  10. 2
      lgsm/functions/check_executable.sh
  11. 2
      lgsm/functions/check_glibc.sh
  12. 2
      lgsm/functions/check_ip.sh
  13. 2
      lgsm/functions/check_logs.sh
  14. 2
      lgsm/functions/check_permissions.sh
  15. 2
      lgsm/functions/check_root.sh
  16. 4
      lgsm/functions/check_status.sh
  17. 2
      lgsm/functions/check_steamcmd.sh
  18. 2
      lgsm/functions/check_system_dir.sh
  19. 2
      lgsm/functions/check_system_requirements.sh
  20. 6
      lgsm/functions/check_tmuxception.sh
  21. 2
      lgsm/functions/command_backup.sh
  22. 2
      lgsm/functions/command_console.sh
  23. 2
      lgsm/functions/command_debug.sh
  24. 8
      lgsm/functions/command_details.sh
  25. 2
      lgsm/functions/command_dev_debug.sh
  26. 2
      lgsm/functions/command_dev_detect_deps.sh
  27. 2
      lgsm/functions/command_fastdl.sh
  28. 2
      lgsm/functions/command_install.sh
  29. 2
      lgsm/functions/command_install_resources_mta.sh
  30. 2
      lgsm/functions/command_mods_install.sh
  31. 2
      lgsm/functions/command_mods_remove.sh
  32. 2
      lgsm/functions/command_mods_update.sh
  33. 2
      lgsm/functions/command_monitor.sh
  34. 2
      lgsm/functions/command_postdetails.sh
  35. 2
      lgsm/functions/command_restart.sh
  36. 2
      lgsm/functions/command_start.sh
  37. 2
      lgsm/functions/command_stop.sh
  38. 2
      lgsm/functions/command_test_alert.sh
  39. 2
      lgsm/functions/command_ts3_server_pass.sh
  40. 2
      lgsm/functions/command_update.sh
  41. 6
      lgsm/functions/command_update_functions.sh
  42. 2
      lgsm/functions/command_validate.sh
  43. 4
      lgsm/functions/command_wipe.sh
  44. 2
      lgsm/functions/compress_unreal2_maps.sh
  45. 2
      lgsm/functions/compress_ut99_maps.sh
  46. 4
      lgsm/functions/core_dl.sh
  47. 4
      lgsm/functions/core_exit.sh
  48. 2
      lgsm/functions/core_functions.sh
  49. 2
      lgsm/functions/core_getopt.sh
  50. 2
      lgsm/functions/core_messages.sh
  51. 2
      lgsm/functions/core_trap.sh
  52. 2
      lgsm/functions/fix.sh
  53. 2
      lgsm/functions/fix_arma3.sh
  54. 2
      lgsm/functions/fix_coduo.sh
  55. 2
      lgsm/functions/fix_csgo.sh
  56. 2
      lgsm/functions/fix_dst.sh
  57. 2
      lgsm/functions/fix_ges.sh
  58. 2
      lgsm/functions/fix_glibc.sh
  59. 2
      lgsm/functions/fix_ins.sh
  60. 2
      lgsm/functions/fix_kf.sh
  61. 2
      lgsm/functions/fix_mta.sh
  62. 2
      lgsm/functions/fix_ro.sh
  63. 2
      lgsm/functions/fix_rust.sh
  64. 2
      lgsm/functions/fix_steamcmd.sh
  65. 2
      lgsm/functions/fix_ut.sh
  66. 2
      lgsm/functions/fix_ut2k4.sh
  67. 2
      lgsm/functions/fn_functions
  68. 2
      lgsm/functions/fn_getopt
  69. 2
      lgsm/functions/fn_update_functions
  70. 4
      lgsm/functions/info_config.sh
  71. 8
      lgsm/functions/info_distro.sh
  72. 2
      lgsm/functions/info_glibc.sh
  73. 2
      lgsm/functions/info_parms.sh
  74. 2
      lgsm/functions/install_complete.sh
  75. 2
      lgsm/functions/install_config.sh
  76. 4
      lgsm/functions/install_dst_token.sh
  77. 2
      lgsm/functions/install_factorio_save.sh
  78. 2
      lgsm/functions/install_gslt.sh
  79. 2
      lgsm/functions/install_header.sh
  80. 2
      lgsm/functions/install_logs.sh
  81. 2
      lgsm/functions/install_minecraft_eula.sh
  82. 2
      lgsm/functions/install_mta_resources.sh
  83. 2
      lgsm/functions/install_retry.sh
  84. 2
      lgsm/functions/install_server_dir.sh
  85. 2
      lgsm/functions/install_server_files.sh
  86. 2
      lgsm/functions/install_steamcmd.sh
  87. 2
      lgsm/functions/install_ts3db.sh
  88. 2
      lgsm/functions/install_unreal_tournament_eula.sh
  89. 2
      lgsm/functions/install_ut2k4_key.sh
  90. 2
      lgsm/functions/logs.sh
  91. 2
      lgsm/functions/mods_core.sh
  92. 6
      lgsm/functions/mods_list.sh
  93. 2
      lgsm/functions/monitor_gsquery.sh
  94. 2
      lgsm/functions/update_factorio.sh
  95. 2
      lgsm/functions/update_minecraft.sh
  96. 2
      lgsm/functions/update_mta.sh
  97. 2
      lgsm/functions/update_mumble.sh
  98. 2
      lgsm/functions/update_steamcmd.sh
  99. 2
      lgsm/functions/update_ts3.sh

8
CONTRIBUTING.md

@ -9,11 +9,11 @@ Before working on a project we recommend that you create a issue in regards to t
Here are some important resources: Here are some important resources:
* [Issues Page](https://github.com/GameServerManagers/LinuxGSM/issues) provides a list of areas that could use some work, * [Issues Page](https://github.com/GameServerManagers/LinuxGSM/issues) provides a list of areas that could use some work,
* [Developing LGSM](https://github.com/GameServerManagers/LinuxGSM/wiki/Developing-LGSM) gives a detailed guide on developing LGSM, * [Developing LinuxGSM](https://github.com/GameServerManagers/LinuxGSM/wiki/Developing-LGSM) gives a detailed guide on developing LGSM,
* [LGSM Exit Codes](https://github.com/GameServerManagers/LinuxGSM/wiki/LGSM-Exit-Codes) describes and gives an explanation for exit codes, * [LinuxGSM Exit Codes](https://github.com/GameServerManagers/LinuxGSM/wiki/LGSM-Exit-Codes) describes and gives an explanation for exit codes,
* [gsquery](https://github.com/GameServerManagers/LinuxGSM/wiki/gsquery.py) describes the uses of the gsquery.py file, and * [gsquery](https://github.com/GameServerManagers/LinuxGSM/wiki/gsquery.py) describes the uses of the gsquery.py file, and
* [Branching](https://github.com/GameServerManagers/LinuxGSM/wiki/Branching) is our final guide to submitting changes. * [Branching](https://github.com/GameServerManagers/LinuxGSM/wiki/Branching) is our final guide to submitting changes.
## Testing ## Testing
Please make sure all the code you write is working properly **before** you create a pull request. Information on debugging can be found in the following document: Please make sure all the code you write is working properly **before** you create a pull request. Information on debugging can be found in the following document:
@ -27,7 +27,7 @@ Please send a [GitHub Pull Request to LinuxGSM](https://github.com/GameServerMan
Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this: Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this:
$ git commit -m "A brief summary of the commit $ git commit -m "A brief summary of the commit
> >
> A paragraph describing what changed and its impact." > A paragraph describing what changed and its impact."
This will help us in understanding your code and determining where problems may arise. This will help us in understanding your code and determining where problems may arise.

2
Hurtworld/hwserver

@ -23,7 +23,7 @@ version="170212"
#### Server Settings #### #### Server Settings ####
## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
servername="Hurtworld LGSM Server" servername="Hurtworld LinuxGSM Server"
ip="0.0.0.0" ip="0.0.0.0"
port="12871" port="12871"
queryport="12881" queryport="12881"

2
images/logo/README.md

@ -1,3 +1,3 @@
# LGSM - Official Logos # LinuxGSM - Official Logos
For Reference the original design can be found here. For Reference the original design can be found here.
http://twolofbees.com/artwork.php?iid=870 http://twolofbees.com/artwork.php?iid=870

12
lgsm/functions/alert.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM alert.sh function # LinuxGSM alert.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Overall function for managing alerts. # Description: Overall function for managing alerts.
@ -9,25 +9,25 @@ local commandaction="Alert"
fn_alert_test(){ fn_alert_test(){
fn_script_log_info "Sending test alert" fn_script_log_info "Sending test alert"
alertsubject="LGSM - Test Alert - ${servername}" alertsubject="LinuxGSM - Test Alert - ${servername}"
alertbody="LGSM test alert, how you read?" alertbody="LinuxGSM test alert, how you read?"
} }
fn_alert_restart(){ fn_alert_restart(){
fn_script_log_info "Sending restart alert: ${executable} process not running" fn_script_log_info "Sending restart alert: ${executable} process not running"
alertsubject="LGSM - Restarted - ${servername}" alertsubject="LinuxGSM - Restarted - ${servername}"
alertbody="${servicename} ${executable} process not running" alertbody="${servicename} ${executable} process not running"
} }
fn_alert_restart_query(){ fn_alert_restart_query(){
fn_script_log_info "Sending restart alert: ${gsquerycmd}" fn_script_log_info "Sending restart alert: ${gsquerycmd}"
alertsubject="LGSM - Restarted - ${servername}" alertsubject="LinuxGSM - Restarted - ${servername}"
alertbody="gsquery.py failed to query: ${gsquerycmd}" alertbody="gsquery.py failed to query: ${gsquerycmd}"
} }
fn_alert_update(){ fn_alert_update(){
fn_script_log_info "Sending update alert" fn_script_log_info "Sending update alert"
alertsubject="LGSM - Updated - ${servername}" alertsubject="LinuxGSM - Updated - ${servername}"
alertbody="${servicename} received update" alertbody="${servicename} received update"
} }

2
lgsm/functions/alert_email.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM alert_email.sh function # LinuxGSM alert_email.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Sends email alert including server details and logs. # Description: Sends email alert including server details and logs.

2
lgsm/functions/alert_pushbullet.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM alert_pushbullet.sh function # LinuxGSM alert_pushbullet.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Sends Pushbullet alert including the server status. # Description: Sends Pushbullet alert including the server status.

2
lgsm/functions/check.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check.sh function # LinuxGSM check.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Overall function for managing checks. # Description: Overall function for managing checks.

2
lgsm/functions/check_config.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_config.sh function # LinuxGSM check_config.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if the server config is missing and warns the user if needed. # Description: Checks if the server config is missing and warns the user if needed.

8
lgsm/functions/check_deps.sh

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# LGSM check_deps.sh function # LinuxGSM check_deps.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if required dependencies are installed for LGSM. # Description: Checks if required dependencies are installed for LinuxGSM.
local commandname="CHECK" local commandname="CHECK"
@ -144,7 +144,7 @@ if [ -n "$(command -v dpkg-query)" ]; then
# Generate array of missing deps # Generate array of missing deps
array_deps_missing=() array_deps_missing=()
# LGSM requirements # LinuxGSM requirements
array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip unzip ) array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip unzip )
# All servers except ts3 require tmux # All servers except ts3 require tmux
@ -223,7 +223,7 @@ elif [ -n "$(command -v yum)" ]; then
# Generate array of missing deps # Generate array of missing deps
array_deps_missing=() array_deps_missing=()
# LGSM requirements # LinuxGSM requirements
if [ "${distroversion}" == "6" ]; then if [ "${distroversion}" == "6" ]; then
array_deps_required=( curl wget util-linux-ng python file gzip bzip2 unzip ) array_deps_required=( curl wget util-linux-ng python file gzip bzip2 unzip )
else else

2
lgsm/functions/check_executable.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_executable.sh function # LinuxGSM check_executable.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if executable exists. # Description: Checks if executable exists.

2
lgsm/functions/check_glibc.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_glibc.sh function # LinuxGSM check_glibc.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if the server has the correct Glibc version or a fix available. # Description: Checks if the server has the correct Glibc version or a fix available.

2
lgsm/functions/check_ip.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_ip.sh function # LinuxGSM check_ip.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Automatically identifies the server interface IP. # Description: Automatically identifies the server interface IP.

2
lgsm/functions/check_logs.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_logs.sh function # LinuxGSM check_logs.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if log files exist. # Description: Checks if log files exist.

2
lgsm/functions/check_permissions.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_permissions.sh # LinuxGSM check_permissions.sh
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/check_root.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_root.sh function # LinuxGSM check_root.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if the user tried to run the script as root. # Description: Checks if the user tried to run the script as root.

4
lgsm/functions/check_status.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_status.sh function # LinuxGSM check_status.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
@ -19,7 +19,7 @@ if [ "${gamename}" == "TeamSpeak 3" ]; then
ts3error="${status}" ts3error="${status}"
status=0 status=0
fi fi
elif [ "${gamename}" == "Mumble" ]; then elif [ "${gamename}" == "Mumble" ]; then
# Get config info # Get config info
info_config.sh info_config.sh

2
lgsm/functions/check_steamcmd.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_steamcmd.sh function # LinuxGSM check_steamcmd.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if SteamCMD is installed correctly. # Description: Checks if SteamCMD is installed correctly.

2
lgsm/functions/check_system_dir.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_system_dir.sh function # LinuxGSM check_system_dir.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Checks if systemdir is accessible. # Description: Checks if systemdir is accessible.

2
lgsm/functions/check_system_requirements.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_system_requirements.sh # LinuxGSM check_system_requirements.sh
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

6
lgsm/functions/check_tmuxception.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM check_config.sh function # LinuxGSM check_config.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
@ -11,7 +11,7 @@ fn_check_is_in_tmux(){
if [ -n "${TMUX}" ];then if [ -n "${TMUX}" ];then
fn_print_fail_nl "tmuxception error: Sorry Cobb you cannot start a tmux session inside of a tmux session." fn_print_fail_nl "tmuxception error: Sorry Cobb you cannot start a tmux session inside of a tmux session."
fn_script_log_fatal "Tmuxception error: Attempted to start a tmux session inside of a tmux session." fn_script_log_fatal "Tmuxception error: Attempted to start a tmux session inside of a tmux session."
fn_print_information_nl "LGSM creates a tmux session when starting the server." fn_print_information_nl "LinuxGSM creates a tmux session when starting the server."
echo "It is not possible to run a tmux session inside another tmux session" echo "It is not possible to run a tmux session inside another tmux session"
echo "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception" echo "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception"
core_exit.sh core_exit.sh
@ -21,7 +21,7 @@ fn_check_is_in_screen(){
if [ -n "${STY}" ];then if [ -n "${STY}" ];then
fn_print_fail_nl "tmuxception error: Sorry Cobb you cannot start a tmux session inside of a screen session." fn_print_fail_nl "tmuxception error: Sorry Cobb you cannot start a tmux session inside of a screen session."
fn_script_log_fatal "Tmuxception error: Attempted to start a tmux session inside of a screen session." fn_script_log_fatal "Tmuxception error: Attempted to start a tmux session inside of a screen session."
fn_print_information_nl "LGSM creates a tmux session when starting the server." fn_print_information_nl "LinuxGSM creates a tmux session when starting the server."
echo "It is not possible to run a tmux session inside screen session" echo "It is not possible to run a tmux session inside screen session"
echo "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception" echo "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception"
core_exit.sh core_exit.sh

2
lgsm/functions/command_backup.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_backup.sh function # LinuxGSM command_backup.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_console.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_console.sh function # LinuxGSM command_console.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Gives access to the server tmux console. # Description: Gives access to the server tmux console.

2
lgsm/functions/command_debug.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_debug.sh function # LinuxGSM command_debug.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Runs the server without tmux and directly from the terminal. # Description: Runs the server without tmux and directly from the terminal.

8
lgsm/functions/command_details.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_details.sh function # LinuxGSM command_details.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
@ -70,7 +70,7 @@ fn_details_disk(){
# Total: 15G # Total: 15G
# Used: 8.4G # Used: 8.4G
# Available: 5.7G # Available: 5.7G
# LGSM Total: 1G # LinuxGSM Total: 1G
# Serverfiles: 961M # Serverfiles: 961M
# Backups: 2G # Backups: 2G
@ -82,7 +82,7 @@ fn_details_disk(){
echo -e "${blue}Total:\t${default}${totalspace}" echo -e "${blue}Total:\t${default}${totalspace}"
echo -e "${blue}Used:\t${default}${usedspace}" echo -e "${blue}Used:\t${default}${usedspace}"
echo -e "${blue}Available:\t${default}${availspace}" echo -e "${blue}Available:\t${default}${availspace}"
echo -e "${blue}LGSM Total:\t${default}${rootdirdu}" echo -e "${blue}LinuxGSM Total:\t${default}${rootdirdu}"
echo -e "${blue}Serverfiles:\t${default}${filesdirdu}" echo -e "${blue}Serverfiles:\t${default}${filesdirdu}"
if [ -d "${backupdir}" ]; then if [ -d "${backupdir}" ]; then
echo -e "${blue}Backups:\t${default}${backupdirdu}" echo -e "${blue}Backups:\t${default}${backupdirdu}"
@ -692,7 +692,7 @@ fn_details_towerunite(){
echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL" echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
echo -e "> Game\tINBOUND\t${port}\ttcp" echo -e "> Game\tINBOUND\t${port}\ttcp"
# Don't do arithmetics if ever the port wasn't a numeric value # Don't do arithmetics if ever the port wasn't a numeric value
if [ "${port}" -eq "${port}" ]; then if [ "${port}" -eq "${port}" ]; then
echo -e "> Steam\tINBOUND\t$((port+1))\tudp" echo -e "> Steam\tINBOUND\t$((port+1))\tudp"
fi fi
echo -e "> Query\tINBOUND\t${queryport}\tudp" echo -e "> Query\tINBOUND\t${queryport}\tudp"

2
lgsm/functions/command_dev_debug.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_dev_debug.sh function # LinuxGSM command_dev_debug.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Dev only: Enables debugging log to be saved to dev-debug.log. # Description: Dev only: Enables debugging log to be saved to dev-debug.log.

2
lgsm/functions/command_dev_detect_deps.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_dev_detect_deps.sh function # LinuxGSM command_dev_detect_deps.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Detects dependencies the server binary requires. # Description: Detects dependencies the server binary requires.

2
lgsm/functions/command_fastdl.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_fastdl.sh function # LinuxGSM command_fastdl.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_install.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_install.sh function # LinuxGSM command_install.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_install_resources_mta.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_install_resources_mta.sh function # LinuxGSM command_install_resources_mta.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Installs the default resources for Multi Theft Auto. # Description: Installs the default resources for Multi Theft Auto.

2
lgsm/functions/command_mods_install.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_mods_install.sh function # LinuxGSM command_mods_install.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_mods_remove.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_mods_uninstall.sh function # LinuxGSM command_mods_uninstall.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_mods_update.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_mods_update.sh function # LinuxGSM command_mods_update.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_monitor.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_monitor.sh function # LinuxGSM command_monitor.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_postdetails.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_postdetails.sh function # LinuxGSM command_postdetails.sh function
# Author: CedarLUG # Author: CedarLUG
# Contributor: CedarLUG # Contributor: CedarLUG
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_restart.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_restart.sh function # LinuxGSM command_restart.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Restarts the server. # Description: Restarts the server.

2
lgsm/functions/command_start.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_start.sh function # LinuxGSM command_start.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_stop.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_stop.sh function # LinuxGSM command_stop.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributors: UltimateByte # Contributors: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_test_alert.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_test_alert.sh function # LinuxGSM command_test_alert.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Sends a test alert. # Description: Sends a test alert.

2
lgsm/functions/command_ts3_server_pass.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_ts3_server_pass.sh function # LinuxGSM command_ts3_server_pass.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor : UltimateByte # Contributor : UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/command_update.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_update.sh function # LinuxGSM command_update.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Handles updating of servers. # Description: Handles updating of servers.

6
lgsm/functions/command_update_functions.sh

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
# LGSM command_update_functions.sh function # LinuxGSM command_update_functions.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Deletes the functions dir to allow re-downloading of functions from GitHub. # Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
local commandname="UPDATE LGSM" local commandname="UPDATE LinuxGSM"
local commandaction="Update LGSM" local commandaction="Update LinuxGSM"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_print_dots "Updating functions" fn_print_dots "Updating functions"

2
lgsm/functions/command_validate.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_validate.sh function # LinuxGSM command_validate.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Runs a server validation. # Description: Runs a server validation.

4
lgsm/functions/command_wipe.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_backup.sh function # LinuxGSM command_backup.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
@ -116,7 +116,7 @@ if [ "${gamename}" == "Rust" ]; then
fn_script_log_info "User selects to erase any user, storage, log and map data from ${serveridentitydir}" fn_script_log_info "User selects to erase any user, storage, log and map data from ${serveridentitydir}"
sleep 1 sleep 1
fn_wipe_server_process fn_wipe_server_process
else else
fn_print_information_nl "No data to wipe was found" fn_print_information_nl "No data to wipe was found"
fn_script_log_info "No data to wipe was found." fn_script_log_info "No data to wipe was found."
sleep 1 sleep 1

2
lgsm/functions/compress_unreal2_maps.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM compress_unreal2_maps.sh function # LinuxGSM compress_unreal2_maps.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Compresses unreal maps. # Description: Compresses unreal maps.

2
lgsm/functions/compress_ut99_maps.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM compress_ut99_maps.sh function # LinuxGSM compress_ut99_maps.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Compresses unreal maps. # Description: Compresses unreal maps.

4
lgsm/functions/core_dl.sh

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
# LGSM core_dl.sh function # LinuxGSM core_dl.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Deals with all downloads for LGSM. # Description: Deals with all downloads for LinuxGSM.
# fileurl: The URL of the file: http://example.com/dl/File.tar.bz2 # fileurl: The URL of the file: http://example.com/dl/File.tar.bz2
# filedir: location the file is to be saved: /home/server/lgsm/tmp # filedir: location the file is to be saved: /home/server/lgsm/tmp

4
lgsm/functions/core_exit.sh

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# LGSM core_exit.sh function # LinuxGSM core_exit.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Handles exiting of LGSM by running and reporting an exit code. # Description: Handles exiting of LinuxGSM by running and reporting an exit code.
fn_exit_dev_debug(){ fn_exit_dev_debug(){
if [ -f "${rootdir}/.dev-debug" ]; then if [ -f "${rootdir}/.dev-debug" ]; then

2
lgsm/functions/core_functions.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM core_functions.sh function # LinuxGSM core_functions.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Defines all functions to allow download and execution of functions using fn_fetch_function. # Description: Defines all functions to allow download and execution of functions using fn_fetch_function.

2
lgsm/functions/core_getopt.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM core_getopt.sh function # LinuxGSM core_getopt.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: getopt arguments. # Description: getopt arguments.

2
lgsm/functions/core_messages.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM core_messages.sh function # LinuxGSM core_messages.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Defines on-screen messages such as [ OK ] and how script logs look. # Description: Defines on-screen messages such as [ OK ] and how script logs look.

2
lgsm/functions/core_trap.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM core_trap.sh function # LinuxGSM core_trap.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Handles CTRL-C trap to give an exit code. # Description: Handles CTRL-C trap to give an exit code.

2
lgsm/functions/fix.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix.sh function # LinuxGSM fix.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Overall function for managing fixes. # Description: Overall function for managing fixes.

2
lgsm/functions/fix_arma3.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_arma3.sh function # LinuxGSM fix_arma3.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves an issue with ARMA3. # Description: Resolves an issue with ARMA3.

2
lgsm/functions/fix_coduo.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_coduo.sh function # LinuxGSM fix_coduo.sh function
# Author: Alexander Hurd # Author: Alexander Hurd
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Fixes for Call of Duty: United Offensive # Description: Fixes for Call of Duty: United Offensive

2
lgsm/functions/fix_csgo.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_csgo.sh function # LinuxGSM fix_csgo.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with CS:GO. # Description: Resolves various issues with CS:GO.

2
lgsm/functions/fix_dst.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_dst.sh function # LinuxGSM fix_dst.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with Don't Starve Together. # Description: Resolves various issues with Don't Starve Together.

2
lgsm/functions/fix_ges.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_ges.sh function # LinuxGSM fix_ges.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with GoldenEye: Source. # Description: Resolves various issues with GoldenEye: Source.

2
lgsm/functions/fix_glibc.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_glibc.sh function # LinuxGSM fix_glibc.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Downloads required Glibc files and applies the Glibc fix if required. # Description: Downloads required Glibc files and applies the Glibc fix if required.

2
lgsm/functions/fix_ins.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_ins.sh function # LinuxGSM fix_ins.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with Insurgency. # Description: Resolves various issues with Insurgency.

2
lgsm/functions/fix_kf.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_kf.sh function # LinuxGSM fix_kf.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with Killing Floor. # Description: Resolves various issues with Killing Floor.

2
lgsm/functions/fix_mta.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_mta.sh function # LinuxGSM fix_mta.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: ChaosMTA # Contributor: ChaosMTA
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/fix_ro.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_ro.sh function # LinuxGSM fix_ro.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with Red Orchestra. # Description: Resolves various issues with Red Orchestra.

2
lgsm/functions/fix_rust.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_rust.sh function # LinuxGSM fix_rust.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves startup issue with Rust # Description: Resolves startup issue with Rust

2
lgsm/functions/fix_steamcmd.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_steamcmd.sh function # LinuxGSM fix_steamcmd.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues related to SteamCMD. # Description: Resolves various issues related to SteamCMD.

2
lgsm/functions/fix_ut.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_ut.sh function # LinuxGSM fix_ut.sh function
# Author: Alexander Hurd # Author: Alexander Hurd
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with Unreal Tournament. # Description: Resolves various issues with Unreal Tournament.

2
lgsm/functions/fix_ut2k4.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fix_ut2k4.sh function # LinuxGSM fix_ut2k4.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Resolves various issues with Unreal Tournament 2004. # Description: Resolves various issues with Unreal Tournament 2004.

2
lgsm/functions/fn_functions

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fn_functions function # LinuxGSM fn_functions function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
lgsm_version="211016" lgsm_version="211016"

2
lgsm/functions/fn_getopt

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fn_getopt function # LinuxGSM fn_getopt function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
lgsm_version="211016" lgsm_version="211016"

2
lgsm/functions/fn_update_functions

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM fn_update_functions function # LinuxGSM fn_update_functions function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
lgsm_version="211016" lgsm_version="211016"

4
lgsm/functions/info_config.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM info_config.sh function # LinuxGSM info_config.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
@ -521,7 +521,7 @@ fn_info_config_towerunite(){
else else
servername=$(grep "ServerTitle" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/ServerTitle//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//') servername=$(grep "ServerTitle" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/ServerTitle//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
maxplayers=$(grep "MaxPlayers" "${servercfgfullpath}" | grep -v "#" | tr -cd '[:digit:]') maxplayers=$(grep "MaxPlayers" "${servercfgfullpath}" | grep -v "#" | tr -cd '[:digit:]')
# Not Set # Not Set
servername=${servername:-"NOT SET"} servername=${servername:-"NOT SET"}
maxplayers=${maxplayers:-"0"} maxplayers=${maxplayers:-"0"}

8
lgsm/functions/info_distro.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM info_distro.sh function # LinuxGSM info_distro.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Variables providing useful info on the Operating System such as disk and performace info. # Description: Variables providing useful info on the Operating System such as disk and performace info.
@ -88,19 +88,19 @@ totalspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $2}')
usedspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $3}') usedspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $3}')
availspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $4}') availspace=$(df -hP "${rootdir}" | grep -v "Filesystem" | awk '{print $4}')
## LGSM used space total. ## LinuxGSM used space total.
rootdirdu=$(du -sh "${rootdir}" 2> /dev/null | awk '{print $1}') rootdirdu=$(du -sh "${rootdir}" 2> /dev/null | awk '{print $1}')
if [ -z "${rootdirdu}" ]; then if [ -z "${rootdirdu}" ]; then
rootdirdu="0M" rootdirdu="0M"
fi fi
## LGSM used space in serverfiles dir. ## LinuxGSM used space in serverfiles dir.
filesdirdu=$(du -sh "${filesdir}" 2> /dev/null | awk '{print $1}') filesdirdu=$(du -sh "${filesdir}" 2> /dev/null | awk '{print $1}')
if [ -z "${filesdirdu}" ]; then if [ -z "${filesdirdu}" ]; then
filesdirdu="0M" filesdirdu="0M"
fi fi
## LGSM used space total minus backup dir. ## LinuxGSM used space total minus backup dir.
rootdirduexbackup=$(du -sh --exclude="${backupdir}" "${filesdir}" 2> /dev/null | awk '{print $1}') rootdirduexbackup=$(du -sh --exclude="${backupdir}" "${filesdir}" 2> /dev/null | awk '{print $1}')
if [ -z "${rootdirduexbackup}" ]; then if [ -z "${rootdirduexbackup}" ]; then
rootdirduexbackup="0M" rootdirduexbackup="0M"

2
lgsm/functions/info_glibc.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM info_glibc.sh function # LinuxGSM info_glibc.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Stores details on servers Glibc requirements. # Description: Stores details on servers Glibc requirements.

2
lgsm/functions/info_parms.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM info_parms.sh function # LinuxGSM info_parms.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Gets specific details from server parameters. # Description: Gets specific details from server parameters.

2
lgsm/functions/install_complete.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_complete.sh function # LinuxGSM install_complete.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Prints installation completion message and hints. # Description: Prints installation completion message and hints.

2
lgsm/functions/install_config.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_config.sh function # LinuxGSM install_config.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Creates default server configs. # Description: Creates default server configs.

4
lgsm/functions/install_dst_token.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_dst_token.sh function # LinuxGSM install_dst_token.sh function
# Author: Daniel Gibbs & Marvin Lehmann (marvinl97) # Author: Daniel Gibbs & Marvin Lehmann (marvinl97)
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Configures Don't Starve Together cluster with given token. # Description: Configures Don't Starve Together cluster with given token.
@ -29,7 +29,7 @@ if [ -z "${autoinstall}" ]; then
* ) echo "Please answer yes or no.";; * ) echo "Please answer yes or no.";;
esac esac
done done
fi fi
if [ "${overwritetoken}" == "true" ]; then if [ "${overwritetoken}" == "true" ]; then
echo "Once you have the cluster token, enter it below" echo "Once you have the cluster token, enter it below"
echo -n "Cluster Token: " echo -n "Cluster Token: "

2
lgsm/functions/install_factorio_save.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_factorio_save.sh function # LinuxGSM install_factorio_save.sh function
# Author: Kristian Polso # Author: Kristian Polso
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Creates the initial save file for Factorio # Description: Creates the initial save file for Factorio

2
lgsm/functions/install_gslt.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_gslt.sh function # LinuxGSM install_gslt.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Configures GSLT. # Description: Configures GSLT.

2
lgsm/functions/install_header.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_header.sh function # LinuxGSM install_header.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Prints installation header. # Description: Prints installation header.

2
lgsm/functions/install_logs.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_logs.sh function # LinuxGSM install_logs.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Creates log directories. # Description: Creates log directories.

2
lgsm/functions/install_minecraft_eula.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_minecraft_eula.sh function # LinuxGSM install_minecraft_eula.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Gets user to accept the EULA. # Description: Gets user to accept the EULA.

2
lgsm/functions/install_mta_resources.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_mta_resources.sh function # LinuxGSM install_mta_resources.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: ChaosMTA # Contributor: ChaosMTA
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/install_retry.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_retry.sh function # LinuxGSM install_retry.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Asks for installation retry after failure. # Description: Asks for installation retry after failure.

2
lgsm/functions/install_server_dir.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_server_dir.sh function # LinuxGSM install_server_dir.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Creates the server directory. # Description: Creates the server directory.

2
lgsm/functions/install_server_files.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_server_files.sh function # LinuxGSM install_server_files.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Installs server files. # Description: Installs server files.

2
lgsm/functions/install_steamcmd.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_steamcmd.sh function # LinuxGSM install_steamcmd.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Downloads SteamCMD on install. # Description: Downloads SteamCMD on install.

2
lgsm/functions/install_ts3db.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_ts3db.sh function # LinuxGSM install_ts3db.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: PhilPhonic # Contributor: PhilPhonic
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/install_unreal_tournament_eula.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_unreal_tournament_eula.sh function # LinuxGSM install_unreal_tournament_eula.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Gets user to accept the EULA. # Description: Gets user to accept the EULA.

2
lgsm/functions/install_ut2k4_key.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM install_ut2k4_key.sh function # LinuxGSM install_ut2k4_key.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Activates ut2k4 server with given key. # Description: Activates ut2k4 server with given key.

2
lgsm/functions/logs.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM logs.sh function # LinuxGSM logs.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/mods_core.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_mods_install.sh function # LinuxGSM command_mods_install.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

6
lgsm/functions/mods_list.sh

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
# LGSM mods_list.sh function # LinuxGSM mods_list.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Lists and defines available mods for LGSM supported servers; works along with mods_core.sh. # 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: 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. # Usage: Then add this array to the mods_global_array.
# Usage: If needed, you can scrape the download URL first. # Usage: If needed, you can scrape the download URL first.
@ -43,7 +43,7 @@ modseparator="MOD"
# [4] | "filename": the output filename # [4] | "filename": the output filename
# [5] | "modsubdirs": in how many subdirectories is the mod (none is 0) (not used at release, but could be in the future) # [5] | "modsubdirs": in how many subdirectories is the mod (none is 0) (not used at release, but could be in the future)
# [6] | "LowercaseOn/Off": LowercaseOff or LowercaseOn: enable/disable converting extracted files and directories to lowercase (some games require it) # [6] | "LowercaseOn/Off": LowercaseOff or LowercaseOn: enable/disable converting extracted files and directories to lowercase (some games require it)
# [7] | "modinstalldir": the directory in which to install the mode ( use LGSM dir variables such as ${systemdir}) # [7] | "modinstalldir": the directory in which to install the mode (use LGSM dir variables such as ${systemdir})
# [8] | "/files/to/keep;", files & directories that should not be overwritten upon update, separated and ended with a semicolon; you can also use "OVERWRITE" value to ignore the value or "NOUPDATE" to disallow updating; for files to keep upon uninstall, see fn_mod_tidy_files_list from mods_core.sh # [8] | "/files/to/keep;", files & directories that should not be overwritten upon update, separated and ended with a semicolon; you can also use "OVERWRITE" value to ignore the value or "NOUPDATE" to disallow updating; for files to keep upon uninstall, see fn_mod_tidy_files_list from mods_core.sh
# [9] | "Supported Engines;": list them according to LGSM ${engine} variables, separated and ended with a semicolon, or use ENGINES to ignore the value # [9] | "Supported Engines;": list them according to LGSM ${engine} variables, separated and ended with a semicolon, or use ENGINES to ignore the value
# [10] | "Supported Games;": list them according to LGSM ${gamename} variables, separated and ended with a semicolon, or use GAMES to ignore the value # [10] | "Supported Games;": list them according to LGSM ${gamename} variables, separated and ended with a semicolon, or use GAMES to ignore the value

2
lgsm/functions/monitor_gsquery.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM monitor_gsquery.sh function # LinuxGSM monitor_gsquery.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Uses gsquery.py to query the server port. # Description: Uses gsquery.py to query the server port.

2
lgsm/functions/update_factorio.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM update_factorio.sh function # LinuxGSM update_factorio.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: Kristian Polso # Contributor: Kristian Polso
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/update_minecraft.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM update_minecraft.sh function # LinuxGSM update_minecraft.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Handles updating of Minecraft servers. # Description: Handles updating of Minecraft servers.

2
lgsm/functions/update_mta.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM update_mta.sh function # LinuxGSM update_mta.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Handles updating of Multi Theft Auto servers. # Description: Handles updating of Multi Theft Auto servers.

2
lgsm/functions/update_mumble.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM update_mumble.sh function # LinuxGSM update_mumble.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Contributor: UltimateByte # Contributor: UltimateByte
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com

2
lgsm/functions/update_steamcmd.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM update_steamcmd.sh function # LinuxGSM update_steamcmd.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Handles updating using SteamCMD. # Description: Handles updating using SteamCMD.

2
lgsm/functions/update_ts3.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM command_ts3.sh function # LinuxGSM command_ts3.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: https://gameservermanagers.com # Website: https://gameservermanagers.com
# Description: Handles updating of teamspeak 3 servers. # Description: Handles updating of teamspeak 3 servers.

Loading…
Cancel
Save