4
0

_default.cfg 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  14. fn_parms(){
  15. if [ ! -z "${adminsteamid}" ]; then
  16. admincmd="--admin ${adminsteamid}"
  17. fi
  18. parms="--galaxy-name ${selfname} --ip ${ip} --datapath ${avdatapath} ${admincmd}"
  19. }
  20. #### LinuxGSM Settings ####
  21. ## LinuxGSM Stats
  22. # Send useful stats to LinuxGSM developers.
  23. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  24. # (on|off)
  25. stats="off"
  26. ## Notification Alerts
  27. # (on|off)
  28. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  29. displayip=""
  30. # More info | https://docs.linuxgsm.com/alerts#more-info
  31. postalert="off"
  32. postdays="7"
  33. posttarget="https://termbin.com"
  34. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  35. discordalert="off"
  36. discordwebhook="webhook"
  37. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  38. emailalert="off"
  39. email="email@example.com"
  40. emailfrom=""
  41. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  42. iftttalert="off"
  43. ifttttoken="accesstoken"
  44. iftttevent="linuxgsm_alert"
  45. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  46. mailgunalert="off"
  47. mailguntoken="accesstoken"
  48. mailgundomain="example.com"
  49. mailgunemailfrom="alert@example.com"
  50. mailgunemail="email@myemail.com"
  51. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  52. pushbulletalert="off"
  53. pushbullettoken="accesstoken"
  54. channeltag=""
  55. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  56. pushoveralert="off"
  57. pushovertoken="accesstoken"
  58. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  59. slackalert="off"
  60. slackwebhook="webhook"
  61. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  62. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  63. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  64. # any custom string in curl - simple ignore this parameter.
  65. telegramalert="off"
  66. telegramtoken="accesstoken"
  67. telegramchatid=""
  68. curlcustomstring=""
  69. ## Updating | https://docs.linuxgsm.com/commands/update
  70. updateonstart="off"
  71. ## Backup | https://docs.linuxgsm.com/commands/backup
  72. maxbackups="4"
  73. maxbackupdays="30"
  74. stoponbackup="on"
  75. ## Logging | https://docs.linuxgsm.com/features/logging
  76. consolelogging="on"
  77. logdays="7"
  78. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  79. # Query delay time
  80. querydelay="1"
  81. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  82. ansi="on"
  83. #### Advanced Settings ####
  84. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  85. sleeptime="0.5"
  86. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  87. # Server appid
  88. appid="565060"
  89. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  90. branch=""
  91. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  92. steammaster="false"
  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. stopmode="10"
  105. ## Query mode
  106. # 1: session only
  107. # 2: gamedig + gsquery
  108. # 3: gamedig
  109. # 4: gsquery
  110. # 5: tcp
  111. querymode="5"
  112. querytype=""
  113. ## Game Server Details
  114. # Do not edit
  115. gamename="Avorion"
  116. engine="avorion"
  117. glibc="2.15"
  118. #### Directories ####
  119. # Edit with care
  120. ## Game Server Directories
  121. avdatapath="${serverfiles}/galaxy"
  122. avgalaxypath="${avdatapath}/${selfname}"
  123. systemdir="${serverfiles}"
  124. executabledir="${systemdir}"
  125. executable="./server.sh"
  126. servercfgdir="${avgalaxypath}"
  127. servercfg="server.ini"
  128. servercfgdefault="server.ini"
  129. servercfgfullpath="${servercfgdir}/${servercfg}"
  130. ## Backup Directory
  131. backupdir="${lgsmdir}/backup"
  132. ## Logging Directories
  133. logdir="${rootdir}/log"
  134. gamelogdir="${systemdir}/ServerLogs"
  135. lgsmlogdir="${logdir}/script"
  136. consolelogdir="${logdir}/console"
  137. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  138. consolelog="${consolelogdir}/${selfname}-console.log"
  139. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  140. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  141. ## Logs Naming
  142. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  143. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"