_default.cfg 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
  10. port="27000"
  11. # https://steamidfinder.com
  12. adminsteamid=""
  13. avgalaxy="avgalaxy"
  14. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  15. fn_parms(){
  16. if [ ! -z "${adminsteamid}" ]; then
  17. admincmd="--admin ${adminsteamid}"
  18. fi
  19. parms="--galaxy-name ${avgalaxy} --ip ${ip} --datapath ${avdatapath} ${admincmd}"
  20. }
  21. #### LinuxGSM Settings ####
  22. ## LinuxGSM Stats
  23. # Send useful stats to LinuxGSM developers.
  24. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  25. # (on|off)
  26. stats="off"
  27. ## Notification Alerts
  28. # (on|off)
  29. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  30. displayip=""
  31. # More info | https://docs.linuxgsm.com/alerts#more-info
  32. postalert="off"
  33. postdays="7"
  34. posttarget="https://termbin.com"
  35. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  36. discordalert="off"
  37. discordwebhook="webhook"
  38. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  39. emailalert="off"
  40. email="email@example.com"
  41. emailfrom=""
  42. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  43. iftttalert="off"
  44. ifttttoken="accesstoken"
  45. iftttevent="linuxgsm_alert"
  46. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  47. mailgunalert="off"
  48. mailguntoken="accesstoken"
  49. mailgundomain="example.com"
  50. mailgunemailfrom="alert@example.com"
  51. mailgunemail="email@myemail.com"
  52. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  53. pushbulletalert="off"
  54. pushbullettoken="accesstoken"
  55. channeltag=""
  56. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  57. pushoveralert="off"
  58. pushovertoken="accesstoken"
  59. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  60. slackalert="off"
  61. slackwebhook="webhook"
  62. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  63. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  64. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  65. # any custom string in curl - simple ignore this parameter.
  66. telegramalert="off"
  67. telegramtoken="accesstoken"
  68. telegramchatid=""
  69. curlcustomstring=""
  70. ## Updating | https://docs.linuxgsm.com/commands/update
  71. updateonstart="off"
  72. ## Backup | https://docs.linuxgsm.com/commands/backup
  73. maxbackups="4"
  74. maxbackupdays="30"
  75. stoponbackup="on"
  76. ## Logging | https://docs.linuxgsm.com/features/logging
  77. consolelogging="on"
  78. logdays="7"
  79. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  80. # Query delay time
  81. querydelay="1"
  82. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  83. ansi="on"
  84. #### Advanced Settings ####
  85. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  86. sleeptime="0.5"
  87. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  88. # Server appid
  89. appid="565060"
  90. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  91. branch=""
  92. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  93. steammaster="false"
  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. stopmode="10"
  106. ## Query mode
  107. # 1: session only
  108. # 2: gamedig + gsquery
  109. # 3: gamedig
  110. # 4: gsquery
  111. # 5: tcp
  112. querymode="5"
  113. querytype=""
  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}/${avgalaxy}"
  124. systemdir="${serverfiles}"
  125. executabledir="${systemdir}"
  126. executable="./server.sh"
  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. 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"