Browse Source
# Conflicts: # DontStarveTogether/dstserver # lgsm/functions/info_config.shpull/1200/head
87 changed files with 1136 additions and 268 deletions
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit - |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -45,9 +45,11 @@ parms="\"TheIsland?listen?MultiHome=${ip}?SessionName=${servername}?MaxPlayers=$ |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -191,7 +193,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -59,9 +59,11 @@ parms="-netlog -ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${serv |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -208,7 +210,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -35,9 +35,11 @@ parms="+hostServer 1 +dedicated 1" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -49,9 +49,11 @@ parms="-game bms -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -196,7 +198,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -48,9 +48,11 @@ parms="-autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientp |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -186,7 +188,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -52,9 +52,11 @@ parms="-game brainbread2 -insecure -strictportbind -ip ${ip} -port ${port} +clie |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -198,7 +200,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -41,9 +41,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set n |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
@ -176,7 +178,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -0,0 +1,188 @@ |
|||||
|
#!/bin/bash |
||||
|
# Project: Game Server Managers - LinuxGSM |
||||
|
# Author: Daniel Gibbs |
||||
|
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
||||
|
# Purpose: Call of Duty 2 | 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="161118" |
||||
|
|
||||
|
########################## |
||||
|
######## Settings ######## |
||||
|
########################## |
||||
|
|
||||
|
#### Server Settings #### |
||||
|
|
||||
|
## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters |
||||
|
|
||||
|
defaultmap="mp_leningrad" |
||||
|
maxclients="20" |
||||
|
port="28960" |
||||
|
ip="0.0.0.0" |
||||
|
|
||||
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters |
||||
|
fn_parms(){ |
||||
|
parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set net_ip ${ip} +set net_port ${port} +set sv_maxclients ${maxclients} +exec ${servercfg} +map ${defaultmap}" |
||||
|
} |
||||
|
|
||||
|
#### 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="" |
||||
|
|
||||
|
## 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" |
||||
|
|
||||
|
#### 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" |
||||
|
|
||||
|
## LinuxGSM Server Details |
||||
|
# Do not edit |
||||
|
gamename="Call of Duty 2" |
||||
|
engine="iw2.0" |
||||
|
|
||||
|
## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers |
||||
|
servicename="cod2-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}" |
||||
|
executabledir="${filesdir}" |
||||
|
executable="./cod2_lnxded" |
||||
|
servercfg="${servicename}.cfg" |
||||
|
servercfgdefault="server.cfg" |
||||
|
servercfgdir="${systemdir}/main" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${rootdir}/backups" |
||||
|
|
||||
|
## Logging Directories |
||||
|
gamelogdir="${filesdir}/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 |
@ -0,0 +1,188 @@ |
|||||
|
#!/bin/bash |
||||
|
# Project: Game Server Managers - LinuxGSM |
||||
|
# Author: Daniel Gibbs |
||||
|
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
||||
|
# Purpose: Call of Duty: United 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="161118" |
||||
|
|
||||
|
########################## |
||||
|
######## Settings ######## |
||||
|
########################## |
||||
|
|
||||
|
#### Server Settings #### |
||||
|
|
||||
|
## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters |
||||
|
|
||||
|
defaultmap="mp_cassino" |
||||
|
maxclients="20" |
||||
|
port="28960" |
||||
|
ip="0.0.0.0" |
||||
|
|
||||
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters |
||||
|
fn_parms(){ |
||||
|
parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set net_ip ${ip} +set net_port ${port} +set sv_maxclients ${maxclients} +exec ${servercfg} +map ${defaultmap}" |
||||
|
} |
||||
|
|
||||
|
#### 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="" |
||||
|
|
||||
|
## 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" |
||||
|
|
||||
|
#### 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" |
||||
|
|
||||
|
## LinuxGSM Server Details |
||||
|
# Do not edit |
||||
|
gamename="Call of Duty: United Offensive" |
||||
|
engine="idtech3" |
||||
|
|
||||
|
## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers |
||||
|
servicename="coduo-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}" |
||||
|
executabledir="${filesdir}" |
||||
|
executable="./coduo_lnxded" |
||||
|
servercfg="${servicename}.cfg" |
||||
|
servercfgdefault="server.cfg" |
||||
|
servercfgdir="${systemdir}/uo" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${rootdir}/backups" |
||||
|
|
||||
|
## Logging Directories |
||||
|
gamelogdir="${filesdir}/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 |
@ -0,0 +1,188 @@ |
|||||
|
#!/bin/bash |
||||
|
# Project: Game Server Managers - LinuxGSM |
||||
|
# Author: Daniel Gibbs |
||||
|
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
||||
|
# Purpose: Call of Duty: World at War | 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="161118" |
||||
|
|
||||
|
########################## |
||||
|
######## Settings ######## |
||||
|
########################## |
||||
|
|
||||
|
#### Server Settings #### |
||||
|
|
||||
|
## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters |
||||
|
|
||||
|
defaultmap="mp_castle" |
||||
|
maxclients="20" |
||||
|
port="28960" |
||||
|
ip="0.0.0.0" |
||||
|
|
||||
|
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters |
||||
|
fn_parms(){ |
||||
|
parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set net_ip ${ip} +set net_port ${port} +set sv_maxclients ${maxclients} +exec ${servercfg} +map ${defaultmap}" |
||||
|
} |
||||
|
|
||||
|
#### 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="" |
||||
|
|
||||
|
## 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" |
||||
|
|
||||
|
#### 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" |
||||
|
|
||||
|
## LinuxGSM Server Details |
||||
|
# Do not edit |
||||
|
gamename="Call of Duty: World at War" |
||||
|
engine="IW 3.0" |
||||
|
|
||||
|
## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers |
||||
|
servicename="coduo-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}" |
||||
|
executabledir="${filesdir}" |
||||
|
executable="./codwaw_lnxded" |
||||
|
servercfg="${servicename}.cfg" |
||||
|
servercfgdefault="server.cfg" |
||||
|
servercfgdir="${systemdir}/main" |
||||
|
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
|
backupdir="${rootdir}/backups" |
||||
|
|
||||
|
## Logging Directories |
||||
|
gamelogdir="${filesdir}/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 |
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -42,9 +42,11 @@ parms="-game cure -insecure -strictportbind -ip ${ip} -port ${port} +clientport |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -188,7 +190,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game cstrike -strictportbind +ip ${ip} -port ${port} +clientport ${clien |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game czero -strictportbind +ip ${ip} -port ${port} +clientport ${clientp |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -67,9 +67,11 @@ parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport $ |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -213,7 +215,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -50,9 +50,11 @@ parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clien |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -196,7 +198,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-game dod -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -191,7 +193,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-game dod -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -46,9 +46,11 @@ parms="-game doi -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -193,7 +195,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game dmc -strictportbind +ip ${ip} -port ${port} +clientport ${clientpor |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161120" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -46,9 +46,11 @@ parms="-persistent_storage_root ${persistentstorageroot} -conf_dir ${confdir} -c |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -196,7 +198,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_por |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -28,9 +28,11 @@ parms="-game empires -strictportbind -ip ${ip} -port ${port} +clientport ${clien |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-game fof -strictportbind -ip ${ip} -port ${port} +clientport ${clientpor |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -59,9 +59,11 @@ parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickr |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -206,7 +208,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-game gesource -strictportbind -ip ${ip} -port ${port} +clientport ${clie |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-game hl2mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game valve -strictportbind +ip ${ip} -port ${port} +clientport ${clientp |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-game hl1mp -strictportbind -ip ${ip} -port ${port} +clientport ${clientp |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -193,7 +195,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -56,9 +56,11 @@ parms="-batchmode -nographics -exec \"host ${port} ${map} ${loadsave};queryport |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -203,7 +205,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -46,9 +46,11 @@ parms="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${cl |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -195,7 +197,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -1,9 +1,8 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
# Just Cause 2 |
|
||||
# Project: Game Server Managers - LinuxGSM |
# Project: Game Server Managers - LinuxGSM |
||||
# Author: Daniel Gibbs |
# Author: Daniel Gibbs |
||||
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
||||
# Purpose: GAMENAME | Server Management Script |
# Purpose: Just Cause 2 | Server Management Script |
||||
# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors |
# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors |
||||
# Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki |
# Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki |
||||
# Website: https://gameservermanagers.com |
# Website: https://gameservermanagers.com |
||||
@ -15,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -38,9 +37,11 @@ parms="" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -184,7 +185,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -46,9 +46,11 @@ parms="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -195,7 +197,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game left4dead -strictportbind -ip ${ip} -port ${port} +clientport ${cli |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game left4dead2 -strictportbind -ip ${ip} -port ${port} +clientport ${cl |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -38,9 +38,11 @@ parms="nogui" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -175,7 +177,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -37,9 +37,11 @@ parms="-fg -ini ${servercfgfullpath}" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -55,9 +55,11 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -200,7 +202,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -55,9 +55,11 @@ parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -200,7 +202,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -49,9 +49,11 @@ parms="-game nmrih -insecure -strictportbind -ip ${ip} -port ${port} +clientport |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -195,7 +197,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game gearbox -strictportbind +ip ${ip} -port ${port} +clientport ${clien |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="-game pvkii -strictportbind -ip ${ip} -port ${port} +clientport ${clientp |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -27,7 +27,7 @@ adminpassword="CHANGE_ME" |
|||||
ip="0.0.0.0" |
ip="0.0.0.0" |
||||
|
|
||||
fn_parms(){ |
fn_parms(){ |
||||
parms="-ip ${ip} -adminpassword \"${adminpassword}\"" |
parms="-ip ${ip} -adminpassword \"${adminpassword}\" -servername ${servicename}" |
||||
} |
} |
||||
|
|
||||
#### LinuxGSM Settings #### |
#### LinuxGSM Settings #### |
||||
@ -38,9 +38,11 @@ parms="-ip ${ip} -adminpassword \"${adminpassword}\"" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -96,8 +98,8 @@ filesdir="${rootdir}/serverfiles" |
|||||
systemdir="${filesdir}" |
systemdir="${filesdir}" |
||||
executabledir="${filesdir}" |
executabledir="${filesdir}" |
||||
executable="./start-server.sh" |
executable="./start-server.sh" |
||||
servercfg="server.ini" |
servercfg="${servicename}.ini" |
||||
servercfgdefault="server.cfg" |
servercfgdefault="server.ini" |
||||
servercfgdir="${HOME}/Zomboid/Server" |
servercfgdir="${HOME}/Zomboid/Server" |
||||
servercfgfullpath="${servercfgdir}/${servercfg}" |
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
@ -184,7 +186,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -39,9 +39,11 @@ parms="+set dedicated 1 +set ip ${ip} +set port ${port} +exec ${servercfg} +set |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
@ -174,7 +176,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -40,9 +40,11 @@ parms="+set sv_punkbuster 0 +set fs_basepath ${filesdir} +set dedicated 1 +set c |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
@ -175,7 +177,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -47,9 +47,11 @@ parms="+set net_strict 1 +set net_ip ${ip} +set net_port ${port} +set fs_homepat |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -194,7 +196,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -24,6 +24,7 @@ email="[email protected]" |
|||||
# https://www.pushbullet.com/#settings |
# https://www.pushbullet.com/#settings |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
# Start Variables |
# Start Variables |
||||
ip="0.0.0.0" |
ip="0.0.0.0" |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -44,9 +44,11 @@ parms="server ${defaultmap}?game=ROGame.ROTeamGame?VACSecured=true -nohomedir in |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -197,7 +199,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -67,9 +67,11 @@ parms="" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -214,7 +216,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -59,9 +59,11 @@ fi |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -208,10 +210,10 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
core_functions.sh |
core_functions.sh |
||||
getopt=$1 |
getopt=$1 |
||||
core_getopt.sh |
core_getopt.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -39,9 +39,11 @@ parms="+ip ${ip} +logfile ${gamelog} +exec ${servercfgfullpath}" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -187,7 +189,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game svencoop -strictportbind +ip ${ip} -port ${port} +clientport ${clie |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -47,9 +47,11 @@ parms="-game tf -strictportbind -ip ${ip} -port ${port} +clientport ${clientport |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -193,7 +195,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-game tfc -strictportbind _ip ${ip} -port ${port} +clientport ${clientpor |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -31,9 +31,11 @@ version="161030" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -166,7 +168,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-f ${servercfgfullpath}" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -190,7 +192,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -43,9 +43,11 @@ parms="-config ${servercfgfullpath}" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -189,7 +191,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -1,5 +1,4 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
# Unreal Tournament |
|
||||
# Project: Game Server Managers - LinuxGSM |
# Project: Game Server Managers - LinuxGSM |
||||
# Author: Daniel Gibbs |
# Author: Daniel Gibbs |
||||
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
||||
@ -15,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -45,9 +44,11 @@ parms="UnrealTournament ${defaultmap}?Game=${gametype}?TimeLimit=${timelimit} -p |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
@ -179,7 +180,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -40,9 +40,11 @@ parms="server ${defaultmap}?game=XGame.xDeathMatch -nohomedir ini=${servercfg} l |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
@ -178,7 +180,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -51,9 +51,11 @@ parms="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
@ -188,7 +190,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -40,9 +40,11 @@ parms="server ${defaultmap}.unr ini=${servercfgfullpath}" |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
@ -176,7 +178,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -14,7 +14,7 @@ if [ -f ".dev-debug" ]; then |
|||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
version="161030" |
version="161118" |
||||
|
|
||||
########################## |
########################## |
||||
######## Settings ######## |
######## Settings ######## |
||||
@ -39,9 +39,11 @@ fn_parms(){ |
|||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
emailfrom="" |
emailfrom="" |
||||
|
|
||||
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
channeltag="" |
||||
|
|
||||
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
updateonstart="off" |
updateonstart="off" |
||||
@ -177,7 +179,7 @@ if [ "$(whoami)" = "root" ]; then |
|||||
else |
else |
||||
core_functions.sh |
core_functions.sh |
||||
check_root.sh |
check_root.sh |
||||
fi |
fi |
||||
fi |
fi |
||||
|
|
||||
core_dl.sh |
core_dl.sh |
||||
|
@ -0,0 +1,12 @@ |
|||||
|
#!/bin/bash |
||||
|
# LGSM fix_coduo.sh function |
||||
|
# Author: Alexander Hurd |
||||
|
# Website: https://gameservermanagers.com |
||||
|
# Description: Fixes for Call of Duty: United Offensive |
||||
|
|
||||
|
local commandname="FIX" |
||||
|
local commandaction="Fix" |
||||
|
|
||||
|
# Force glibc fix |
||||
|
fix_glibc.sh |
||||
|
|
@ -0,0 +1,11 @@ |
|||||
|
#!/bin/bash |
||||
|
# LGSM fix_rust.sh function |
||||
|
# Author: Daniel Gibbs |
||||
|
# Website: https://gameservermanagers.com |
||||
|
# Description: Resolves startup issue with Rust |
||||
|
|
||||
|
local commandname="FIX" |
||||
|
local commandaction="Fix" |
||||
|
|
||||
|
# Fixes: [Raknet] Server Shutting Down (Shutting Down) |
||||
|
export LD_LIBRARY_PATH="${systemdir}/RustDedicated_Data/Plugins/x86_64" |
Binary file not shown.
Binary file not shown.
@ -1,60 +1,91 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
# TravisCI Tests: Just Cause 2 |
# Just Cause 2 |
||||
# Server Management Script |
# Project: Game Server Managers - LinuxGSM |
||||
# Author: Daniel Gibbs |
# Author: Daniel Gibbs |
||||
|
# License: MIT License, Copyright (c) 2016 Daniel Gibbs |
||||
|
# Purpose: TravisCI Test: Just Cause 2 | Server Management Script |
||||
|
# Contributors: https://github.com/GameServerManagers/LinuxGSM/graphs/contributors |
||||
|
# Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki |
||||
# Website: https://gameservermanagers.com |
# Website: https://gameservermanagers.com |
||||
version="101716" |
|
||||
|
|
||||
|
travistest=1 |
||||
|
|
||||
|
# Debugging |
||||
if [ -f ".dev-debug" ]; then |
if [ -f ".dev-debug" ]; then |
||||
exec 5>dev-debug.log |
exec 5>dev-debug.log |
||||
BASH_XTRACEFD="5" |
BASH_XTRACEFD="5" |
||||
set -x |
set -x |
||||
fi |
fi |
||||
|
|
||||
#### Variables #### |
version="161118" |
||||
|
|
||||
# Notification Alerts |
########################## |
||||
# (on|off) |
######## Settings ######## |
||||
|
########################## |
||||
|
|
||||
|
#### Server Settings #### |
||||
|
# No settings available for Just Cause 2 |
||||
|
|
||||
# Email |
## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters |
||||
|
# Edit with care |
||||
|
fn_parms(){ |
||||
|
parms="" |
||||
|
} |
||||
|
|
||||
|
#### LinuxGSM Settings #### |
||||
|
|
||||
|
## Notification Alerts |
||||
|
# (on|off) |
||||
|
# Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email |
||||
emailalert="off" |
emailalert="off" |
||||
email="[email protected]" |
email="[email protected]" |
||||
#emailfrom="[email protected]" |
emailfrom="" |
||||
|
|
||||
# Pushbullet |
# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet |
||||
# https://www.pushbullet.com/#settings |
|
||||
pushbulletalert="off" |
pushbulletalert="off" |
||||
pushbullettoken="accesstoken" |
pushbullettoken="accesstoken" |
||||
|
|
||||
# Steam login |
## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update |
||||
steamuser="anonymous" |
|
||||
steampass="" |
|
||||
|
|
||||
# Start Variables |
|
||||
updateonstart="off" |
updateonstart="off" |
||||
|
|
||||
fn_parms(){ |
## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup |
||||
parms="" |
maxbackups="4" |
||||
} |
maxbackupdays="30" |
||||
|
stoponbackup="on" |
||||
|
|
||||
#### Advanced Variables #### |
## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging |
||||
|
consolelogging="on" |
||||
|
logdays="7" |
||||
|
|
||||
|
#### LinuxGSM Advanced Settings #### |
||||
|
|
||||
|
## SteamCMD Settings |
||||
|
# Server appid |
||||
|
appid="261140" |
||||
|
# Steam App Branch Select |
||||
|
# Allows to opt into the various Steam app branches. Default branch is "". |
||||
|
# Example: "-beta latest_experimental" |
||||
|
branch="" |
||||
|
|
||||
# Github Branch Select |
## Github Branch Select |
||||
# Allows for the use of different function files |
# Allows for the use of different function files |
||||
# from a different repo and/or branch. |
# from a different repo and/or branch. |
||||
githubuser="GameServerManagers" |
githubuser="GameServerManagers" |
||||
githubrepo="LinuxGSM" |
githubrepo="LinuxGSM" |
||||
githubbranch="$TRAVIS_BRANCH" |
githubbranch="$TRAVIS_BRANCH" |
||||
|
|
||||
# Steam |
## LinuxGSM Server Details |
||||
appid="261140" |
# Do not edit |
||||
|
|
||||
# Server Details |
|
||||
servicename="jc2-server" |
|
||||
gamename="Just Cause 2" |
gamename="Just Cause 2" |
||||
engine="avalanche" |
engine="avalanche" |
||||
|
|
||||
# Directories |
## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers |
||||
|
servicename="jc2-server" |
||||
|
|
||||
|
#### Directories #### |
||||
|
# Edit with care |
||||
|
|
||||
|
## Work Directories |
||||
rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" |
rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" |
||||
selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" |
selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" |
||||
lockselfname=".${servicename}.lock" |
lockselfname=".${servicename}.lock" |
||||
@ -63,6 +94,8 @@ functionsdir="${lgsmdir}/functions" |
|||||
libdir="${lgsmdir}/lib" |
libdir="${lgsmdir}/lib" |
||||
tmpdir="${lgsmdir}/tmp" |
tmpdir="${lgsmdir}/tmp" |
||||
filesdir="${rootdir}/serverfiles" |
filesdir="${rootdir}/serverfiles" |
||||
|
|
||||
|
## Server Specific Directories |
||||
systemdir="${filesdir}" |
systemdir="${filesdir}" |
||||
executabledir="${filesdir}" |
executabledir="${filesdir}" |
||||
executable="./Jcmp-Server" |
executable="./Jcmp-Server" |
||||
@ -70,24 +103,26 @@ servercfg="config.lua" |
|||||
servercfgdefault="config.lua" |
servercfgdefault="config.lua" |
||||
servercfgdir="${filesdir}" |
servercfgdir="${filesdir}" |
||||
servercfgfullpath="${servercfgdir}/${servercfg}" |
servercfgfullpath="${servercfgdir}/${servercfg}" |
||||
|
|
||||
|
## Backup Directory |
||||
backupdir="${rootdir}/backups" |
backupdir="${rootdir}/backups" |
||||
|
|
||||
# Logging |
## Logging Directories |
||||
logdays="7" |
|
||||
#gamelogdir="" # No server logs available |
#gamelogdir="" # No server logs available |
||||
scriptlogdir="${rootdir}/log/script" |
scriptlogdir="${rootdir}/log/script" |
||||
consolelogdir="${rootdir}/log/console" |
consolelogdir="${rootdir}/log/console" |
||||
consolelogging="on" |
|
||||
|
|
||||
scriptlog="${scriptlogdir}/${servicename}-script.log" |
scriptlog="${scriptlogdir}/${servicename}-script.log" |
||||
consolelog="${consolelogdir}/${servicename}-console.log" |
consolelog="${consolelogdir}/${servicename}-console.log" |
||||
emaillog="${scriptlogdir}/${servicename}-email.log" |
emaillog="${scriptlogdir}/${servicename}-email.log" |
||||
|
|
||||
scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%d-%m-%Y-%H-%M-%S').log" |
## Logs Naming |
||||
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%d-%m-%Y-%H-%M-%S').log" |
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 |
######## Script ######## |
||||
|
###### Do not edit ##### |
||||
|
######################## |
||||
|
|
||||
# Fetches core_dl for file downloads |
# Fetches core_dl for file downloads |
||||
fn_fetch_core_dl(){ |
fn_fetch_core_dl(){ |
||||
@ -144,6 +179,17 @@ functionfile="${FUNCNAME}" |
|||||
fn_fetch_core_dl |
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_dl.sh |
||||
core_functions.sh |
core_functions.sh |
||||
|
|
||||
|
Loading…
Reference in new issue