_default.cfg 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  61. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  62. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  63. # any custom string in curl - simple ignore this parameter.
  64. telegramalert="off"
  65. telegramtoken="accesstoken"
  66. telegramchatid=""
  67. curlcustomstring=""
  68. ## Updating | https://docs.linuxgsm.com/commands/update
  69. updateonstart="off"
  70. ## Backup | https://docs.linuxgsm.com/commands/backup
  71. maxbackups="4"
  72. maxbackupdays="30"
  73. stoponbackup="on"
  74. ## Logging | https://docs.linuxgsm.com/features/logging
  75. consolelogging="on"
  76. logdays="7"
  77. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  78. # Query delay time
  79. querydelay="1"
  80. #### LinuxGSM Advanced Settings ####
  81. # ANSI Colors
  82. ansi="on"
  83. # Message Display Time
  84. sleeptime="0.5"
  85. ## SteamCMD Settings
  86. # Server appid
  87. appid="581330"
  88. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  89. branch=""
  90. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  91. steammaster="false"
  92. ## LinuxGSM Server Details
  93. # Do not edit
  94. gamename="Insurgency: Sandstorm"
  95. engine="unreal4"
  96. glibc="2.17"
  97. #### Directories ####
  98. # Edit with care
  99. ## Server Specific Directories
  100. systemdir="${serverfiles}/Insurgency"
  101. executabledir="${systemdir}/Binaries/Linux"
  102. executable="./InsurgencyServer-Linux-Shipping"
  103. servercfg="Game.ini"
  104. servercfgdefault="Game.ini"
  105. servercfgdir="${systemdir}/Saved/Config/LinuxServer"
  106. servercfgfullpath="${servercfgdir}/${servercfg}"
  107. ## Backup Directory
  108. backupdir="${lgsmdir}/backup"
  109. ## Logging Directories
  110. logdir="${rootdir}/log"
  111. gamelogdir="${systemdir}/Saved/Logs"
  112. lgsmlogdir="${logdir}/script"
  113. consolelogdir="${logdir}/console"
  114. gamelog="${gamelogdir}/${servicename}-game.log"
  115. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  116. consolelog="${consolelogdir}/${servicename}-console.log"
  117. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  118. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  119. ## Logs Naming
  120. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  121. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"