Browse Source

Merge from master

pull/1024/head
Daniel Gibbs 9 years ago
parent
commit
c7149168ba
  1. 4
      7DaysToDie/sdtdserver
  2. 4
      BladeSymphony/bsserver
  3. 4
      BrainBread2/bb2server
  4. 4
      CodenameCURE/ccserver
  5. 4
      CounterStrike/csserver
  6. 4
      CounterStrikeConditionZero/csczserver
  7. 4
      CounterStrikeGlobalOffensive/csgoserver
  8. 4
      CounterStrikeSource/cssserver
  9. 4
      DayOfDefeat/dodserver
  10. 4
      DayOfDefeatSource/dodsserver
  11. 4
      DayOfInfamy/doiserver
  12. 4
      DeathmatchClassic/dmcserver
  13. 4
      DontStarveTogether/dstserver
  14. 4
      DoubleActionBoogaloo/dabserver
  15. 4
      EmpiresMod/emserver
  16. 125
      EnemyTerritory/cfg/lgsm-default.cfg
  17. 143
      EnemyTerritory/etserver
  18. 4
      FistfulOfFrags/fofserver
  19. 4
      GarrysMod/gmodserver
  20. 4
      GoldenEyeSource/gesserver
  21. 4
      HalfLife2Deathmatch/hl2dmserver
  22. 4
      HalfLifeDeathmatch/hldmserver
  23. 4
      HalfLifeDeathmatchSource/hldmsserver
  24. 4
      Hurtworld/hwserver
  25. 4
      Insurgency/insserver
  26. 4
      JustCause2/jc2server
  27. 4
      KillingFloor/kfserver
  28. 4
      Left4Dead/l4dserver
  29. 4
      Left4Dead2/l4d2server
  30. 4
      Mumble/mumbleserver
  31. 4
      NS2Combat/ns2cserver
  32. 4
      NaturalSelection2/ns2server
  33. 4
      NoMoreRoomInHell/nmrihserver
  34. 4
      OpposingForce/opforserver
  35. 4
      PiratesVikingandKnightsII/pvkiiserver
  36. 4
      ProjectZomboid/pzserver
  37. 4
      QuakeLive/qlserver
  38. 20
      README.md
  39. 4
      RedOrchestra/roserver
  40. 4
      Ricochet/ricochetserver
  41. 2
      Rust/cfg/lgsm-default.cfg
  42. 4
      Rust/rustserver
  43. 6
      SeriousSam3BFE/ss3sserver
  44. 4
      Starbound/sbserver
  45. 4
      SvenCoop/svencoopserver
  46. 4
      TeamFortress2/tf2server
  47. 4
      TeamFortressClassic/tfcserver
  48. 4
      TeamSpeak3/ts3server
  49. 4
      Teeworlds/twserver
  50. 4
      Terraria/terrariaserver
  51. 3
      UnrealTournament/cfg/Engine.ini
  52. 4
      UnrealTournament/cfg/Game.ini
  53. 147
      UnrealTournament/utserver
  54. 4
      UnrealTournament2004/ut2k4server
  55. 4
      UnrealTournament99/ut99server
  56. 4
      functions/core_functions.sh
  57. 4
      lgsm/functions/command_fastdl.sh
  58. 6
      lgsm/functions/fix.sh
  59. 14
      lgsm/functions/fix_ut.sh
  60. 4
      tests/tests_jc2server.sh
  61. 4
      tests/tests_ts3server.sh

4
7DaysToDie/sdtdserver

@ -43,8 +43,8 @@ parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
BladeSymphony/bsserver

@ -48,8 +48,8 @@ parms="-autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
BrainBread2/bb2server

@ -53,8 +53,8 @@ parms="-game brainbread2 -insecure -strictportbind -ip ${ip} -port ${port} +clie
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
CodenameCURE/ccserver

@ -48,8 +48,8 @@ parms="-game cure -insecure -strictportbind -ip ${ip} -port ${port} +clientport
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
CounterStrike/csserver

@ -47,8 +47,8 @@ parms="-game cstrike -strictportbind +ip ${ip} -port ${port} +clientport ${clien
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
CounterStrikeConditionZero/csczserver

@ -47,8 +47,8 @@ parms="-game czero -strictportbind +ip ${ip} -port ${port} +clientport ${clientp
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
CounterStrikeGlobalOffensive/csgoserver

