Browse Source

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

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

2
7DaysToDie/sdtdserver

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

2
ARKSurvivalEvolved/arkserver

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

2
Arma3/arma3server

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

2
Battlefield1942/bf1942server

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

2
BlackMesa/bmdmserver

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

2
BladeSymphony/bsserver

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

2
BrainBread2/bb2server

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

4
CONTRIBUTING.md

@ -9,8 +9,8 @@ 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.

2
CallOfDuty/codserver

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

2
CallOfDuty2/cod2server

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

2
CallOfDuty4/cod4server

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

2
CallOfDutyUnitedOffensive/coduoserver

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

2
CallOfDutyWorldAtWar/codwawserver

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

2
CodenameCURE/ccserver

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

2
CounterStrike/csserver

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

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 protected]"
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

2
CounterStrikeConditionZero/csczserver

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

2
CounterStrikeGlobalOffensive/csgoserver

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

2
CounterStrikeSource/cssserver

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

2
DayOfDefeat/dodserver

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

2
DayOfDefeatSource/dodsserver

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

2
DayOfInfamy/doiserver

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

2
DeathmatchClassic/dmcserver

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

2
DontStarveTogether/dstserver

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

2
DoubleActionBoogaloo/dabserver

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

2
EmpiresMod/emserver

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

2
Factorio/fctrserver

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

2
FistfulOfFrags/fofserver

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

2
GarrysMod/gmodserver

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

2
GoldenEyeSource/gesserver

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

2
HalfLife2Deathmatch/hl2dmserver

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

2
HalfLifeDeathmatch/hldmserver

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

2
HalfLifeDeathmatchSource/hldmsserver

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

4
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"

2
Insurgency/insserver

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

2
JustCause2/jc2server

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

2
KillingFloor/kfserver

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

2
Left4Dead/l4dserver

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

2
Left4Dead2/l4d2server

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

2
Minecraft/mcserver

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

2
MultiTheftAuto/mtaserver

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

2
Mumble/mumbleserver

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

2
NS2Combat/ns2cserver

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

2
NaturalSelection2/ns2server

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

2
NoMoreRoomInHell/nmrihserver

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

2
OpposingForce/opforserver

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

2
PiratesVikingandKnightsII/pvkiiserver

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

2
ProjectZomboid/pzserver

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

2
Quake2/q2server

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

2
Quake3/q3server

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

2
QuakeLive/qlserver

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

2
QuakeWorld/qwserver

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

2
RedOrchestra/roserver

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

2
Ricochet/ricochetserver

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

2
Rust/rustserver

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

2
SeriousSam3BFE/ss3sserver

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

2
Starbound/sbserver

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

2
SvenCoop/svenserver

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

2
TeamFortress2/tf2server

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

2
TeamFortressClassic/tfcserver

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

2
TeamSpeak3/ts3server

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

2
Teeworlds/twserver

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

2
Terraria/terrariaserver

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

53
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"

2
UnrealTournament/utserver

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

2
UnrealTournament2004/ut2k4server

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

2
UnrealTournament3/ut3server

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

2
UnrealTournament99/ut99server

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

2
WolfensteinEnemyTerritory/wetserver

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

2
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

26
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

2
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.

2
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
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
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

2
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.

8
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

2
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.

2
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.

2
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.

2
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.

25
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
}

2
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
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

8
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=''

2
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.

10
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"

6
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

2
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

2
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.

2
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
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
@ -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 ""
@ -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
@ -824,6 +850,8 @@ 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
elif [ "${gamename}" == "Mumble" ]; then

2
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.

2
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.

2
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

4
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

2
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.

4
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

2
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

2
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

3
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

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save