_default.cfg 4.8 KB

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