_default.cfg 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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="5001"
  12. beaconport="5002"
  13. shutdownport="5003"
  14. queryport="27015"
  15. adminlabel="true" # Enable admin icon.
  16. allowsensitivewords="true"
  17. altsavedirectoryname="${defaultmap}"
  18. anticheat="true"
  19. damageself="true"
  20. damageallies="true"
  21. gamemode="0" # 0 = PvP; 1 = PvE
  22. greenhand="true"
  23. maxplayers="40"
  24. maxqueuesize="50"
  25. queuevalidtime="120"
  26. saveinterval="300" # Auto-save in seconds.
  27. serveradmins="" # Use 17-digit Steam IDs separated by commas to grant admin privileges to players.
  28. servername="LinuxGSM"
  29. serverpassword=""
  30. servertags="LinuxGSM"
  31. steamsocket="0" # Use Steam Socket. 0 = off; 1 = on. Use Steam Servers for network penetration. Enable this if you don't have a public IP but you want to allow players from outside your network to join your server. If disabled, only you and other players on your LAN can join. If you have a public IP, you do not need to enable this.
  32. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  33. startparameters="ProjectWar_Start?DedicatedServer?MaxPlayers=${maxplayers} -server -game -log -MultiHome=${ip} -Port=${port} -QueryPort=${queryport} -BeaconPort=${beaconport} -ShutDownServicePort=${shutdownport} -ConfigServerName='${selfname}' -OutIPAddress=${publicip} -ServerTags='${servertags}' -UseSteamSocket=${steamsocket} -UserDir='${serverfiles}/${selfname}' -ServerName='${servername}' -EnableParallelCharacterMovementTickFunction -EnableParallelCharacterTickFunction -UseDynamicPhysicsScene -Game.PhysicsVehicle=false -ansimalloc -Game.MaxFrameRate=35 -MaxQueueSize=${maxqueuesize} -QueueValidTime=${queuevalidtime} -QueueThreshold=${maxplayers} -ServerFightModeType=${gamemode} -IsCanSelfDamage=${damageself} -IsCanFriendDamage=${damageallies} -SaveWorldInterval=${saveinterval} -GMOverlapRatio=2 -GreenHand=${greenhand} -SensitiveWords=${allowsensitivewords} -UseEAC=${anticheat} -ServerAdminAccounts='${serveradmins}' -IsShowGmTitle=${adminlabel} -ServerPassword='${serverpassword}'"
  34. ## Extra Parameters | https://docs.linuxgsm.com/configuration/start-parameters#extra-parameters
  35. # Added to the end of startparameters.
  36. extraparams=""
  37. #### LinuxGSM Settings ####
  38. ## LinuxGSM Stats
  39. # Send useful stats to LinuxGSM developers.
  40. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  41. # (on|off)
  42. stats="off"
  43. ## Notification Alerts
  44. # (on|off)
  45. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  46. displayip=""
  47. # More info | https://docs.linuxgsm.com/alerts#more-info
  48. postalert="off"
  49. # Alert on Start/Stop/Restart
  50. statusalert="off"
  51. # Minutes to wait between repeated monitor alerts, 0 sends every alert
  52. alertcooldown="0"
  53. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  54. discordalert="off"
  55. discordwebhook="webhook"
  56. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  57. emailalert="off"
  58. email="email@example.com"
  59. emailfrom=""
  60. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  61. gotifyalert="off"
  62. gotifytoken="token"
  63. gotifywebhook="webhook"
  64. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  65. iftttalert="off"
  66. ifttttoken="accesstoken"
  67. iftttevent="linuxgsm_alert"
  68. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  69. ntfyalert="off"
  70. ntfytopic="LinuxGSM"
  71. ntfyserver="https://ntfy.sh"
  72. ntfytoken=""
  73. ntfyusername=""
  74. ntfypassword=""
  75. ntfypriority=""
  76. ntfytags=""
  77. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  78. matrixalert="off"
  79. matrixhomeserver="matrix.org"
  80. matrixtoken="accesstoken"
  81. matrixroom=""
  82. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  83. pushbulletalert="off"
  84. pushbullettoken="accesstoken"
  85. channeltag=""
  86. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  87. pushoveralert="off"
  88. pushovertoken="accesstoken"
  89. pushoveruserkey="userkey"
  90. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  91. rocketchatalert="off"
  92. rocketchatwebhook="webhook"
  93. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  94. slackalert="off"
  95. slackwebhook="webhook"
  96. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  97. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  98. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  99. telegramapi="api.telegram.org"
  100. telegramalert="off"
  101. telegramtoken="accesstoken"
  102. telegramchatid=""
  103. telegramthreadid=""
  104. telegramsilentnotification="false"
  105. curlcustomstring=""
  106. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  107. stoponlyifnoplayers="off"
  108. stoponlyifnoplayersallcommands="on"
  109. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  110. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  111. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  112. warnplayerstimer="0"
  113. ## Updating | https://docs.linuxgsm.com/commands/update
  114. updateonstart="off"
  115. ## Backup | https://docs.linuxgsm.com/commands/backup
  116. maxbackups="4"
  117. maxbackupdays="30"
  118. stoponbackup="on"
  119. ## Logging | https://docs.linuxgsm.com/features/logging
  120. consolelogging="on"
  121. logdays="7"
  122. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  123. # Query delay time
  124. querydelay="5"
  125. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  126. ansi="on"
  127. #### Advanced Settings ####
  128. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  129. sleeptime="0.5"
  130. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  131. # Server appid
  132. appid="2334200"
  133. steamcmdforcewindows="no"
  134. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  135. branch=""
  136. betapassword=""
  137. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  138. steammaster="true"
  139. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  140. # 1: tmux kill
  141. # 2: CTRL+c
  142. # 3: quit
  143. # 4: quit 120s
  144. # 5: stop
  145. # 6: q
  146. # 7: exit
  147. # 8: 7 Days to Die
  148. # 9: GoldSrc
  149. # 10: Avorion
  150. # 11: end
  151. stopmode="2"
  152. ## Query mode
  153. # 1: session only
  154. # 2: gamedig (gsquery fallback)
  155. # 3: gamedig
  156. # 4: gsquery
  157. # 5: tcp
  158. querymode="2"
  159. querytype="protocol-valve"
  160. ## Console type
  161. consoleverbose="yes"
  162. consoleinteract="no"
  163. ## Game Server Details
  164. # Do not edit
  165. gamename="The Front"
  166. engine="unreal4"
  167. glibc="2.17"
  168. #### Directories ####
  169. # Edit with care
  170. ## Game Server Directories
  171. systemdir="${serverfiles}/ProjectWar"
  172. executabledir="${systemdir}/Binaries/Linux"
  173. executable="./TheFrontServer"
  174. ## Backup Directory
  175. backupdir="${lgsmdir}/backup"
  176. ## Logging Directories
  177. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  178. gamelogdir="${systemdir}/Saved/Logs"
  179. lgsmlogdir="${logdir}/script"
  180. consolelogdir="${logdir}/console"
  181. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  182. consolelog="${consolelogdir}/${selfname}-console.log"
  183. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  184. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  185. ## Logs Naming
  186. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  187. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  188. ## Log Parameters
  189. logtimestamp="off"
  190. logtimestampformat="%Y-%m-%d %H:%M:%S"