_default.cfg 5.0 KB

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