_default.cfg 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. #### Game Server Settings ####
  9. ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
  10. ip="0.0.0.0"
  11. port="27015"
  12. clientport="27005"
  13. sourcetvport="27020"
  14. defaultmap="da_rooftops"
  15. maxplayers="10"
  16. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  17. startparameters="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
  18. #### LinuxGSM Settings ####
  19. ## LinuxGSM Stats
  20. # Send useful stats to LinuxGSM developers.
  21. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  22. # (on|off)
  23. stats="off"
  24. ## Notification Alerts
  25. # (on|off)
  26. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  27. displayip=""
  28. # More info | https://docs.linuxgsm.com/alerts#more-info
  29. postalert="off"
  30. # Alert on Start/Stop/Restart
  31. statusalert="off"
  32. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  33. discordalert="off"
  34. discordwebhook="webhook"
  35. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  36. emailalert="off"
  37. email="email@example.com"
  38. emailfrom=""
  39. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  40. gotifyalert="off"
  41. gotifytoken="token"
  42. gotifywebhook="webhook"
  43. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  44. iftttalert="off"
  45. ifttttoken="accesstoken"
  46. iftttevent="linuxgsm_alert"
  47. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  48. ntfyalert="off"
  49. ntfytopic="LinuxGSM"
  50. ntfyserver="https://ntfy.sh"
  51. ntfytoken=""
  52. ntfyusername=""
  53. ntfypassword=""
  54. ntfypriority=""
  55. ntfytags=""
  56. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  57. pushbulletalert="off"
  58. pushbullettoken="accesstoken"
  59. channeltag=""
  60. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  61. pushoveralert="off"
  62. pushovertoken="accesstoken"
  63. pushoveruserkey="userkey"
  64. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  65. rocketchatalert="off"
  66. rocketchatwebhook="webhook"
  67. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  68. slackalert="off"
  69. slackwebhook="webhook"
  70. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  71. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  72. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  73. telegramapi="api.telegram.org"
  74. telegramalert="off"
  75. telegramtoken="accesstoken"
  76. telegramchatid=""
  77. telegramthreadid=""
  78. telegramsilentnotification="false"
  79. curlcustomstring=""
  80. ## Updating | https://docs.linuxgsm.com/commands/update
  81. updateonstart="off"
  82. ## Backup | https://docs.linuxgsm.com/commands/backup
  83. maxbackups="4"
  84. maxbackupdays="30"
  85. stoponbackup="on"
  86. ## Logging | https://docs.linuxgsm.com/features/logging
  87. consolelogging="on"
  88. logdays="7"
  89. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  90. # Query delay time
  91. querydelay="1"
  92. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  93. ansi="on"
  94. #### Advanced Settings ####
  95. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  96. sleeptime="0.5"
  97. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  98. # Server appid
  99. appid="317800"
  100. steamcmdforcewindows="no"
  101. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  102. branch=""
  103. betapassword=""
  104. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  105. steammaster="true"
  106. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  107. # 1: tmux kill
  108. # 2: CTRL+c
  109. # 3: quit
  110. # 4: quit 120s
  111. # 5: stop
  112. # 6: q
  113. # 7: exit
  114. # 8: 7 Days to Die
  115. # 9: GoldSrc
  116. # 10: Avorion
  117. # 11: end
  118. stopmode="3"
  119. ## Query mode
  120. # 1: session only
  121. # 2: gamedig (gsquery fallback)
  122. # 3: gamedig
  123. # 4: gsquery
  124. # 5: tcp
  125. querymode="2"
  126. querytype="protocol-valve"
  127. ## Console type
  128. consoleverbose="yes"
  129. consoleinteract="yes"
  130. ## Game Server Details
  131. # Do not edit
  132. gamename="Double Action: Boogaloo"
  133. engine="source"
  134. glibc="2.15"
  135. #### Directories ####
  136. # Edit with care
  137. ## Game Server Directories
  138. systemdir="${serverfiles}/dab"
  139. executabledir="${serverfiles}"
  140. executable="./dabds.sh"
  141. servercfgdir="${systemdir}/cfg"
  142. servercfg="${selfname}.cfg"
  143. servercfgdefault="server.cfg"
  144. servercfgfullpath="${servercfgdir}/${servercfg}"
  145. ## Backup Directory
  146. backupdir="${lgsmdir}/backup"
  147. ## Logging Directories
  148. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  149. gamelogdir="${systemdir}/logs"
  150. lgsmlogdir="${logdir}/script"
  151. consolelogdir="${logdir}/console"
  152. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  153. consolelog="${consolelogdir}/${selfname}-console.log"
  154. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  155. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  156. ## Logs Naming
  157. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  158. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  159. ## Log Parameters
  160. logtimestamp="off"
  161. logtimestampformat="%Y-%m-%d %H:%M:%S"