_default.cfg 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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. ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
  10. servername="LinuxGSM"
  11. serverpassword=""
  12. adminpassword=""
  13. port="8777"
  14. queryport="27015"
  15. telnetport="18888"
  16. maxplayers="50"
  17. backupinterval="15" # Backup interval in minutes.
  18. defaultmap="Level01_Main"
  19. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  20. startparameters="WS ${defaultmap} -MultiHome=${ip} -Port=${port} -EchoPort=${telnetport} -QueryPort=${queryport} -SteamServerName='${servername}' -PSW='${serverpassword}' -adminpsw='${adminpassword}' -MaxPlayers=${maxplayers} -initbackup -backupinterval=${backupinterval} -UTF8Output -forcepassthrough -log"
  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. # Alert on Start/Stop/Restart
  34. statusalert="off"
  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. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  43. gotifyalert="off"
  44. gotifytoken="token"
  45. gotifywebhook="webhook"
  46. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  47. iftttalert="off"
  48. ifttttoken="accesstoken"
  49. iftttevent="linuxgsm_alert"
  50. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  51. ntfyalert="off"
  52. ntfytopic="LinuxGSM"
  53. ntfyserver="https://ntfy.sh"
  54. ntfytoken=""
  55. ntfyusername=""
  56. ntfypassword=""
  57. ntfypriority=""
  58. ntfytags=""
  59. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  60. pushbulletalert="off"
  61. pushbullettoken="accesstoken"
  62. channeltag=""
  63. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  64. pushoveralert="off"
  65. pushovertoken="accesstoken"
  66. pushoveruserkey="userkey"
  67. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  68. rocketchatalert="off"
  69. rocketchatwebhook="webhook"
  70. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  71. slackalert="off"
  72. slackwebhook="webhook"
  73. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  74. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  75. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  76. telegramapi="api.telegram.org"
  77. telegramalert="off"
  78. telegramtoken="accesstoken"
  79. telegramchatid=""
  80. telegramthreadid=""
  81. telegramsilentnotification="false"
  82. curlcustomstring=""
  83. ## Updating | https://docs.linuxgsm.com/commands/update
  84. updateonstart="off"
  85. ## Backup | https://docs.linuxgsm.com/commands/backup
  86. maxbackups="4"
  87. maxbackupdays="30"
  88. stoponbackup="on"
  89. ## Logging | https://docs.linuxgsm.com/features/logging
  90. consolelogging="on"
  91. logdays="7"
  92. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  93. # Query delay time
  94. querydelay="5"
  95. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  96. ansi="on"
  97. #### Advanced Settings ####
  98. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  99. sleeptime="0.5"
  100. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  101. # Server appid
  102. appid="3017300"
  103. steamcmdforcewindows="no"
  104. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  105. branch=""
  106. betapassword=""
  107. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  108. steammaster="true"
  109. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  110. # 1: tmux kill
  111. # 2: CTRL+c
  112. # 3: quit
  113. # 4: quit 120s
  114. # 5: stop
  115. # 6: q
  116. # 7: exit
  117. # 8: 7 Days to Die
  118. # 9: GoldSrc
  119. # 10: Avorion
  120. # 11: end
  121. # 12: shutdown
  122. # 13: soulmask
  123. stopmode="13"
  124. ## Query mode
  125. # 1: session only
  126. # 2: gamedig (gsquery fallback)
  127. # 3: gamedig
  128. # 4: gsquery
  129. # 5: tcp
  130. querymode="2"
  131. querytype="protocol-valve"
  132. ## Console type
  133. consoleverbose="yes"
  134. consoleinteract="no"
  135. ## Game Server Details
  136. # Do not edit
  137. gamename="Soulmask"
  138. engine="unreal4"
  139. glibc="2.17"
  140. #### Directories ####
  141. # Edit with care
  142. ## Game Server Directories
  143. systemdir="${serverfiles}/WS"
  144. executabledir="${systemdir}/Binaries/Linux"
  145. executable="./WSServer-Linux-Shipping"
  146. ## Backup Directory
  147. backupdir="${lgsmdir}/backup"
  148. ## Logging Directories
  149. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  150. gamelogdir="${systemdir}/WS/Saved/Logs"
  151. lgsmlogdir="${logdir}/script"
  152. consolelogdir="${logdir}/console"
  153. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  154. consolelog="${consolelogdir}/${selfname}-console.log"
  155. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  156. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  157. ## Logs Naming
  158. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  159. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  160. ## Log Parameters
  161. logtimestamp="off"
  162. logtimestampformat="%Y-%m-%d %H:%M:%S"