فهرست منبع

Merge branch 'feature/prompt' into feature/prompt-user-function

Daniel Gibbs 9 سال پیش
والد
کامیت
f95eede9a6
100فایلهای تغییر یافته به همراه223 افزوده شده و 366 حذف شده
  1. 1 1
      7DaysToDie/sdtdserver
  2. 1 1
      ARKSurvivalEvolved/arkserver
  3. 1 1
      Arma3/arma3server
  4. 1 1
      Battlefield1942/bf1942server
  5. 1 1
      BlackMesa/bmdmserver
  6. 1 1
      BladeSymphony/bsserver
  7. 1 1
      BrainBread2/bb2server
  8. 4 4
      CONTRIBUTING.md
  9. 1 1
      CallOfDuty/codserver
  10. 1 1
      CallOfDuty2/cod2server
  11. 1 1
      CallOfDuty4/cod4server
  12. 1 1
      CallOfDutyUnitedOffensive/coduoserver
  13. 1 1
      CallOfDutyWorldAtWar/codwawserver
  14. 1 1
      CodenameCURE/ccserver
  15. 1 1
      CounterStrike/csserver
  16. 0 205
      CounterStrikeClassicOffensive/cscoserver
  17. 1 1
      CounterStrikeConditionZero/csczserver
  18. 1 1
      CounterStrikeGlobalOffensive/csgoserver
  19. 1 1
      CounterStrikeSource/cssserver
  20. 1 1
      DayOfDefeat/dodserver
  21. 1 1
      DayOfDefeatSource/dodsserver
  22. 1 1
      DayOfInfamy/doiserver
  23. 1 1
      DeathmatchClassic/dmcserver
  24. 1 1
      DontStarveTogether/dstserver
  25. 1 1
      DoubleActionBoogaloo/dabserver
  26. 1 1
      EmpiresMod/emserver
  27. 1 1
      Factorio/fctrserver
  28. 1 1
      FistfulOfFrags/fofserver
  29. 1 1
      GarrysMod/gmodserver
  30. 1 1
      GoldenEyeSource/gesserver
  31. 1 1
      HalfLife2Deathmatch/hl2dmserver
  32. 1 1
      HalfLifeDeathmatch/hldmserver
  33. 1 1
      HalfLifeDeathmatchSource/hldmsserver
  34. 2 2
      Hurtworld/hwserver
  35. 1 1
      Insurgency/insserver
  36. 1 1
      JustCause2/jc2server
  37. 1 1
      KillingFloor/kfserver
  38. 1 1
      Left4Dead/l4dserver
  39. 1 1
      Left4Dead2/l4d2server
  40. 1 1
      Minecraft/mcserver
  41. 1 1
      MultiTheftAuto/mtaserver
  42. 1 1
      Mumble/mumbleserver
  43. 1 1
      NS2Combat/ns2cserver
  44. 1 1
      NaturalSelection2/ns2server
  45. 1 1
      NoMoreRoomInHell/nmrihserver
  46. 1 1
      OpposingForce/opforserver
  47. 1 1
      PiratesVikingandKnightsII/pvkiiserver
  48. 1 1
      ProjectZomboid/pzserver
  49. 1 1
      Quake2/q2server
  50. 1 1
      Quake3/q3server
  51. 1 1
      QuakeLive/qlserver
  52. 1 1
      QuakeWorld/qwserver
  53. 1 1
      RedOrchestra/roserver
  54. 1 1
      Ricochet/ricochetserver
  55. 1 1
      Rust/rustserver
  56. 1 1
      SeriousSam3BFE/ss3sserver
  57. 1 1
      Starbound/sbserver
  58. 1 1
      SvenCoop/svenserver
  59. 1 1
      TeamFortress2/tf2server
  60. 1 1
      TeamFortressClassic/tfcserver
  61. 1 1
      TeamSpeak3/ts3server
  62. 1 1
      Teeworlds/twserver
  63. 1 1
      Terraria/terrariaserver
  64. 27 28
      TowerUnite/tuserver
  65. 1 1
      UnrealTournament/utserver
  66. 1 1
      UnrealTournament2004/ut2k4server
  67. 1 1
      UnrealTournament3/ut3server
  68. 1 1
      UnrealTournament99/ut99server
  69. 1 1
      WolfensteinEnemyTerritory/wetserver
  70. 1 1
      images/logo/README.md
  71. 17 9
      lgsm/functions/alert.sh
  72. 1 1
      lgsm/functions/alert_email.sh
  73. 1 1
      lgsm/functions/alert_pushbullet.sh
  74. 5 2
      lgsm/functions/check.sh
  75. 1 1
      lgsm/functions/check_config.sh
  76. 4 4
      lgsm/functions/check_deps.sh
  77. 1 1
      lgsm/functions/check_executable.sh
  78. 1 1
      lgsm/functions/check_glibc.sh
  79. 1 1
      lgsm/functions/check_ip.sh
  80. 1 1
      lgsm/functions/check_logs.sh
  81. 22 3
      lgsm/functions/check_permissions.sh
  82. 1 1
      lgsm/functions/check_root.sh
  83. 2 2
      lgsm/functions/check_status.sh
  84. 4 4
      lgsm/functions/check_steamcmd.sh
  85. 1 1
      lgsm/functions/check_system_dir.sh
  86. 7 3
      lgsm/functions/check_system_requirements.sh
  87. 3 3
      lgsm/functions/check_tmuxception.sh
  88. 1 1
      lgsm/functions/command_backup.sh
  89. 1 1
      lgsm/functions/command_console.sh
  90. 1 1
      lgsm/functions/command_debug.sh
  91. 36 8
      lgsm/functions/command_details.sh
  92. 1 1
      lgsm/functions/command_dev_debug.sh
  93. 1 1
      lgsm/functions/command_dev_detect_deps.sh
  94. 1 1
      lgsm/functions/command_fastdl.sh
  95. 2 2
      lgsm/functions/command_install.sh
  96. 1 1
      lgsm/functions/command_install_resources_mta.sh
  97. 2 2
      lgsm/functions/command_mods_install.sh
  98. 1 1
      lgsm/functions/command_mods_remove.sh
  99. 1 1
      lgsm/functions/command_mods_update.sh
  100. 2 1
      lgsm/functions/command_monitor.sh

