|
| 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 | +## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters |
| 11 | +port="27000" |
| 12 | +# https://steamidfinder.com |
| 13 | +adminsteamid="" |
| 14 | +avgalaxy="avgalaxy" |
| 15 | + |
| 16 | +## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
| 17 | +fn_parms(){ |
| 18 | +if [ ! -z "${adminsteamid}" ]; then |
| 19 | + admincmd="--admin ${adminsteamid}" |
| 20 | +fi |
| 21 | +parms="--galaxy-name ${avgalaxy} --ip ${ip} --datapath ${avdatapath} ${admincmd}" |
| 22 | +} |
| 23 | + |
| 24 | +#### LinuxGSM Settings #### |
| 25 | + |
| 26 | +## LinuxGSM Stats |
| 27 | +# Send useful stats to LinuxGSM developers. |
| 28 | +# https://docs.linuxgsm.com/configuration/linuxgsm-stats |
| 29 | +# (on|off) |
| 30 | +stats="off" |
| 31 | +## Notification Alerts |
| 32 | +# (on|off) |
| 33 | + |
| 34 | +# Display IP | https://docs.linuxgsm.com/alerts#display-ip |
| 35 | +displayip="" |
| 36 | + |
| 37 | +# More info | https://docs.linuxgsm.com/alerts#more-info |
| 38 | +postalert="off" |
| 39 | +postdays="7" |
| 40 | +posttarget="https://termbin.com" |
| 41 | + |
| 42 | +# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
| 43 | +discordalert="off" |
| 44 | +discordwebhook="webhook" |
| 45 | + |
| 46 | +# Email Alerts | https://docs.linuxgsm.com/alerts/email |
| 47 | +emailalert="off" |
| 48 | + |
| 49 | +emailfrom="" |
| 50 | + |
| 51 | +# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt |
| 52 | +iftttalert="off" |
| 53 | +ifttttoken="accesstoken" |
| 54 | +iftttevent="linuxgsm_alert" |
| 55 | + |
| 56 | +# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
| 57 | +mailgunalert="off" |
| 58 | +mailguntoken="accesstoken" |
| 59 | +mailgundomain="example.com" |
| 60 | +mailgunemailfrom= "[email protected]" |
| 61 | + |
| 62 | + |
| 63 | +# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
| 64 | +pushbulletalert="off" |
| 65 | +pushbullettoken="accesstoken" |
| 66 | +channeltag="" |
| 67 | + |
| 68 | +# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
| 69 | +pushoveralert="off" |
| 70 | +pushovertoken="accesstoken" |
| 71 | + |
| 72 | +# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
| 73 | +slackalert="off" |
| 74 | +slackwebhook="webhook" |
| 75 | + |
| 76 | +# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
| 77 | +# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring". |
| 78 | +# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need |
| 79 | +# any custom string in curl - simple ignore this parameter. |
| 80 | +telegramalert="off" |
| 81 | +telegramtoken="accesstoken" |
| 82 | +telegramchatid="" |
| 83 | +curlcustomstring="" |
| 84 | + |
| 85 | +## Updating | https://docs.linuxgsm.com/commands/update |
| 86 | +updateonstart="off" |
| 87 | + |
| 88 | +## Backup | https://docs.linuxgsm.com/commands/backup |
| 89 | +maxbackups="4" |
| 90 | +maxbackupdays="30" |
| 91 | +stoponbackup="on" |
| 92 | + |
| 93 | +## Logging | https://docs.linuxgsm.com/features/logging |
| 94 | +consolelogging="on" |
| 95 | +logdays="7" |
| 96 | + |
| 97 | +## Monitor | https://docs.linuxgsm.com/commands/monitor |
| 98 | +# Query delay time |
| 99 | +querydelay="1" |
| 100 | + |
| 101 | +## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors |
| 102 | +ansi="on" |
| 103 | + |
| 104 | +#### Advanced Settings #### |
| 105 | + |
| 106 | +## Message Display Time | https://docs.linuxgsm.com/features/message-display-time |
| 107 | +sleeptime="0.5" |
| 108 | +## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
| 109 | +# Server appid |
| 110 | +appid="565060" |
| 111 | +# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
| 112 | +branch="" |
| 113 | +# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
| 114 | +steammaster="false" |
| 115 | + |
| 116 | +## Stop Mode | https://docs.linuxgsm.com/features/stop-mode |
| 117 | +# 1: tmux kill |
| 118 | +# 2: CTRL+c |
| 119 | +# 3: quit |
| 120 | +# 4: quit 120s |
| 121 | +# 5: stop |
| 122 | +# 6: q |
| 123 | +# 7: exit |
| 124 | +# 8: 7 Days to Die |
| 125 | +# 9: GoldSrc |
| 126 | +# 10: Avorion |
| 127 | +stopmode="10" |
| 128 | + |
| 129 | +## Query mode |
| 130 | +# 1: session only |
| 131 | +# 2: gamedig + gsquery |
| 132 | +# 3: gamedig |
| 133 | +# 4: gsquery |
| 134 | +# 5: tcp |
| 135 | +querymode="5" |
| 136 | +querytype="" |
| 137 | + |
| 138 | +## Game Server Details |
| 139 | +# Do not edit |
| 140 | +gamename="Avorion" |
| 141 | +engine="avorion" |
| 142 | +glibc="2.15" |
| 143 | + |
| 144 | +#### Directories #### |
| 145 | +# Edit with care |
| 146 | + |
| 147 | +## Game Server Directories |
| 148 | +avdatapath="${serverfiles}/galaxy" |
| 149 | +avgalaxypath="${avdatapath}/${avgalaxy}" |
| 150 | +systemdir="${serverfiles}" |
| 151 | +executabledir="${systemdir}" |
| 152 | +executable="./server.sh" |
| 153 | +servercfgdir="${avgalaxypath}" |
| 154 | +servercfg="server.ini" |
| 155 | +servercfgdefault="server.ini" |
| 156 | +servercfgfullpath="${servercfgdir}/${servercfg}" |
| 157 | + |
| 158 | +## Backup Directory |
| 159 | +backupdir="${lgsmdir}/backup" |
| 160 | + |
| 161 | +## Logging Directories |
| 162 | +logdir="${rootdir}/log" |
| 163 | +gamelogdir="${systemdir}/ServerLogs" |
| 164 | +lgsmlogdir="${logdir}/script" |
| 165 | +consolelogdir="${logdir}/console" |
| 166 | +lgsmlog="${lgsmlogdir}/${selfname}-script.log" |
| 167 | +consolelog="${consolelogdir}/${selfname}-console.log" |
| 168 | +alertlog="${lgsmlogdir}/${selfname}-alert.log" |
| 169 | +postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
| 170 | + |
| 171 | +## Logs Naming |
| 172 | +lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
| 173 | +consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
0 commit comments