_default.cfg 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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. ## All server settings except the server port are done in the config file:
  11. ## Docs: https://en.scpslgame.com/index.php?title=Docs:Server_Config
  12. port="7777"
  13. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  14. startparameters="${port}"
  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. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  45. ntfyalert="off"
  46. ntfytopic="LinuxGSM"
  47. ntfyserver="https://ntfy.sh"
  48. ntfytoken=""
  49. ntfyusername=""
  50. ntfypassword=""
  51. ntfypriority=""
  52. ntfytags=""
  53. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  54. pushbulletalert="off"
  55. pushbullettoken="accesstoken"
  56. channeltag=""
  57. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  58. pushoveralert="off"
  59. pushovertoken="accesstoken"
  60. pushoveruserkey="userkey"
  61. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  62. rocketchatalert="off"
  63. rocketchatwebhook="webhook"
  64. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  65. slackalert="off"
  66. slackwebhook="webhook"
  67. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  68. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  69. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  70. telegramapi="api.telegram.org"
  71. telegramalert="off"
  72. telegramtoken="accesstoken"
  73. telegramchatid=""
  74. telegramthreadid=""
  75. telegramsilentnotification="false"
  76. curlcustomstring=""
  77. ## Updating | https://docs.linuxgsm.com/commands/update
  78. updateonstart="off"
  79. ## Backup | https://docs.linuxgsm.com/commands/backup
  80. maxbackups="4"
  81. maxbackupdays="30"
  82. stoponbackup="on"
  83. ## Logging | https://docs.linuxgsm.com/features/logging
  84. consolelogging="on"
  85. logdays="7"
  86. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  87. # Query delay time
  88. querydelay="1"
  89. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  90. ansi="on"
  91. #### Advanced Settings ####
  92. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  93. sleeptime="0.5"
  94. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  95. # Server appid
  96. appid="996560"
  97. steamcmdforcewindows="no"
  98. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  99. branch=""
  100. betapassword=""
  101. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  102. steammaster="false"
  103. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  104. # 1: tmux kill
  105. # 2: CTRL+c
  106. # 3: quit
  107. # 4: quit 120s
  108. # 5: stop
  109. # 6: q
  110. # 7: exit
  111. # 8: 7 Days to Die
  112. # 9: GoldSrc
  113. # 10: Avorion
  114. # 11: end
  115. stopmode="7"
  116. ## Query mode
  117. # 1: session only
  118. # 2: gamedig (gsquery fallback)
  119. # 3: gamedig
  120. # 4: gsquery
  121. # 5: tcp
  122. querymode="1"
  123. querytype=""
  124. ## Console type
  125. consoleverbose="yes"
  126. consoleinteract="yes"
  127. ## Game Server Details
  128. # Do not edit
  129. gamename="SCP: Secret Laboratory"
  130. engine="unity3d"
  131. glibc="2.27"
  132. #### Directories ####
  133. # Edit with care
  134. ## Game Server Directories
  135. systemdir="${serverfiles}"
  136. executabledir="${systemdir}"
  137. executable="./LocalAdmin"
  138. servercfg="config_gameplay.txt"
  139. servercfgdefault="config_gameplay.txt"
  140. servercfgdir="${HOME}/.config/SCP Secret Laboratory/config/${port}"
  141. servercfgfullpath="${servercfgdir}/${servercfg}"
  142. ## Backup Directory
  143. backupdir="${lgsmdir}/backup"
  144. ## Logging Directories
  145. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  146. gamelogdir="${HOME}/.config/SCP Secret Laboratory/LocalAdminLogs/${port}"
  147. lgsmlogdir="${logdir}/script"
  148. consolelogdir="${logdir}/console"
  149. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  150. consolelog="${consolelogdir}/${selfname}-console.log"
  151. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  152. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  153. ## Logs Naming
  154. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  155. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  156. ## Log Parameters
  157. logtimestamp="off"
  158. logtimestampformat="%Y-%m-%d %H:%M:%S"