_default.cfg 4.6 KB

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