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