|
|
@@ -0,0 +1,90 @@
|
|
|
+##################################
|
|
|
+######## Default Settings ########
|
|
|
+##################################
|
|
|
+# DO NOT EDIT WILL BE OVERWRITTEN!
|
|
|
+# Copy settings from here and use them in either
|
|
|
+# common.cfg - applys settings to every instance
|
|
|
+# [instance].cfg - applys settings to specific instance
|
|
|
+
|
|
|
+#### Server Settings ####
|
|
|
+
|
|
|
+## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
|
|
|
+steamuser="username"
|
|
|
+steampass='password'
|
|
|
+
|
|
|
+## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
|
|
|
+ip="0.0.0.0"
|
|
|
+
|
|
|
+## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
|
|
|
+fn_parms(){
|
|
|
+parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated -configfile=${servercfgfullpath}"
|
|
|
+}
|
|
|
+
|
|
|
+#### LinuxGSM Settings ####
|
|
|
+
|
|
|
+## Notification Alerts
|
|
|
+# (on|off)
|
|
|
+# Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
|
|
|
+emailalert="off"
|
|
|
+email="email@example.com"
|
|
|
+emailfrom=""
|
|
|
+
|
|
|
+# Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
|
|
|
+pushbulletalert="off"
|
|
|
+pushbullettoken="accesstoken"
|
|
|
+channeltag=""
|
|
|
+
|
|
|
+## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
|
|
|
+updateonstart="off"
|
|
|
+
|
|
|
+## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
|
|
|
+maxbackups="4"
|
|
|
+maxbackupdays="30"
|
|
|
+stoponbackup="on"
|
|
|
+
|
|
|
+## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
|
|
|
+consolelogging="on"
|
|
|
+logdays="7"
|
|
|
+
|
|
|
+#### LinuxGSM Advanced Settings ####
|
|
|
+
|
|
|
+## SteamCMD Settings
|
|
|
+# Server appid
|
|
|
+appid="294420"
|
|
|
+# Steam App Branch Select
|
|
|
+# Allows to opt into the various Steam app branches. Default branch is "".
|
|
|
+# Example: "-beta latest_experimental"
|
|
|
+branch=""
|
|
|
+
|
|
|
+## LinuxGSM Server Details
|
|
|
+# Do not edit
|
|
|
+gamename="7 Days To Die"
|
|
|
+engine="unity3d"
|
|
|
+
|
|
|
+#### Directories ####
|
|
|
+# Edit with care
|
|
|
+
|
|
|
+## Server Specific Directories
|
|
|
+systemdir="${filesdir}"
|
|
|
+executabledir="${filesdir}"
|
|
|
+executable="./7DaysToDieServer.x86"
|
|
|
+servercfg="${servicename}.xml"
|
|
|
+servercfgdefault="serverconfig.xml"
|
|
|
+servercfgdir="${filesdir}"
|
|
|
+servercfgfullpath="${servercfgdir}/${servercfg}"
|
|
|
+
|
|
|
+## Backup Directory
|
|
|
+backupdir="${rootdir}/backups"
|
|
|
+
|
|
|
+## Logging Directories
|
|
|
+gamelogdir="${rootdir}/log/server"
|
|
|
+scriptlogdir="${rootdir}/log/script"
|
|
|
+consolelogdir="${rootdir}/log/console"
|
|
|
+gamelog="${gamelogdir}/${servicename}-game.log"
|
|
|
+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"
|