_default.cfg 4.6 KB

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