_default.cfg 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT 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. #### Server Settings ####
  9. ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
  10. ip="0.0.0.0"
  11. port="27102"
  12. queryport="27131"
  13. servername="LinuxGSM Server"
  14. serverpassword=""
  15. defaultmap="Canyon"
  16. defaultscenario="Scenario_Crossing_Push_Security"
  17. maxplayers="28"
  18. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  19. fn_parms(){
  20. # Allows serverpassword to work with parameters
  21. if [ "${serverpassword}" != "NOT SET" ]; then
  22. parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport}?password="${serverpassword}" -hostname='${servername}' -log"
  23. else
  24. parms="${defaultmap}?Scenario=${defaultscenario}?MaxPlayers=${maxplayers}?Port=${port}?QueryPort=${queryport} -hostname='${servername}' -log"
  25. fi
  26. }
  27. #### LinuxGSM Settings ####
  28. ## Notification Alerts
  29. # (on|off)
  30. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  31. displayip=""
  32. # More info | https://docs.linuxgsm.com/alerts#more-info
  33. postalert="off"
  34. postdays="7"
  35. posttarget="https://hastebin.com"
  36. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  37. discordalert="off"
  38. discordwebhook="webhook"
  39. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  40. emailalert="off"
  41. email="email@example.com"
  42. emailfrom=""
  43. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  44. iftttalert="off"
  45. ifttttoken="accesstoken"
  46. iftttevent="linuxgsm_alert"
  47. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  48. mailgunalert="off"
  49. mailguntoken="accesstoken"
  50. mailgundomain="example.com"
  51. mailgunemailfrom="alert@example.com"
  52. mailgunemail="email@myemail.com"
  53. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  54. pushbulletalert="off"
  55. pushbullettoken="accesstoken"
  56. channeltag=""
  57. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  58. pushoveralert="off"
  59. pushovertoken="accesstoken"
  60. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  61. slackalert="off"
  62. slackwebhook="webhook"
  63. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  64. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  65. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  66. # any custom string in curl - simple ignore this parameter.
  67. telegramalert="off"
  68. telegramtoken="accesstoken"
  69. telegramchatid=""
  70. curlcustomstring=""
  71. ## Updating | https://docs.linuxgsm.com/commands/update
  72. updateonstart="off"
  73. ## Backup | https://docs.linuxgsm.com/commands/backup
  74. maxbackups="4"
  75. maxbackupdays="30"
  76. stoponbackup="on"
  77. ## Logging | https://docs.linuxgsm.com/features/logging
  78. consolelogging="on"
  79. logdays="7"
  80. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  81. # Query delay time
  82. querydelay="1"
  83. #### LinuxGSM Advanced Settings ####
  84. # ANSI Colors
  85. ansi="on"
  86. # Message Display Time
  87. sleeptime="0.5"
  88. ## SteamCMD Settings
  89. # Server appid
  90. appid="581330"
  91. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  92. branch=""
  93. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  94. steammaster="false"
  95. # Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
  96. # 1: tmux kill
  97. # 2: CTRL+c
  98. # 3: quit
  99. # 4: quit 120s
  100. # 5: stop
  101. # 6: q
  102. # 7: exit
  103. # 8: 7 Days to Die
  104. # 9: Gold Source
  105. # 10: Teamspeak 3
  106. stopmode="2"
  107. ## LinuxGSM Server Details
  108. # Do not edit
  109. gamename="Insurgency: Sandstorm"
  110. engine="unreal4"
  111. glibc="2.17"
  112. #### Directories ####
  113. # Edit with care
  114. ## Server Specific Directories
  115. systemdir="${serverfiles}/Insurgency"
  116. executabledir="${systemdir}/Binaries/Linux"
  117. executable="./InsurgencyServer-Linux-Shipping"
  118. servercfg="Game.ini"
  119. servercfgdefault="Game.ini"
  120. servercfgdir="${systemdir}/Saved/Config/LinuxServer"
  121. servercfgfullpath="${servercfgdir}/${servercfg}"
  122. ## Backup Directory
  123. backupdir="${lgsmdir}/backup"
  124. ## Logging Directories
  125. logdir="${rootdir}/log"
  126. gamelogdir="${systemdir}/Saved/Logs"
  127. lgsmlogdir="${logdir}/script"
  128. consolelogdir="${logdir}/console"
  129. gamelog="${gamelogdir}/${servicename}-game.log"
  130. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  131. consolelog="${consolelogdir}/${servicename}-console.log"
  132. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  133. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  134. ## Logs Naming
  135. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  136. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"