_default.cfg 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  10. ## Game Server Docs | https://docs.fivem.net/docs/server-manual/setting-up-a-server-vanilla/
  11. # Ports, server name, max players and the license key (sv_licenseKey) are set in server.cfg.
  12. startparameters="+exec ${servercfg}"
  13. ## Extra Parameters | https://docs.linuxgsm.com/configuration/start-parameters#extra-parameters
  14. # Added to the end of startparameters.
  15. extraparams=""
  16. #### LinuxGSM Settings ####
  17. ## LinuxGSM Stats
  18. # Send useful stats to LinuxGSM developers.
  19. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  20. # (on|off)
  21. stats="off"
  22. ## Notification Alerts
  23. # (on|off)
  24. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  25. displayip=""
  26. # More info | https://docs.linuxgsm.com/alerts#more-info
  27. postalert="off"
  28. # Alert on Start/Stop/Restart
  29. statusalert="off"
  30. # Minutes to wait between repeated monitor alerts, 0 sends every alert
  31. alertcooldown="0"
  32. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  33. discordalert="off"
  34. discordwebhook="webhook"
  35. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  36. emailalert="off"
  37. email="email@example.com"
  38. emailfrom=""
  39. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  40. gotifyalert="off"
  41. gotifytoken="token"
  42. gotifywebhook="webhook"
  43. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  44. iftttalert="off"
  45. ifttttoken="accesstoken"
  46. iftttevent="linuxgsm_alert"
  47. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  48. ntfyalert="off"
  49. ntfytopic="LinuxGSM"
  50. ntfyserver="https://ntfy.sh"
  51. ntfytoken=""
  52. ntfyusername=""
  53. ntfypassword=""
  54. ntfypriority=""
  55. ntfytags=""
  56. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  57. matrixalert="off"
  58. matrixhomeserver="matrix.org"
  59. matrixtoken="accesstoken"
  60. matrixroom=""
  61. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  62. pushbulletalert="off"
  63. pushbullettoken="accesstoken"
  64. channeltag=""
  65. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  66. pushoveralert="off"
  67. pushovertoken="accesstoken"
  68. pushoveruserkey="userkey"
  69. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  70. rocketchatalert="off"
  71. rocketchatwebhook="webhook"
  72. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  73. slackalert="off"
  74. slackwebhook="webhook"
  75. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  76. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  77. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  78. telegramapi="api.telegram.org"
  79. telegramalert="off"
  80. telegramtoken="accesstoken"
  81. telegramchatid=""
  82. telegramthreadid=""
  83. telegramsilentnotification="false"
  84. curlcustomstring=""
  85. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  86. stoponlyifnoplayers="off"
  87. stoponlyifnoplayersallcommands="on"
  88. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  89. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  90. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  91. warnplayerstimer="0"
  92. ## Updating | https://docs.linuxgsm.com/commands/update
  93. updateonstart="off"
  94. ## Backup | https://docs.linuxgsm.com/commands/backup
  95. maxbackups="4"
  96. maxbackupdays="30"
  97. stoponbackup="on"
  98. ## Logging | https://docs.linuxgsm.com/features/logging
  99. consolelogging="on"
  100. logdays="7"
  101. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  102. # Query delay time
  103. querydelay="5"
  104. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  105. ansi="on"
  106. #### Advanced Settings ####
  107. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  108. sleeptime="0.5"
  109. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  110. # 1: tmux kill
  111. # 2: CTRL+c
  112. # 3: quit
  113. # 4: quit 120s
  114. # 5: stop
  115. # 6: q
  116. # 7: exit
  117. # 8: 7 Days to Die
  118. # 9: GoldSrc
  119. # 10: Avorion
  120. # 11: end
  121. # 12: shutdown
  122. # 13: soulmask
  123. # 14: Running With Rifles
  124. # 15: Rising World
  125. # 16: Conan Exiles
  126. stopmode="3"
  127. ## Query mode
  128. # 1: session only
  129. # 2: gamedig (gsquery fallback)
  130. # 3: gamedig
  131. # 4: gsquery
  132. # 5: tcp
  133. querymode="3"
  134. querytype="gta5f"
  135. ## Console type
  136. consoleverbose="yes"
  137. consoleinteract="yes"
  138. ## Game Server Details
  139. # Do not edit
  140. gamename="FiveM"
  141. engine="cfx"
  142. glibc="null"
  143. #### Directories ####
  144. # Edit with care
  145. ## Game Server Directories
  146. systemdir="${serverfiles}"
  147. executabledir="${serverfiles}"
  148. executable="./run.sh"
  149. servercfgdir="${systemdir}"
  150. servercfg="server.cfg"
  151. servercfgdefault="server.cfg"
  152. servercfgfullpath="${servercfgdir}/${servercfg}"
  153. ## Backup Directory
  154. backupdir="${lgsmdir}/backup"
  155. ## Logging Directories
  156. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  157. lgsmlogdir="${logdir}/script"
  158. consolelogdir="${logdir}/console"
  159. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  160. consolelog="${consolelogdir}/${selfname}-console.log"
  161. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  162. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  163. ## Logs Naming
  164. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  165. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  166. ## Log Parameters
  167. logtimestamp="off"
  168. logtimestampformat="%Y-%m-%d %H:%M:%S"