|
| 1 | +################################## |
| 2 | +######## Default Settings ######## |
| 3 | +################################## |
| 4 | +# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN! |
| 5 | +# Copy settings from here and use them in either: |
| 6 | +# common.cfg - applies settings to every instance. |
| 7 | +# [instance].cfg - applies settings to a specific instance. |
| 8 | + |
| 9 | +#### Game Server Settings #### |
| 10 | + |
| 11 | +## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login |
| 12 | +# steamuser="username" |
| 13 | +# steampass='password' |
| 14 | + |
| 15 | +## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters |
| 16 | +ip="0.0.0.0" |
| 17 | +port="2302" |
| 18 | + |
| 19 | +## DayZ Modules |
| 20 | +# Add mods with relative paths: |
| 21 | +# mods/@cf |
| 22 | +# To load the "Community framework for DayZ SA" module found in the |
| 23 | +# directory serverfiles/mods/@cf. Load several mods as: |
| 24 | +# mods="mods/@cf\;mods/@dayz-expansion\;mods/@deerisle" |
| 25 | +mods="" |
| 26 | + |
| 27 | +## Server-side Mods |
| 28 | +servermods="" |
| 29 | + |
| 30 | +## Path to BattlEye |
| 31 | +# Leave empty for default |
| 32 | +bepath="" |
| 33 | + |
| 34 | +## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
| 35 | +startparameters="-ip=${ip} -port=${port} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -limitFPS=60 -dologs -adminlog -freezeCheck" |
| 36 | + |
| 37 | +#### LinuxGSM Settings #### |
| 38 | + |
| 39 | +## LinuxGSM Stats |
| 40 | +# Send useful stats to LinuxGSM developers. |
| 41 | +# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
| 42 | +# (on|off) |
| 43 | +stats="off" |
| 44 | + |
| 45 | +## Notification Alerts |
| 46 | +# (on|off) |
| 47 | + |
| 48 | +# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
| 49 | +displayip="" |
| 50 | + |
| 51 | +# More info | https://docs.linuxgsm.com/alerts#more-info |
| 52 | +postalert="off" |
| 53 | + |
| 54 | +# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
| 55 | +discordalert="off" |
| 56 | +discordwebhook="webhook" |
| 57 | + |
| 58 | +# Email Alerts | https://docs.linuxgsm.com/alerts/email |
| 59 | +emailalert="off" |
| 60 | + |
| 61 | +emailfrom="" |
| 62 | + |
| 63 | +# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify |
| 64 | +gotifyalert="off" |
| 65 | +gotifytoken="token" |
| 66 | +gotifywebhook="webhook" |
| 67 | + |
| 68 | +# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
| 69 | +iftttalert="off" |
| 70 | +ifttttoken="accesstoken" |
| 71 | +iftttevent="linuxgsm_alert" |
| 72 | + |
| 73 | +# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
| 74 | +mailgunalert="off" |
| 75 | +mailgunapiregion="us" |
| 76 | +mailguntoken="accesstoken" |
| 77 | +mailgundomain="example.com" |
| 78 | +mailgunemailfrom= "[email protected]" |
| 79 | + |
| 80 | + |
| 81 | +# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
| 82 | +pushbulletalert="off" |
| 83 | +pushbullettoken="accesstoken" |
| 84 | +channeltag="" |
| 85 | + |
| 86 | +# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
| 87 | +pushoveralert="off" |
| 88 | +pushovertoken="accesstoken" |
| 89 | +pushoveruserkey="userkey" |
| 90 | + |
| 91 | +# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
| 92 | +rocketchatalert="off" |
| 93 | +rocketchatwebhook="webhook" |
| 94 | +rocketchattoken="" |
| 95 | + |
| 96 | +# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
| 97 | +slackalert="off" |
| 98 | +slackwebhook="webhook" |
| 99 | + |
| 100 | +# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
| 101 | +# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
| 102 | +# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
| 103 | +telegramapi="api.telegram.org" |
| 104 | +telegramalert="off" |
| 105 | +telegramtoken="accesstoken" |
| 106 | +telegramchatid="" |
| 107 | +curlcustomstring="" |
| 108 | + |
| 109 | +## Updating | https://docs.linuxgsm.com/commands/update |
| 110 | +updateonstart="off" |
| 111 | + |
| 112 | +## Backup | https://docs.linuxgsm.com/commands/backup |
| 113 | +maxbackups="4" |
| 114 | +maxbackupdays="30" |
| 115 | +stoponbackup="on" |
| 116 | + |
| 117 | +## Logging | https://docs.linuxgsm.com/features/logging |
| 118 | +consolelogging="on" |
| 119 | +logdays="7" |
| 120 | + |
| 121 | +## Monitor | https://docs.linuxgsm.com/commands/monitor |
| 122 | +# Query delay time |
| 123 | +querydelay="5" |
| 124 | + |
| 125 | +## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
| 126 | +ansi="on" |
| 127 | + |
| 128 | +#### Advanced Settings #### |
| 129 | + |
| 130 | +## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
| 131 | +sleeptime="0.5" |
| 132 | + |
| 133 | +## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
| 134 | +# Server appid |
| 135 | +appid="1042420" |
| 136 | +steamcmdforcewindows="no" |
| 137 | +# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
| 138 | +branch="" |
| 139 | +betapassword="" |
| 140 | +# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
| 141 | +steammaster="false" |
| 142 | + |
| 143 | +## Stop Mode | https://docs.linuxgsm.com/features/stop-mode |
| 144 | +# 1: tmux kill |
| 145 | +# 2: CTRL+c |
| 146 | +# 3: quit |
| 147 | +# 4: quit 120s |
| 148 | +# 5: stop |
| 149 | +# 6: q |
| 150 | +# 7: exit |
| 151 | +# 8: 7 Days to Die |
| 152 | +# 9: GoldSrc |
| 153 | +# 10: Avorion |
| 154 | +# 11: end |
| 155 | +stopmode="2" |
| 156 | + |
| 157 | +## Query mode |
| 158 | +# 1: session only |
| 159 | +# 2: gamedig (gsquery fallback) |
| 160 | +# 3: gamedig |
| 161 | +# 4: gsquery |
| 162 | +# 5: tcp |
| 163 | +querymode="2" |
| 164 | +querytype="protocol-valve" |
| 165 | + |
| 166 | +## Console type |
| 167 | +consoleverbose="yes" |
| 168 | +consoleinteract="no" |
| 169 | + |
| 170 | +## Game Server Details |
| 171 | +# Do not edit |
| 172 | +gamename="DayZ" |
| 173 | +engine="enfusion" |
| 174 | +glibc="2.27" |
| 175 | + |
| 176 | +#### Directories #### |
| 177 | +# Edit with care |
| 178 | + |
| 179 | +## Game Server Directories |
| 180 | +systemdir="${serverfiles}" |
| 181 | +executabledir="${serverfiles}" |
| 182 | +executable="./DayZServer" |
| 183 | +servercfgdir="${systemdir}/cfg" |
| 184 | +servercfg="${selfname}.server.cfg" |
| 185 | +servercfgdefault="server.cfg" |
| 186 | +servercfgfullpath="${servercfgdir}/${servercfg}" |
| 187 | + |
| 188 | +## Backup Directory |
| 189 | +backupdir="${lgsmdir}/backup" |
| 190 | + |
| 191 | +## Logging Directories |
| 192 | +logdir="${rootdir}/log" |
| 193 | +lgsmlogdir="${logdir}/script" |
| 194 | +consolelogdir="${logdir}/console" |
| 195 | +lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
| 196 | +consolelog="${consolelogdir}/${selfname}-console.log" |
| 197 | +alertlog="${lgsmlogdir}/${selfname}-alert.log" |
| 198 | +postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
| 199 | + |
| 200 | +## Logs Naming |
| 201 | +lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
| 202 | +consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
0 commit comments