_default.cfg 7.0 KB

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