_default.cfg 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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. ip="0.0.0.0"
  11. port="7777"
  12. queryport="27005"
  13. rconport="7778"
  14. servername="LinuxGSM"
  15. # Maps: risala, khafji_p, lamdong, montecassino, argonne
  16. defaultmap="AAS-TestMap"
  17. maxplayers="16"
  18. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  19. startparameters="${defaultmap}?MaxPlayers=${maxplayers} -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -RconPort=${rconport} -SteamServerName='${servername}' -log"
  20. ## Extra Parameters | https://docs.linuxgsm.com/configuration/start-parameters#extra-parameters
  21. # Added to the end of startparameters.
  22. extraparams=""
  23. ## Steam Workshop Mods | https://docs.linuxgsm.com/steamcmd/workshop
  24. # Workshop item or collection IDs, separated by spaces. Collections are expanded.
  25. # Installed to HarshDoorstop/Mods. Select mod maps and modes with defaultmap or startparameters.
  26. # Run ./ohdserver workshop-update after changing, or let update apply it.
  27. # workshopmods="3131976970"
  28. workshopmods=""
  29. #### LinuxGSM Settings ####
  30. ## LinuxGSM Stats
  31. # Send useful stats to LinuxGSM developers.
  32. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  33. # (on|off)
  34. stats="off"
  35. ## Notification Alerts
  36. # (on|off)
  37. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  38. displayip=""
  39. # More info | https://docs.linuxgsm.com/alerts#more-info
  40. postalert="off"
  41. # Alert on Start/Stop/Restart
  42. statusalert="off"
  43. # Minutes to wait between repeated monitor alerts, 0 sends every alert
  44. alertcooldown="0"
  45. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  46. discordalert="off"
  47. discordwebhook="webhook"
  48. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  49. emailalert="off"
  50. email="email@example.com"
  51. emailfrom=""
  52. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  53. gotifyalert="off"
  54. gotifytoken="token"
  55. gotifywebhook="webhook"
  56. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  57. iftttalert="off"
  58. ifttttoken="accesstoken"
  59. iftttevent="linuxgsm_alert"
  60. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  61. ntfyalert="off"
  62. ntfytopic="LinuxGSM"
  63. ntfyserver="https://ntfy.sh"
  64. ntfytoken=""
  65. ntfyusername=""
  66. ntfypassword=""
  67. ntfypriority=""
  68. ntfytags=""
  69. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  70. matrixalert="off"
  71. matrixhomeserver="matrix.org"
  72. matrixtoken="accesstoken"
  73. matrixroom=""
  74. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  75. pushbulletalert="off"
  76. pushbullettoken="accesstoken"
  77. channeltag=""
  78. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  79. pushoveralert="off"
  80. pushovertoken="accesstoken"
  81. pushoveruserkey="userkey"
  82. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  83. rocketchatalert="off"
  84. rocketchatwebhook="webhook"
  85. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  86. slackalert="off"
  87. slackwebhook="webhook"
  88. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  89. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  90. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  91. telegramapi="api.telegram.org"
  92. telegramalert="off"
  93. telegramtoken="accesstoken"
  94. telegramchatid=""
  95. telegramthreadid=""
  96. telegramsilentnotification="false"
  97. curlcustomstring=""
  98. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  99. stoponlyifnoplayers="off"
  100. stoponlyifnoplayersallcommands="on"
  101. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  102. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  103. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  104. warnplayerstimer="0"
  105. ## Updating | https://docs.linuxgsm.com/commands/update
  106. updateonstart="off"
  107. ## Backup | https://docs.linuxgsm.com/commands/backup
  108. maxbackups="4"
  109. maxbackupdays="30"
  110. stoponbackup="on"
  111. ## Logging | https://docs.linuxgsm.com/features/logging
  112. consolelogging="on"
  113. logdays="7"
  114. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  115. # Query delay time
  116. querydelay="1"
  117. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  118. ansi="on"
  119. #### Advanced Settings ####
  120. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  121. sleeptime="0.5"
  122. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  123. # Server appid
  124. appid="950900"
  125. steamcmdforcewindows="no"
  126. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  127. branch=""
  128. betapassword=""
  129. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  130. steammaster="false"
  131. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  132. # 1: tmux kill
  133. # 2: CTRL+c
  134. # 3: quit
  135. # 4: quit 120s
  136. # 5: stop
  137. # 6: q
  138. # 7: exit
  139. # 8: 7 Days to Die
  140. # 9: GoldSrc
  141. # 10: Avorion
  142. # 11: end
  143. stopmode="2"
  144. ## Query mode
  145. # 1: session only
  146. # 2: gamedig (gsquery fallback)
  147. # 3: gamedig
  148. # 4: gsquery
  149. # 5: tcp
  150. querymode="2"
  151. querytype="protocol-valve"
  152. ## Console type
  153. consoleverbose="yes"
  154. consoleinteract="no"
  155. ## Game Server Details
  156. # Do not edit
  157. gamename="Operation: Harsh Doorstop"
  158. engine="unreal4"
  159. glibc="2.17"
  160. #### Directories ####
  161. # Edit with care
  162. ## Game Server Directories
  163. systemdir="${serverfiles}/HarshDoorstop"
  164. executabledir="${systemdir}/Binaries/Linux"
  165. executable="./HarshDoorstopServer-Linux-Shipping"
  166. servercfgdir="${systemdir}/Saved/Config/LinuxServer"
  167. servercfg="Game.ini"
  168. servercfgdefault="Game.ini"
  169. servercfgfullpath="${servercfgdir}/${servercfg}"
  170. ## Backup Directory
  171. backupdir="${lgsmdir}/backup"
  172. ## Logging Directories
  173. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  174. gamelogdir="${systemdir}/Saved/Logs"
  175. lgsmlogdir="${logdir}/script"
  176. consolelogdir="${logdir}/console"
  177. gamelog="${gamelogdir}/${selfname}-game.log"
  178. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  179. consolelog="${consolelogdir}/${selfname}-console.log"
  180. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  181. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  182. ## Logs Naming
  183. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  184. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"