_default.cfg 4.8 KB

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