_default.cfg 6.0 KB

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