@ -71,8 +71,8 @@ parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport $
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
CounterStrikeSource/cssserver

@ -53,8 +53,8 @@ parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clien
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
DayOfDefeat/dodserver

@ -47,8 +47,8 @@ parms="-game dod -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
DayOfDefeatSource/dodsserver

@ -48,8 +48,8 @@ parms="-game dod -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
DayOfInfamy/doiserver

@ -50,8 +50,8 @@ parms="-game doi -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
DeathmatchClassic/dmcserver

@ -47,8 +47,8 @@ parms="-game dmc -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
DontStarveTogether/dstserver

@ -46,8 +46,8 @@ parms="-console -cluster MyDediServer -shard Master"
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
DoubleActionBoogaloo/dabserver

@ -48,8 +48,8 @@ parms="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_por
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
EmpiresMod/emserver

@ -53,8 +53,8 @@ parms="-game empires -strictportbind -ip ${ip} -port ${port} +clientport ${clien
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

125
EnemyTerritory/cfg/lgsm-default.cfg

@ -0,0 +1,125 @@
set dedicated "2" // 1: dedicated server for lan 2: dedicated server for internet
// set net_ip "" // set to override the default IP ET uses
// set net_port "27960" // set to override the default port ET uses
// PASSWORDS & CLIENTS
set sv_maxclients "20" // number of players including private slots
set g_password "" // set to password protect the server
set sv_privateclients "4" // if set > 0, then this number of client slots will be reserved for connections
set sv_privatepassword "" // that have "password" set to the value of "sv_privatePassword"
set rconpassword "<rconpassword>" // remote console access password
set refereePassword "" // referee status password
// DL, RATE
set sv_maxRate "13000" // 10000 standard but poor for ET
set sv_dl_maxRate "42000" // increase/decerease if you have plenty/little spare bandwidth
set sv_allowDownload "0" // global toggle for both legacy download and web download
set sv_wwwDownload "0" // toggle to enable web download
set sv_wwwBaseURL "" // base URL for redirection
set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server
set sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side
// MOTD ETC
set sv_hostname "<hostname>" // name of server here
set server_motd0 " ^NEnemy Territory ^7MOTD " // message in right corner of join screen here
set server_motd1 ""
set server_motd2 ""
set server_motd3 ""
set server_motd4 ""
set server_motd5 ""
// MISC SETTINGS
set g_heavyWeaponRestriction "100"
set g_antilag "1"
set g_altStopwatchMode "0"
set g_autofireteams "1"
set g_complaintlimit "6"
set g_ipcomplaintlimit "3"
set g_fastres "0"
set g_friendlyFire "1"
//set g_gametype "4" // Game type should be set from map rotation script
set g_minGameClients "8"
set g_maxlives "0"
set g_alliedmaxlives "0"
set g_axismaxlives "0"
set g_teamforcebalance "1"
set g_noTeamSwitching "0"
set g_voiceChatsAllowed "4"
set g_doWarmup "0"
set g_warmup "30"
set g_spectatorInactivity "0"
set sv_floodProtect "1"
set sv_allowDownload "1"
set sv_pure "1"
set sv_minping "0"
set sv_maxping "0"
set match_latejoin "1"
set match_minplayers "4"
set match_mutespecs "0"
set match_readypercent "100"
set match_timeoutcount "0"
set match_warmupDamage "1"
set team_maxplayers "0"
set team_nocontrols "1"
set pmove_fixed "0"
set pmove_msec "8"
// LMS ONLY SETTINGS
set g_lms_teamForceBalance "1"
set g_lms_roundlimit "3"
set g_lms_matchlimit "2"
set g_lms_currentMatch "0"
set g_lms_lockTeams "0"
set g_lms_followTeamOnly "1"
// VOTING
set g_allowVote "1"
set vote_limit "5"
set vote_percent "50"
set vote_allow_comp "1"
set vote_allow_gametype "1"
set vote_allow_kick "1"
set vote_allow_map "1"
set vote_allow_matchreset "1"
set vote_allow_mutespecs "1"
set vote_allow_nextmap "1"
set vote_allow_pub "1"
set vote_allow_referee "0"
set vote_allow_shuffleteams "1"
set vote_allow_swapteams "1"
set vote_allow_friendlyfire "1"
set vote_allow_timelimit "0"
set vote_allow_warmupdamage "1"
set vote_allow_antilag "1"
set vote_allow_balancedteams "1"
set vote_allow_muting "1"
// PUNKBUSTER
// sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console
//pb_sv_enable
// LOGGING
set g_log "etserver.log" // Game logging
set g_logsync 0
set logfile 0 // Console logging ( 1: enable 2: enable and sync )
// MAP ROTATION
exec campaigncycle.cfg // Campaign mode
//exec objectivecycle.cfg // Objective mode
//exec lmscycle.cfg // Last Man Standing mode
// WATCHDOG
// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10 // defaults 60
set com_watchdog_cmd "exec campaigncycle.cfg" // defaults to quit

