Guest User

CFG LGSM

a guest
Oct 25th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.44 KB | None | 0 0
  1. ##################################
  2. ####### Instance Settings ########
  3. ##################################
  4. # PLACE INSTANCE SETTINGS HERE
  5. ## These settings will apply to a specific instance.
  6.  
  7. #### Game Server Settings ####
  8.  
  9. ## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login
  10. steamuser=""
  11. steampass=''
  12.  
  13. ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
  14. ip="217.160.224.188"
  15. port="2302"
  16.  
  17. ## ARMA 3 Modules
  18. # Add mods with relative paths:
  19. # mods/@cba_a3
  20. # To load the "Community Base Addons v3" module found in the
  21. # directory serverfiles/mods/@cba_a3.  Load several mods as:
  22. # mods="mods/@ace\;mods/@acex\;mods/@cba_a3"
  23. mods="mods/orion"
  24.  
  25. ## Server-side Mods
  26. servermods="@The_Programmer\;mods/@extDB3\;mods/@life_server"
  27.  
  28. ## Path to BattlEye
  29. # Leave empty for default
  30. bepath=""
  31.  
  32. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  33. fn_parms(){
  34. parms="-ip=${ip} -port=${port} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -bepath=${bepath} -autoinit -loadmissiontomemory"
  35. }
  36.  
  37. #### LinuxGSM Settings ####
  38.  
  39. ## LinuxGSM Stats
  40. # Send useful stats to LinuxGSM developers.
  41. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  42. # (on|off)
  43. stats="on"
  44.  
  45. ## Notification Alerts
  46. # (on|off)
  47.  
  48. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  49. displayip="Serveur OrionState"
  50.  
  51. # More info | https://docs.linuxgsm.com/alerts#more-info
  52. postalert="on"
  53.  
  54. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  55. discordalert="on"
  56. discordwebhook="https://discordapp.com/api/webhooks/764655205757222913/PeAtLwMPLnwbHEM0qauDdJG6CBoij1K7V2DnKYY_DU15vcs17dj2qj1rzDq3XAz-02Fq"
  57.  
  58. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  59. emailalert="on"
  60. emailfrom="[email protected]"
  61.  
  62. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  63. iftttalert="off"
  64. ifttttoken="accesstoken"
  65. iftttevent="linuxgsm_alert"
  66.  
  67. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  68. mailgunalert="off"
  69. mailgunapiregion="us"
  70. mailguntoken="accesstoken"
  71. mailgundomain="example.com"
  72. mailgunemailfrom="[email protected]"
  73. mailgunemail="[email protected]"
  74.  
  75. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  76. pushbulletalert="off"
  77. pushbullettoken="accesstoken"
  78. channeltag=""
  79.  
  80. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  81. pushoveralert="off"
  82. pushovertoken="accesstoken"
  83. pushoveruserkey="userkey"
  84.  
  85. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  86. rocketchatalert="off"
  87. rocketchatwebhook="webhook"
  88. rocketchattoken=""
  89.  
  90. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  91. slackalert="off"
  92. slackwebhook="webhook"
  93.  
  94. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  95. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  96. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
  97. telegramalert="off"
  98. telegramtoken="accesstoken"
  99. telegramchatid=""
  100. curlcustomstring=""
  101.  
  102. ## Updating | https://docs.linuxgsm.com/commands/update
  103. updateonstart="on"
  104.  
  105. ## Backup | https://docs.linuxgsm.com/commands/backup
  106. maxbackups="4"
  107. maxbackupdays="30"
  108. stoponbackup="on"
  109.  
  110. ## Logging | https://docs.linuxgsm.com/features/logging
  111. consolelogging="on"
  112. logdays="7"
  113.  
  114. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  115. # Query delay time
  116. querydelay="5"
  117.  
  118. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  119. ansi="on"
  120.  
  121. #### Advanced Settings ####
  122.  
  123. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  124. sleeptime="0.5"
  125.  
  126. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  127. # Server appid
  128. appid="233780"
  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="false"
  134.  
  135. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  136. # 1: tmux kill
  137. # 2: CTRL+c
  138. # 3: quit
  139. # 4: quit 120s
  140. # 5: stop
  141. # 6: q
  142. # 7: exit
  143. # 8: 7 Days to Die
  144. # 9: GoldSrc
  145. # 10: Avorion
  146. # 11: end
  147. stopmode="2"
  148.  
  149. ## Query mode
  150. # 1: session only
  151. # 2: gamedig (gsquery fallback)
  152. # 3: gamedig
  153. # 4: gsquery
  154. # 5: tcp
  155. querymode="2"
  156. querytype="protocol-valve"
  157.  
  158. ## Console type
  159. consoleverbose="yes"
  160. consoleinteract="no"
  161.  
  162. ## Game Server Details
  163. # Do not edit
  164. gamename="ARMA 3"
  165. engine="realvirtuality"
  166. glibc="2.13"
  167.  
  168. #### Directories ####
  169. # Edit with care
  170.  
  171. ## Game Server Directories
  172. systemdir="${serverfiles}"
  173. executabledir="${serverfiles}"
  174. executable="./arma3server"
  175. servercfgdir="${systemdir}/cfg"
  176. servercfg="${selfname}.server.cfg"
  177. servercfgdefault="server.cfg"
  178. servercfgfullpath="${servercfgdir}/${servercfg}"
  179. networkcfgdir="${systemdir}/cfg"
  180. networkcfg="${selfname}.network.cfg"
  181. networkcfgdefault="network.cfg"
  182. networkcfgfullpath="${networkcfgdir}/${networkcfg}"
  183.  
  184. ## Backup Directory
  185. backupdir="${lgsmdir}/backup"
  186.  
  187. ## Logging Directories
  188. logdir="${rootdir}/log"
  189. lgsmlogdir="${logdir}/script"
  190. consolelogdir="${logdir}/console"
  191. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  192. consolelog="${consolelogdir}/${selfname}-console.log"
  193. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  194. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  195.  
  196. ## Logs Naming
  197. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  198. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
Add Comment
Please, Sign In to add comment