_default.cfg 5.3 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. game_type="0"
  10. game_mode="0"
  11. ip="0.0.0.0"
  12. port="27015"
  13. clientport="27005"
  14. sourcetvport="27020"
  15. steamport="26901"
  16. defaultmap="mcv_siege"
  17. maxplayers="32"
  18. tickrate="64"
  19. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  20. startparameters="-game vietnam -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +game_type ${game_type} +game_mode ${game_mode} -nobreakpad"
  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".
  67. telegramapi="api.telegram.org"
  68. telegramalert="off"
  69. telegramtoken="accesstoken"
  70. telegramchatid=""
  71. curlcustomstring=""
  72. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  73. stoponlyifnoplayers="off"
  74. stoponlyifnoplayersallcommands="on"
  75. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  76. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  77. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  78. warnplayerstimer="0"
  79. ## Updating | https://docs.linuxgsm.com/commands/update
  80. updateonstart="off"
  81. ## Backup | https://docs.linuxgsm.com/commands/backup
  82. maxbackups="4"
  83. maxbackupdays="30"
  84. stoponbackup="on"
  85. ## Logging | https://docs.linuxgsm.com/features/logging
  86. consolelogging="on"
  87. logdays="7"
  88. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  89. # Query delay time
  90. querydelay="1"
  91. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  92. ansi="on"
  93. #### Advanced Settings ####
  94. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  95. sleeptime="0.5"
  96. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  97. # Server appid
  98. appid="1136190"
  99. steamcmdforcewindows="no"
  100. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  101. branch=""
  102. betapassword=""
  103. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  104. steammaster="false"
  105. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  106. # 1: tmux kill
  107. # 2: CTRL+c
  108. # 3: quit
  109. # 4: quit 120s
  110. # 5: stop
  111. # 6: q
  112. # 7: exit
  113. # 8: 7 Days to Die
  114. # 9: GoldSrc
  115. # 10: Avorion
  116. # 11: end
  117. stopmode="3"
  118. ## Query mode
  119. # 1: session only
  120. # 2: gamedig (gsquery fallback)
  121. # 3: gamedig
  122. # 4: gsquery
  123. # 5: tcp
  124. querymode="2"
  125. querytype="protocol-valve"
  126. ## Console type
  127. consoleverbose="yes"
  128. consoleinteract="yes"
  129. ## Game Server Details
  130. # Do not edit
  131. gamename="Military Conflict: Vietnam"
  132. engine="source"
  133. glibc="2.15"
  134. #### Directories ####
  135. # Edit with care
  136. ## Game Server Directories
  137. systemdir="${serverfiles}/vietnam"
  138. executabledir="${serverfiles}"
  139. executable="./srcds_run_x64"
  140. servercfgdir="${systemdir}/cfg"
  141. servercfg="${selfname}.cfg"
  142. servercfgdirdefault="${lgsmdir}/config-default/config-game"
  143. servercfgdefault="server.cfg"
  144. servercfgfullpath="${servercfgdir}/${servercfg}"
  145. ## Backup Directory
  146. backupdir="${lgsmdir}/backup"
  147. ## Logging Directories
  148. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  149. gamelogdir="${systemdir}/logs"
  150. lgsmlogdir="${logdir}/script"
  151. consolelogdir="${logdir}/console"
  152. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  153. consolelog="${consolelogdir}/${selfname}-console.log"
  154. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  155. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  156. ## Logs Naming
  157. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  158. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  159. ## Log Parameters
  160. logtimestamp="off"
  161. logtimestampformat="%Y-%m-%d %H:%M:%S"