143
EnemyTerritory/etserver

@ -0,0 +1,143 @@
#!/bin/bash
# Enemy Territory
# Server Management Script
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
if [ -f ".dev-debug" ]; then
exec 5>dev-debug.log
BASH_XTRACEFD="5"
set -x
fi
version="210516"
#### Variables ####
# Notification Alerts
# (on|off)
# Email
emailalert="off"
email="[email protected]"
# Pushbullet
# https://www.pushbullet.com/#settings
pushbulletalert="off"
pushbullettoken="accesstoken"
# Start Variables
ip="0.0.0.0"
port="27960"
fn_parms(){
parms="+set net_strict 1 +set net_ip ${ip} +set net_port ${port} +set fs_homepath ${filesdir} +exec ${servicename}.cfg"
}
#### Advanced Variables ####
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Server Details
servicename="et-server"
gamename="Enemy Territory"
engine="idtech3"
# 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"
filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}"
executabledir="${systemdir}"
executable="./etded"
servercfg="${servicename}.cfg"
servercfgdir="${systemdir}/etmain"
servercfgfullpath="${servercfgdir}/${servercfg}"
servercfgdefault="${servercfgdir}/lgsm-default.cfg"
backupdir="${rootdir}/backups"
# Logging
logdays="7"
gamelogdir="${filesdir}/Logs"
scriptlogdir="${rootdir}/log/script"
consolelogdir="${rootdir}/log/console"
consolelogging="on"
scriptlog="${scriptlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${scriptlogdir}/${servicename}-email.log"
scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%d-%m-%Y-%H-%M-%S').log"
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%d-%m-%Y-%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
}
core_dl.sh
core_functions.sh
getopt=$1
core_getopt.sh

4
FistfulOfFrags/fofserver

@ -48,8 +48,8 @@ parms="-game fof -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
GarrysMod/gmodserver

@ -69,8 +69,8 @@ parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickr
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
GoldenEyeSource/gesserver

@ -49,8 +49,8 @@ parms="-game gesource -strictportbind -ip ${ip} -port ${port} +clientport ${clie
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam - 2007 SDK

4
HalfLife2Deathmatch/hl2dmserver

@ -48,8 +48,8 @@ parms="-game hl2mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
HalfLifeDeathmatch/hldmserver

@ -47,8 +47,8 @@ parms="-game valve -strictportbind +ip ${ip} -port ${port} +clientport ${clientp
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
HalfLifeDeathmatchSource/hldmsserver

@ -48,8 +48,8 @@ parms="-game hl1mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
Hurtworld/hwserver

@ -62,8 +62,8 @@ parms="-batchmode -nographics -exec \"host ${port} ${map} ${loadsave};queryport
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
Insurgency/insserver

@ -50,8 +50,8 @@ parms="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${cl
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
JustCause2/jc2server

@ -42,8 +42,8 @@ parms=""
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
KillingFloor/kfserver

@ -47,8 +47,8 @@ parms="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
Left4Dead/l4dserver

@ -48,8 +48,8 @@ parms="-game left4dead -strictportbind -ip ${ip} -port ${port} +clientport ${cli
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
Left4Dead2/l4d2server

@ -47,8 +47,8 @@ parms="-game left4dead2 -strictportbind -ip ${ip} -port ${port} +clientport ${cl
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
Mumble/mumbleserver

@ -38,8 +38,8 @@ parms="-fg -ini ${servercfgfullpath}"
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"

4
NS2Combat/ns2cserver