+ 1 - 1
7DaysToDie/sdtdserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
ARKSurvivalEvolved/arkserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Arma3/arma3server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Battlefield1942/bf1942server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
BlackMesa/bmdmserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
BladeSymphony/bsserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
BrainBread2/bb2server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 4 - 4
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:
 
   * [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,
-  * [LGSM Exit Codes](https://github.com/GameServerManagers/LinuxGSM/wiki/LGSM-Exit-Codes) describes and gives an explanation for exit codes,
+  * [Developing LinuxGSM](https://github.com/GameServerManagers/LinuxGSM/wiki/Developing-LGSM) gives a detailed guide on developing LGSM,
+  * [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
   * [Branching](https://github.com/GameServerManagers/LinuxGSM/wiki/Branching) is our final guide to submitting changes.
-  
+
 ## 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:
@@ -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:
 
     $ git commit -m "A brief summary of the commit
-    > 
+    >
     > A paragraph describing what changed and its impact."
 This will help us in understanding your code and determining where problems may arise.
 

+ 1 - 1
CallOfDuty/codserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CallOfDuty2/cod2server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CallOfDuty4/cod4server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CallOfDutyUnitedOffensive/coduoserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CallOfDutyWorldAtWar/codwawserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CodenameCURE/ccserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CounterStrike/csserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 0 - 205
CounterStrikeClassicOffensive/cscoserver

@@ -1,205 +0,0 @@
-#!/bin/bash
-# Project: Game Server Managers - LinuxGSM
-# Author: Daniel Gibbs
-# License: MIT License, Copyright (c) 2017 Daniel Gibbs
-# Purpose: Counter-Strike: Classic Offensive | Server Management Script
-# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors
-# Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
-# Website: https://gameservermanagers.com
-
-# Debugging
-if [ -f ".dev-debug" ]; then
-	exec 5>dev-debug.log
-	BASH_XTRACEFD="5"
-	set -x
-fi
-
-version="170128"
-
-##########################
-######## Settings ########
-##########################
-
-#### Server Settings ####
-
-## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
-defaultmap="de_dust2_csco"
-maxplayers="16"
-port="27015"
-sourcetvport="27020"
-clientport="27005"
-ip="0.0.0.0"
-
-## Required: Game Server Login Token
-# GSLT is required for running a public server.
-# More info: https://gameservermanagers.com/gslt
-gslt=""
-
-## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
-fn_parms(){
-parms="-game csco -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers}"
-}
-
-#### LinuxGSM Settings ####
-
-## Notification Alerts
-# (on|off)
-# Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
-emailalert="off"
-email="email@example.com"
-emailfrom=""
-
-# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
-pushbulletalert="off"
-pushbullettoken="accesstoken"
-channeltag=""
-
-## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
-updateonstart="off"
-
-## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
-maxbackups="4"
-maxbackupdays="30"
-stoponbackup="on"
-
-## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
-consolelogging="on"
-logdays="7"
-
-#### LinuxGSM Advanced Settings ####
-
-## SteamCMD Settings
-# Server appid
-appid="740"
-# Steam App Branch Select
-# Allows to opt into the various Steam app branches. Default branch is "".
-# Example: "-beta latest_experimental"
-branch=""
-
-## Github Branch Select
-# Allows for the use of different function files
-# from a different repo and/or branch.
-githubuser="GameServerManagers"
-githubrepo="LinuxGSM"
-githubbranch="master"
-
-## LinuxGSM Server Details
-# Do not edit
-gamename="Counter-Strike: Classic Offensive"
-engine="source"
-
-## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers
-servicename="csco-server"
-
-#### Directories ####
-# Edit with care
-
-## Work Directories
-rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))"
-selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
-lockselfname=".${servicename}.lock"
-lgsmdir="${rootdir}/lgsm"
-functionsdir="${lgsmdir}/functions"
-libdir="${lgsmdir}/lib"
-tmpdir="${lgsmdir}/tmp"
-filesdir="${rootdir}/serverfiles"
-
-## Server Specific Directories
-systemdir="${filesdir}/csco"
-executabledir="${filesdir}"
-executable="./srcds_run"
-servercfg="${servicename}.cfg"
-servercfgdefault="server.cfg"
-servercfgdir="${systemdir}/cfg"
-servercfgfullpath="${servercfgdir}/${servercfg}"
-
-## Backup Directory
-backupdir="${rootdir}/backups"
-
-## Logging Directories
-gamelogdir="${systemdir}/logs"
-scriptlogdir="${rootdir}/log/script"
-consolelogdir="${rootdir}/log/console"
-scriptlog="${scriptlogdir}/${servicename}-script.log"
-consolelog="${consolelogdir}/${servicename}-console.log"
-emaillog="${scriptlogdir}/${servicename}-email.log"
-
-## Logs Naming
-scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
-consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
-
-########################
-######## Script ########
-###### Do not edit #####
-########################
-
-# Fetches core_dl for file downloads
-fn_fetch_core_dl(){
-github_file_url_dir="lgsm/functions"
-github_file_url_name="${functionfile}"
-filedir="${functionsdir}"
-filename="${github_file_url_name}"
-githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${github_file_url_dir}/${github_file_url_name}"
-# If the file is missing, then download
-if [ ! -f "${filedir}/${filename}" ]; then
-	if [ ! -d "${filedir}" ]; then
-		mkdir -p "${filedir}"
-	fi
-	echo -e "    fetching ${filename}...\c"
-	# Check curl exists and use available path
-	curlpaths="$(command -v curl 2>/dev/null) $(which curl >/dev/null 2>&1) /usr/bin/curl /bin/curl /usr/sbin/curl /sbin/curl)"
-	for curlcmd in ${curlpaths}
-	do
-		if [ -x "${curlcmd}" ]; then
-			break
-		fi
-	done
-	# If curl exists download file
-	if [ "$(basename ${curlcmd})" == "curl" ]; then
-		curlfetch=$(${curlcmd} -s --fail -o "${filedir}/${filename}" "${githuburl}" 2>&1)
-		if [ $? -ne 0 ]; then
-			echo -e "\e[0;31mFAIL\e[0m\n"
-			echo "${curlfetch}"
-			echo -e "${githuburl}\n"
-			exit 1
-		else
-			echo -e "\e[0;32mOK\e[0m"
-		fi
-	else
-		echo -e "\e[0;31mFAIL\e[0m\n"
-		echo "Curl is not installed!"
-		echo -e ""
-		exit 1
-	fi
-	chmod +x "${filedir}/${filename}"
-fi
-source "${filedir}/${filename}"
-}
-
-core_dl.sh(){
-# Functions are defined in core_functions.sh.
-functionfile="${FUNCNAME}"
-fn_fetch_core_dl
-}
-
-core_functions.sh(){
-# Functions are defined in core_functions.sh.
-functionfile="${FUNCNAME}"
-fn_fetch_core_dl
-}
-
-# Prevent from running this script as root.
-if [ "$(whoami)" = "root" ]; then
-	if [ ! -f "${functionsdir}/core_functions.sh" ]||[ ! -f "${functionsdir}/check_root.sh" ]||[ ! -f "${functionsdir}/core_messages.sh" ]||[ ! -f "${functionsdir}/core_exit.sh" ]; then
-		echo "[ FAIL ] Do NOT run this script as root!"
-		exit 1
-	else
-		core_functions.sh
-		check_root.sh
-	fi
-fi
-
-core_dl.sh
-core_functions.sh
-getopt=$1
-core_getopt.sh

+ 1 - 1
CounterStrikeConditionZero/csczserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CounterStrikeGlobalOffensive/csgoserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
CounterStrikeSource/cssserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
DayOfDefeat/dodserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
DayOfDefeatSource/dodsserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
DayOfInfamy/doiserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
DeathmatchClassic/dmcserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
DontStarveTogether/dstserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
DoubleActionBoogaloo/dabserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
EmpiresMod/emserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Factorio/fctrserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
FistfulOfFrags/fofserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
GarrysMod/gmodserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
GoldenEyeSource/gesserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
HalfLife2Deathmatch/hl2dmserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
HalfLifeDeathmatch/hldmserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
HalfLifeDeathmatchSource/hldmsserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 2 - 2
Hurtworld/hwserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########
@@ -23,7 +23,7 @@ version="170128"
 #### Server Settings ####
 
 ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
-servername="Hurtworld LGSM Server"
+servername="Hurtworld LinuxGSM Server"
 ip="0.0.0.0"
 port="12871"
 queryport="12881"

+ 1 - 1
Insurgency/insserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
JustCause2/jc2server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
KillingFloor/kfserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Left4Dead/l4dserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Left4Dead2/l4d2server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Minecraft/mcserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
MultiTheftAuto/mtaserver

@@ -12,7 +12,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170103"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Mumble/mumbleserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
NS2Combat/ns2cserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
NaturalSelection2/ns2server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
NoMoreRoomInHell/nmrihserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
OpposingForce/opforserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
PiratesVikingandKnightsII/pvkiiserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
ProjectZomboid/pzserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Quake2/q2server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Quake3/q3server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
QuakeLive/qlserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
QuakeWorld/qwserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
RedOrchestra/roserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Ricochet/ricochetserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Rust/rustserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
SeriousSam3BFE/ss3sserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Starbound/sbserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
SvenCoop/svenserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
TeamFortress2/tf2server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
TeamFortressClassic/tfcserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
TeamSpeak3/ts3server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Teeworlds/twserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
Terraria/terrariaserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 27 - 28
BallisticOverkill/boserver → TowerUnite/tuserver

@@ -2,7 +2,7 @@
 # Project: Game Server Managers - LinuxGSM
 # Author: Daniel Gibbs
 # License: MIT License, Copyright (c) 2017 Daniel Gibbs
-# Purpose: Ballistic Overkill | Server Management Script
+# Purpose: Tower Unite | Server Management Script
 # Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors
 # Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
 # Website: https://gameservermanagers.com
@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########
@@ -22,14 +22,14 @@ version="170128"
 
 #### Server Settings ####
 
-## Optional: Game Server Login Token
-# GSLT can be used for running a public server.
-# More info: https://gameservermanagers.com/gslt
-gslt=""
+## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
+port="7777"
+queryport="27015"
+ip="0.0.0.0"
 
 ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
 fn_parms(){
-parms=" -batchmode -nographics -logFile output.txt"
+parms="-log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -TowerServerINI=${servicename}.ini"
 }
 
 #### LinuxGSM Settings ####
@@ -60,28 +60,28 @@ logdays="7"
 
 #### LinuxGSM Advanced Settings ####
 
-## Github Branch Select
-# Allows for the use of different function files
-# from a different repo and/or branch.
-githubuser="GameServerManagers"
-githubrepo="LinuxGSM"
-githubbranch="master"
-
 ## SteamCMD Settings
 # Server appid
-appid="416880"
+appid="439660"
 # Steam App Branch Select
 # Allows to opt into the various Steam app branches. Default branch is "".
 # Example: "-beta latest_experimental"
 branch=""
 
+## Github Branch Select
+# Allows for the use of different function files
+# from a different repo and/or branch.
+githubuser="GameServerManagers"
+githubrepo="LinuxGSM"
+githubbranch="master"
+
 ## LinuxGSM Server Details
 # Do not edit
-gamename="Ballistic Overkill"
-engine="unity"
+gamename="Tower Unite"
+engine="unreal4"
 
 ## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers
-servicename="bo-server"
+servicename="tu-server"
 
 #### Directories ####
 # Edit with care
@@ -97,20 +97,19 @@ tmpdir="${lgsmdir}/tmp"
 filesdir="${rootdir}/serverfiles"
 
 ## Server Specific Directories
-systemdir="${filesdir}"
-executabledir="${filesdir}"
-executable="./BODS.x86"
-servercfg="config.txt"
-servercfgdefault="${servercfg}"
-servercfgdir="${systemdir}"
+systemdir="${filesdir}/Tower"
+executabledir="${systemdir}/Binaries/Linux"
+executable="./TowerServer-Linux-Shipping"
+servercfgdir="${systemdir}/Binaries/Linux"
+servercfg="${servicename}.ini"
 servercfgfullpath="${servercfgdir}/${servercfg}"
-
+servercfgdefault="TowerServer.ini"
 
 ## Backup Directory
 backupdir="${rootdir}/backups"
 
-## Logging Directorie
-gamelogdir="${systemdir}/logs"
+## Logging Directories
+gamelogdir="${systemdir}/Saved/Logs"
 scriptlogdir="${rootdir}/log/script"
 consolelogdir="${rootdir}/log/console"
 scriptlog="${scriptlogdir}/${servicename}-script.log"
@@ -195,4 +194,4 @@ fi
 core_dl.sh
 core_functions.sh
 getopt=$1
-core_getopt.sh
+core_getopt.sh

+ 1 - 1
UnrealTournament/utserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
UnrealTournament2004/ut2k4server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
UnrealTournament3/ut3server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
UnrealTournament99/ut99server

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
WolfensteinEnemyTerritory/wetserver

@@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then
 	set -x
 fi
 
-version="170128"
+version="170212"
 
 ##########################
 ######## Settings ########

+ 1 - 1
images/logo/README.md

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

+ 17 - 9
lgsm/functions/alert.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM alert.sh function
+# LinuxGSM alert.sh function
 # Author: Daniel Gibbs
 # Website: https://gameservermanagers.com
 # Description: Overall function for managing alerts.
@@ -9,36 +9,44 @@ local commandaction="Alert"
 
 fn_alert_test(){
 	fn_script_log_info "Sending test alert"
-	alertsubject="LGSM - Test Alert - ${servername}"
-	alertbody="LGSM test alert, how you read?"
+	alertsubject="LinuxGSM - Test Alert - ${servername}"
+	alertbody="LinuxGSM test alert, how you read?"
 }
 
 fn_alert_restart(){
 	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"
 }
 
 fn_alert_restart_query(){
 	fn_script_log_info "Sending restart alert: ${gsquerycmd}"
-	alertsubject="LGSM - Restarted - ${servername}"
+	alertsubject="LinuxGSM - Restarted - ${servername}"
 	alertbody="gsquery.py failed to query: ${gsquerycmd}"
 }
 
 fn_alert_update(){
 	fn_script_log_info "Sending update alert"
-	alertsubject="LGSM - Updated - ${servername}"
+	alertsubject="LinuxGSM - Updated - ${servername}"
 	alertbody="${servicename} received update"
 }
 
-if [ "${alert}" == "restart" ]; then
+fn_alert_permissions(){
+	fn_script_log_info "Sending permissions error alert"
+	alertsubject="LinuxGSM - Error - ${servername}"
+	alertbody="${servicename} has permissions issues."
+}
+
+if [ "${alert}" == "permissions" ]; then
+	fn_alert_permissions
+elif [ "${alert}" == "restart" ]; then
 	fn_alert_restart
 elif [ "${alert}" == "restartquery" ]; then
 	fn_alert_restart_query
-elif [ "${alert}" == "update" ]; then
-	fn_alert_update
 elif [ "${alert}" == "test" ]; then
 	fn_alert_test
+elif [ "${alert}" == "update" ]; then
+	fn_alert_update
 fi
 
 if [ "${emailalert}" == "on" ]&&[ -n "${email}" ]; then

+ 1 - 1
lgsm/functions/alert_email.sh

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

+ 1 - 1
lgsm/functions/alert_pushbullet.sh

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

+ 5 - 2
lgsm/functions/check.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM check.sh function
+# LinuxGSM check.sh function
 # Author: Daniel Gibbs
 # Website: https://gameservermanagers.com
 # Description: Overall function for managing checks.
@@ -12,7 +12,10 @@ local commandname="CHECK"
 
 check_root.sh
 check_tmuxception.sh
-check_permissions.sh
+
+if [ "${function_selfname}" != "command_monitor.sh" ];then
+	check_permissions.sh
+fi
 
 if [ "${function_selfname}" != "command_install.sh" ]&&[ "${function_selfname}" != "command_update_functions.sh" ]; then
 	check_system_dir.sh

+ 1 - 1
lgsm/functions/check_config.sh

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

+ 4 - 4
lgsm/functions/check_deps.sh

@@ -1,8 +1,8 @@
 #!/bin/bash
-# LGSM check_deps.sh function
+# LinuxGSM check_deps.sh function
 # Author: Daniel Gibbs
 # 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"
 
@@ -144,7 +144,7 @@ if [ -n "$(command -v dpkg-query)" ]; then
 	# Generate array of missing deps
 	array_deps_missing=()
 
-	# LGSM requirements
+	# LinuxGSM requirements
 	array_deps_required=( curl wget ca-certificates file bsdmainutils util-linux python bzip2 gzip unzip )
 
 	# All servers except ts3 require tmux
@@ -223,7 +223,7 @@ elif [ -n "$(command -v yum)" ]; then
 	# Generate array of missing deps
 	array_deps_missing=()
 
-	# LGSM requirements
+	# LinuxGSM requirements
 	if [ "${distroversion}" == "6" ]; then
 		array_deps_required=( curl wget util-linux-ng python file gzip bzip2 unzip )
 	else

+ 1 - 1
lgsm/functions/check_executable.sh

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

+ 1 - 1
lgsm/functions/check_glibc.sh

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

+ 1 - 1
lgsm/functions/check_ip.sh

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

+ 1 - 1
lgsm/functions/check_logs.sh

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

+ 22 - 3
lgsm/functions/check_permissions.sh

@@ -1,12 +1,11 @@
 #!/bin/bash
-# LGSM check_permissions.sh
+# LinuxGSM check_permissions.sh
 # Author: Daniel Gibbs
 # Contributor: UltimateByte
 # Website: https://gameservermanagers.com
 # Description: Checks ownership & permissions of scripts, files and directories.
 
 local commandname="CHECK"
-local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
 fn_check_ownership(){
 	if [ -f "${rootdir}/${selfname}" ]; then
@@ -43,8 +42,12 @@ fn_check_ownership(){
 
 		} | column -s $'\t' -t | tee -a "${scriptlog}"
 		echo ""
-		fn_print_information_nl "For more information, please see https://github.com/GameServerManagers/LinuxGSM/wiki/FAQ#-fail--starting-game-server-ownership-issues-found"
+		fn_print_information_nl "please see https://github.com/GameServerManagers/LinuxGSM/wiki/FAQ#-fail--starting-game-server-ownership-issues-found"
 		fn_script_log "For more information, please see https://github.com/GameServerManagers/LinuxGSM/wiki/FAQ#-fail--starting-game-server-ownership-issues-found"
+		if [ "${monitorflag}" == 1 ]; then
+			alert="permissions"
+			alert.sh
+		fi
 		core_exit.sh
 	fi
 }
@@ -60,6 +63,10 @@ fn_check_permissions(){
 				echo -e "File\n"
 				find "${functionsdir}" -type f -not -executable -printf "%p\n"
 			} | column -s $'\t' -t | tee -a "${scriptlog}"
+			if [ "${monitorflag}" == 1 ]; then
+				alert="permissions"
+				alert.sh
+			fi
 			core_exit.sh
 		fi
 	fi
@@ -78,6 +85,10 @@ fn_check_permissions(){
 			fn_script_log_info "The following directory does not have the correct permissions:"
 			fn_script_log_info "${rootdir}"
 			ls -l "${rootdir}"
+			if [ "${monitorflag}" == 1 ]; then
+				alert="permissions"
+				alert.sh
+			fi
 			core_exit.sh
 		fi
 	fi
@@ -118,6 +129,10 @@ fn_check_permissions(){
 					ls -l "${executabledir}/${execname}"
 					fn_script_log_warn "The following file could not be set executable:"
 					fn_script_log_info "${executabledir}/${execname}"
+					if [ "${monitorflag}" == 1 ]; then
+						alert="permissions"
+						alert.sh
+					fi
 					core_exit.sh
 					fi
 				fi
@@ -157,6 +172,10 @@ fn_sys_perm_fix_manually_msg(){
 	echo "	  chmod a+rx /sys /sys/class /sys/class/net"
 	fn_script_log "chmod a+rx /sys /sys/class /sys/class/net"
 	sleep 1
+	if [ "${monitorflag}" == 1 ]; then
+		alert="permissions"
+		alert.sh
+	fi
 	core_exit.sh
 }
 

+ 1 - 1
lgsm/functions/check_root.sh

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

+ 2 - 2
lgsm/functions/check_status.sh

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

+ 4 - 4
lgsm/functions/check_steamcmd.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM check_steamcmd.sh function
+# LinuxGSM check_steamcmd.sh function
 # Author: Daniel Gibbs
 # Website: https://gameservermanagers.com
 # Description: Checks if SteamCMD is installed correctly.
@@ -18,17 +18,17 @@ fn_install_steamcmd(){
 fn_check_steamcmd_user(){
 	# Checks if steamuser is setup.
 	if [ "${steamuser}" == "username" ]; then
-		fn_print_fail_nl "Steam login not set. Update steamuser in ${selfname}."
+		fn_print_fail_nl "Steam login not set. Update steamuser in ${selfname}"
 		echo "	* Change steamuser=\"username\" to a valid steam login."
 		if [ -d "${scriptlogdir}" ]; then
-			fn_script_log_fatal "Steam login not set. Update steamuser in ${selfname}."
+			fn_script_log_fatal "Steam login not set. Update steamuser in ${selfname}"
 		fi
 		core_exit.sh
 	fi
 	# Anonymous user is set if steamuser is missing
 	if [ -z "${steamuser}" ]; then
 		if [ -d "${scriptlogdir}" ]; then
-			fn_script_log_info "Using anonymous Steam login."
+			fn_script_log_info "Using anonymous Steam login"
 		fi
 		steamuser="anonymous"
 		steampass=''

+ 1 - 1
lgsm/functions/check_system_dir.sh

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

+ 7 - 3
lgsm/functions/check_system_requirements.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM check_system_requirements.sh
+# LinuxGSM check_system_requirements.sh
 # Author: Daniel Gibbs
 # Contributor: UltimateByte
 # Website: https://gameservermanagers.com
@@ -11,12 +11,16 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 info_distro.sh
 
 # RAM requirements in megabytes for each game or engine.
-if [ "${gamename}" == "Rust" ]; then
+
+if [ "${gamename}" == "ARK: Survival Evolved" ]; then
 	ramrequirementmb="4000"
-	ramrequirementgb="4"
+	ramrequirementgb="1"
 elif [ "${gamename}" == "ARMA 3" ]; then
 	ramrequirementmb="1000"
 	ramrequirementgb="1"
+elif [ "${gamename}" == "Rust" ]; then
+	ramrequirementmb="4000"
+	ramrequirementgb="4"
 elif [ "${gamename}" == "Minecraft" ]; then
 	ramrequirementmb="1000"
 	ramrequirementgb="1"

+ 3 - 3
lgsm/functions/check_tmuxception.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM check_config.sh function
+# LinuxGSM check_config.sh function
 # Author: Daniel Gibbs
 # Contributor: UltimateByte
 # Website: https://gameservermanagers.com
@@ -11,7 +11,7 @@ fn_check_is_in_tmux(){
   if [ -n "${TMUX}" ];then
 		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_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 "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception"
 		core_exit.sh
@@ -21,7 +21,7 @@ fn_check_is_in_screen(){
 	if [ -n "${STY}" ];then
 		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_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 "https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux#tmuxception"
 		core_exit.sh

+ 1 - 1
lgsm/functions/command_backup.sh

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

+ 1 - 1
lgsm/functions/command_console.sh

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

+ 1 - 1
lgsm/functions/command_debug.sh

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

+ 36 - 8
lgsm/functions/command_details.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM command_details.sh function
+# LinuxGSM command_details.sh function
 # Author: Daniel Gibbs
 # Contributor: UltimateByte
 # Website: https://gameservermanagers.com
@@ -70,7 +70,7 @@ fn_details_disk(){
 	# Total:        15G
 	# Used:         8.4G
 	# Available:    5.7G
-	# LGSM Total:	1G
+	# LinuxGSM Total:	1G
 	# Serverfiles:  961M
 	# Backups:  	2G
 
@@ -82,7 +82,7 @@ fn_details_disk(){
 		echo -e "${blue}Total:\t${default}${totalspace}"
 		echo -e "${blue}Used:\t${default}${usedspace}"
 		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}"
 		if [ -d "${backupdir}" ]; then
 			echo -e "${blue}Backups:\t${default}${backupdirdu}"
@@ -315,7 +315,7 @@ fn_details_ports(){
 
 	parmslocation="${red}UNKNOWN${default}"
 	# engines/games that require editing in the config file
-	local ports_edit_array=( "avalanche" "dontstarve" "idtech2" "idtech3" "idtech3_ql" "lwjgl2" "projectzomboid" "quake" "refractor" "realvirtuality" "renderware" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
+	local ports_edit_array=( "avalanche" "Ballistic Overkill" "dontstarve" "idtech2" "idtech3" "idtech3_ql" "lwjgl2" "projectzomboid" "quake" "refractor" "realvirtuality" "renderware" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
 	for port_edit in "${ports_edit_array[@]}"
 	do
 		if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then
@@ -355,7 +355,7 @@ fn_details_ark(){
 		echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
 		echo -e "> Game\tINBOUND\t${port}\tudp"
 		# 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 "> RAW\tINBOUND\t$((port+1))\tudp"
 		fi
 		echo -e "> Query\tINBOUND\t${queryport}\tudp"
@@ -363,6 +363,16 @@ fn_details_ark(){
 	} | column -s $'\t' -t
 }
 
+fn_details_ballisticoverkill(){
+	echo -e "netstat -atunp | grep BODS.x86"
+	echo -e ""
+	{
+		echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
+		echo -e "> Game/RCON\tINBOUND\t${port}\tudp"
+		echo -e "> Query\tINBOUND\t${queryport}\tudp"
+	} | column -s $'\t' -t
+}
+
 fn_details_avalanche(){
 	echo -e "netstat -atunp | grep Jcmp-Server"
 	echo -e ""
@@ -539,7 +549,7 @@ fn_details_realvirtuality(){
 		echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
 		echo -e "> Game\tINBOUND\t${port}\tudp"
 		# 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: Query\tINBOUND\t$((port+1))\tudp"
 			echo -e "> Steam: Master traffic\tINBOUND\t$((port+2))\tudp"
 			echo -e "> Undocumented Port\tINBOUND\t$((port+3))\tudp"
@@ -675,6 +685,20 @@ fn_details_terraria(){
 	} | column -s $'\t' -t
 }
 
+fn_details_towerunite(){
+	echo -e "netstat -atunp | grep TowerServer"
+	echo -e ""
+	{
+		echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL"
+		echo -e "> Game\tINBOUND\t${port}\ttcp"
+		# Don't do arithmetics if ever the port wasn't a numeric value
+		if [ "${port}" -eq "${port}" ]; then
+			echo -e "> Steam\tINBOUND\t$((port+1))\tudp"
+		fi
+		echo -e "> Query\tINBOUND\t${queryport}\tudp"
+	} | column -s $'\t' -t
+}
+
 fn_details_unreal(){
 	echo -e "netstat -atunp | grep ucc-bin"
 	echo -e ""
@@ -800,6 +824,8 @@ fn_display_details() {
 		fn_details_sdtd
 	elif [ "${gamename}" == "ARK: Survival Evolved" ]; then
 		fn_details_ark
+	elif [ "${gamename}" == "Ballistic Overkill" ]; then
+		fn_details_ballisticoverkill
 	elif [ "${gamename}" == "Call of Duty" ]; then
 		fn_details_cod
 	elif [ "${gamename}" == "Call of Duty: United Offensive" ]; then
@@ -811,7 +837,7 @@ fn_display_details() {
 	elif [ "${gamename}" == "Call of Duty: World at War" ]; then
 		fn_details_codwaw
 	elif [ "${gamename}" == "Factorio" ]; then
-		fn_details_factorio    
+		fn_details_factorio
 	elif [ "${gamename}" == "Hurtworld" ]; then
 		fn_details_hurtworld
 	elif [ "${gamename}" == "QuakeWorld" ]; then
@@ -824,8 +850,10 @@ fn_display_details() {
 		fn_details_quakelive
 	elif [ "${gamename}" == "TeamSpeak 3" ]; then
 		fn_details_teamspeak3
+	elif [ "${gamename}" == "Tower Unite" ]; then
+		fn_details_towerunite
 	elif [ "${gamename}" == "Multi Theft Auto" ]; then
-		fn_details_mta    
+		fn_details_mta
 	elif [ "${gamename}" == "Mumble" ]; then
 		fn_details_mumble
 	elif [ "${gamename}" == "Rust" ]; then

+ 1 - 1
lgsm/functions/command_dev_debug.sh

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

+ 1 - 1
lgsm/functions/command_dev_detect_deps.sh

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

+ 1 - 1
lgsm/functions/command_fastdl.sh

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

+ 2 - 2
lgsm/functions/command_install.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM command_install.sh function
+# LinuxGSM command_install.sh function
 # Author: Daniel Gibbs
 # Contributor: UltimateByte
 # Website: https://gameservermanagers.com
@@ -28,7 +28,7 @@ fi
 
 # Configuration
 install_config.sh
-if [ "${gamename}" == "Counter-Strike: Global Offensive" ]||[ "${gamename}" == "Team Fortress 2" ]||[ "${gamename}" == "BrainBread 2" ]; then
+if [ "${gamename}" == "BrainBread 2" ]||[ "${gamename}" == "Black Mesa: Deathmatch" ]||[ "${gamename}" == "Counter-Strike: Global Offensive" ]||[ "${gamename}" == "Empires Mod" ]||[ "${gamename}" == "Garry’s Mod" ]||[ "${gamename}" == "No more Room in Hell" ]||[ "${gamename}" == "Team Fortress 2" ]||[ "${gamename}" == "Tower Unite" ]; then
 	install_gslt.sh
 elif [ "${gamename}" == "Don't Starve Together" ]; then
 	install_dst_token.sh

+ 1 - 1
lgsm/functions/command_install_resources_mta.sh

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

+ 2 - 2
lgsm/functions/command_mods_install.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM command_mods_install.sh function
+# LinuxGSM command_mods_install.sh function
 # Author: Daniel Gibbs
 # Contributor: UltimateByte
 # Website: https://gameservermanagers.com
@@ -52,7 +52,7 @@ done
 
 # If no mods are available for a specific game
 if [ -z "${compatiblemodslist}" ]; then
-	fn_print_fail "No mods are currently available for ${gamename}."
+	fn_print_fail_nl "No mods are currently available for ${gamename}."
 	fn_script_log_info "No mods are currently available for ${gamename}."
 	core_exit.sh
 fi

+ 1 - 1
lgsm/functions/command_mods_remove.sh

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

+ 1 - 1
lgsm/functions/command_mods_update.sh

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

+ 2 - 1
lgsm/functions/command_monitor.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM command_monitor.sh function
+# LinuxGSM command_monitor.sh function
 # Author: Daniel Gibbs
 # Contributor: UltimateByte
 # Website: https://gameservermanagers.com
@@ -98,6 +98,7 @@ fn_monitor_tmux(){
 	fi
 }
 
+monitorflag=1
 fn_print_dots "${servername}"
 sleep 1
 check.sh

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است