@ -55,8 +55,8 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
NaturalSelection2/ns2server

@ -55,8 +55,8 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
NoMoreRoomInHell/nmrihserver

@ -53,8 +53,8 @@ parms="-game nmrih -insecure -strictportbind -ip ${ip} -port ${port} +clientport
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
OpposingForce/opforserver

@ -47,8 +47,8 @@ parms="-game gearbox -strictportbind +ip ${ip} -port ${port} +clientport ${clien
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
PiratesVikingandKnightsII/pvkiiserver

@ -48,8 +48,8 @@ parms="-game pvkii -strictportbind -ip ${ip} -port ${port} +clientport ${clientp
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
ProjectZomboid/pzserver

@ -44,8 +44,8 @@ parms="-ip ${ip} -adminpassword \"${adminpassword}\""
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
QuakeLive/qlserver

@ -51,8 +51,8 @@ fn_parms(){
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

20
README.md

@ -1,8 +1,8 @@
<h1>Linux Game Server Managers_</h1>
<a href="https://gameservermanagers.com"><img src="https://github.com/dgibbs64/linuxgsm/blob/master/images/logo/lgsm-full-light.png" alt="linux Game Server Managers" width="600" /></a>
<a href="https://gameservermanagers.com"><img src="https://github.com/GameServerManagers/LinuxGSM/blob/master/images/logo/lgsm-full-light.png" alt="linux Game Server Managers" width="600" /></a>
[![Build Status](https://travis-ci.org/dgibbs64/linuxgsm.svg?branch=master)](https://travis-ci.org/dgibbs64/linuxgsm)
[![Under Development](https://badge.waffle.io/dgibbs64/linuxgsm.svg?label=Under%20Development&title=Under%20Development)](http://waffle.io/dgibbs64/linuxgsm)
[![Build Status](https://travis-ci.org/GameServerManagers/LinuxGSM.svg?branch=master)](https://travis-ci.org/GameServerManagers/LinuxGSM)
[![Under Development](https://badge.waffle.io/GameServerManagers/LinuxGSM.svg?label=Under%20Development&title=Under%20Development)](http://waffle.io/GameServerManagers/LinuxGSM)
The Linux Game Server Managers are command line tools for quick, simple deployment and management of various dedicated game servers and voice alert servers.
@ -29,13 +29,13 @@ The Linux Game Server Managers are tested to work on the following Linux distros
Other distros are likely to work but are not fully tested.
<h3>Specific Requirements</h3>
<ul>
<li><a href="https://github.com/dgibbs64/linuxgsm/wiki/Glibc">GLIBC</a> >= 2.15 recommended [<a href="https://github.com/dgibbs64/linuxgsm/wiki/Glibc#server-requirements">specific requirements</a>].</li>
<li><a href="https://github.com/dgibbs64/linuxgsm/wiki/Tmux">Tmux</a> >= 1.6 recommended (Avoid Tmux 1.8).</li>
<li><a href="https://github.com/GameServerManagers/LinuxGSM/wiki/Glibc">GLIBC</a> >= 2.15 recommended [<a href="https://github.com/GameServerManagers/LinuxGSM/wiki/Glibc#server-requirements">specific requirements</a>].</li>
<li><a href="https://github.com/GameServerManagers/LinuxGSM/wiki/Tmux">Tmux</a> >= 1.6 recommended (Avoid Tmux 1.8).</li>
</ul>
<h2>FAQ</h2>
All FAQ can be found here.
<a href="https://github.com/dgibbs64/linuxgsm/wiki/FAQ">https://github.com/dgibbs64/linuxgsm/wiki/FAQ</a>
<a href="https://github.com/GameServerManagers/LinuxGSM/wiki/FAQ">https://github.com/GameServerManagers/LinuxGSM/wiki/FAQ</a>
<h2>Donate</h2>
If you want to donate to the project you can via PayPal, Flattr or Gratipay. I have had a may kind people show their support by sending me a donation. Any donations you send help cover my server costs and buy me a drink. Cheers!
<ul>
@ -44,10 +44,10 @@ If you want to donate to the project you can via PayPal, Flattr or Gratipay. I h
<h2>Useful Links</h2>
<ul>
<li><a href="https://gameservermanagers.com">Homepage</a></li>
<li><a href="https://github.com/dgibbs64/linuxgsm/wiki">Wiki</a></li>
<li><a href="https://github.com/dgibbs64/linuxgsm">GitHub Code</a></li>
<li><a href="https://github.com/dgibbs64/linuxgsm/issues">GitHub Issues</a></li>
<li><a href="https://waffle.io/dgibbs64/linuxgsm">Waffle (Github Dashboard)</a></li>
<li><a href="https://github.com/GameServerManagers/LinuxGSM/wiki">Wiki</a></li>
<li><a href="https://github.com/GameServerManagers/LinuxGSM">GitHub Code</a></li>
<li><a href="https://github.com/GameServerManagers/LinuxGSM/issues">GitHub Issues</a></li>
<li><a href="https://waffle.io/GameServerManagers/LinuxGSM">Waffle (Github Dashboard)</a></li>
<li><a href="http://alternativeto.net/software/linux-game-server-managers/">alternativeTo.net</a></li>
</ul>
<h2>Social</h2>

4
RedOrchestra/roserver

@ -43,8 +43,8 @@ parms="server ${defaultmap}?game=ROGame.ROTeamGame?VACSecured=true -nohomedir in
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Server Details

4
Ricochet/ricochetserver

@ -47,8 +47,8 @@ parms="-game ricochet -strictportbind +ip ${ip} -port ${port} +clientport ${clie
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

2
Rust/cfg/lgsm-default.cfg

@ -11,7 +11,7 @@
server.description "LGSM Server\nRust support : UltimateByte"
# A URL to the image which shows up on the server details screen (dimensions are 512x256).
server.headerimage "https://github.com/dgibbs64/linuxgsm/raw/master/images/logo/lgsm-full-light.png"
server.headerimage "https://github.com/GameServerManagers/LinuxGSM/raw/master/images/logo/lgsm-full-light.png"
# The URL to your servers website.
server.url "https://gameservermanagers.com/"

4
Rust/rustserver

@ -65,8 +65,8 @@ fi
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

6
SeriousSam3BFE/ss3sserver

@ -33,7 +33,7 @@ steampass=""
ip="0.0.0.0"
updateonstart="off"
# https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt
# https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt
fn_parms(){
parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}"
}
@ -43,8 +43,8 @@ parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}"
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
Starbound/sbserver

@ -42,8 +42,8 @@ parms=""
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
SvenCoop/svencoopserver

@ -47,8 +47,8 @@ parms="-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clie
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
TeamFortress2/tf2server

@ -53,8 +53,8 @@ parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
TeamFortressClassic/tfcserver

@ -47,8 +47,8 @@ parms="-game tfc -strictportbind _ip ${ip} -port ${port} +clientport ${clientpor
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
TeamSpeak3/ts3server

@ -63,8 +63,8 @@ scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%d-%m-%Y-%H-%M-%S'
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
##### Script #####

4
Teeworlds/twserver

@ -43,8 +43,8 @@ parms="-f ${servercfgfullpath}"
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

4
Terraria/terrariaserver

@ -43,8 +43,8 @@ parms="-config ${servercfgfullpath}"
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Steam

3
UnrealTournament/cfg/Engine.ini

@ -0,0 +1,3 @@
[/Script/UnrealTournament.UTGameEngine]
bFirstRun=False
RconPassword="<rconpassword>"

4
UnrealTournament/cfg/Game.ini

@ -0,0 +1,4 @@
[/Script/UnrealTournament.UTGameState]
ServerName="<hostname>"
ServerMOTD=<UT.Font.NormalText.Huge>WELCOME</>\n\n<UT.Font.NormalText.Medium>Headshots for everyone.</>
ServerDescription=This is my server, have fun

147
UnrealTournament/utserver

@ -0,0 +1,147 @@
#!/bin/bash
# Unreal Tournament
# Server Management Script
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
if [ -f ".dev-debug" ]; then
exec 5>dev-debug.log
BASH_XTRACEFD="5"
set -x
fi
version="210516"
#### Variables ####
# Notification Alerts
# (on|off)
# Email
emailalert="off"
email="[email protected]"
# Pushbullet
# https://www.pushbullet.com/#settings
pushbulletalert="off"
pushbullettoken="accesstoken"
# Start Variables
defaultmap="DM-Underland"
gametype="DM"
#defaultmap="CTF-Face"
#gametype="CTF"
timelimit="10"
ip="0.0.0.0"
port="7777"
fn_parms(){
parms="UnrealTournament ${defaultmap}?Game=${gametype}?TimeLimit=${timelimit} -port=${port}"
}
#### Advanced Variables ####
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Server Details
servicename="ut-server"
gamename="Unreal Tournament"
engine="unreal4"
# 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"
filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}/LinuxServer"
executabledir="${systemdir}/Engine/Binaries/Linux"
executable="./UE4Server-Linux-Shipping"
servercfg="Game.ini"
servercfgdir="${systemdir}/UnrealTournament/Saved/Config/LinuxServer"
servercfgfullpath="${servercfgdir}/${servercfg}"
backupdir="${rootdir}/backups"
# Logging
logdays="7"
gamelogdir="${filesdir}/Logs"
scriptlogdir="${rootdir}/log/script"
consolelogdir="${rootdir}/log/console"
consolelogging="on"
scriptlog="${scriptlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${scriptlogdir}/${servicename}-email.log"
scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%d-%m-%Y-%H-%M-%S').log"
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%d-%m-%Y-%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
}
core_dl.sh
core_functions.sh
getopt=$1
core_getopt.sh

4
UnrealTournament2004/ut2k4server

@ -75,8 +75,8 @@ consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%d-%m-%Y-%H-%M-
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
##### Script #####

4
UnrealTournament99/ut99server

@ -38,8 +38,8 @@ parms="server ${defaultmap}.unr ini=${servercfgfullpath}"
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="master"
# Server Details

4
functions/core_functions.sh

@ -15,10 +15,10 @@ fi
fn_fetch_core_dl(){
if [ -z "${githubuser}" ]; then
githubuser="dgibbs64"
githubuser="GameServerManagers"
fi
if [ -z "${githubrepo}" ]; then
githubrepo="linuxgsm"
githubrepo="LinuxGSM"
fi
if [ -z "${githubbranch}" ]; then
githubbranch="master"

4
lgsm/functions/command_fastdl.sh

@ -29,7 +29,7 @@ fn_check_bzip2(){
echo -en "\n"
sleep 1
echo "We advise using it"
echo "For more information, see https://github.com/dgibbs64/linuxgsm/wiki/FastDL#bzip2-compression"
echo "For more information, see https://github.com/GameServerManagers/LinuxGSM/wiki/FastDL#bzip2-compression"
sleep 2
else
bzip2installed="1"
@ -310,7 +310,7 @@ fn_fastdl_completed(){
sleep 2
echo -en "\n"
echo ""
fn_print_info "Need more documentation? See https://github.com/dgibbs64/linuxgsm/wiki/FastDL"
fn_print_info "Need more documentation? See https://github.com/GameServerManagers/LinuxGSM/wiki/FastDL"
echo -en "\n"
if [ "$bzip2installed" == "0" ]; then
echo "By the way, you'd better install bzip2 and re-run this command!"

6
lgsm/functions/fix.sh

@ -72,5 +72,11 @@ if [ "${function_selfname}" == "command_install.sh" ]; then
echo "================================="
sleep 1
fix_ut99.sh
elif [ "${gamename}" == "Unreal Tournament" ]; then
echo ""
echo "Applying ${gamename} Server Fixes"
echo "================================="
sleep 1
fix_ut.sh
fi
fi

14
lgsm/functions/fix_ut.sh

@ -0,0 +1,14 @@
#!/bin/bash
# LGSM fix_ut.sh function
# Author: Alexander Hurd
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Unreal Tournament.
local commandname="FIX"
local commandaction="Fix"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
#Set Binary Executable
echo "chmod +x ${executabledir}/${executable}"
chmod +x "${executabledir}/${executable}"
sleep 1

4
tests/tests_jc2server.sh

@ -41,8 +41,8 @@ parms=""
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="$TRAVIS_BRANCH"
# Steam

4
tests/tests_ts3server.sh

@ -37,8 +37,8 @@ parms=""
# Github Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
githubuser="dgibbs64"
githubrepo="linuxgsm"
githubuser="GameServerManagers"
githubrepo="LinuxGSM"
githubbranch="$TRAVIS_BRANCH"
# Server Details

Loading…
Cancel
Save