_default.cfg 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. # More info | https://docs.linuxgsm.com/alerts#more-info
  31. postalert="off"
  32. postdays="7"
  33. posttarget="https://hastebin.com"
  34. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  35. discordalert="off"
  36. discordwebhook="webhook"
  37. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  38. emailalert="off"
  39. email="email@example.com"
  40. emailfrom=""
  41. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  42. iftttalert="off"
  43. ifttttoken="accesstoken"
  44. iftttevent="linuxgsm_alert"
  45. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  46. mailgunalert="off"
  47. mailguntoken="accesstoken"
  48. mailgundomain="example.com"
  49. mailgunemailfrom="alert@example.com"
  50. mailgunemail="email@myemail.com"
  51. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  52. pushbulletalert="off"
  53. pushbullettoken="accesstoken"
  54. channeltag=""
  55. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  56. pushoveralert="off"
  57. pushovertoken="accesstoken"
  58. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  59. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  60. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  61. # any custom string in curl - simple ignore this parameter.
  62. telegramalert="off"
  63. telegramtoken="accesstoken"
  64. telegramchatid=""
  65. curlcustomstring=""
  66. ## Updating | https://docs.linuxgsm.com/commands/update
  67. updateonstart="off"
  68. ## Backup | https://docs.linuxgsm.com/commands/backup
  69. maxbackups="4"
  70. maxbackupdays="30"
  71. stoponbackup="on"
  72. ## Logging | https://docs.linuxgsm.com/features/logging
  73. consolelogging="on"
  74. logdays="7"
  75. #### LinuxGSM Advanced Settings ####
  76. # ANSI Colors
  77. ansi="on"
  78. ## SteamCMD Settings
  79. # Server appid
  80. appid="581330"
  81. # Steam App Branch Select
  82. # Allows to opt into the various Steam app branches. Default branch is "".
  83. # Example: "-beta latest_experimental"
  84. branch=""
  85. ## LinuxGSM Server Details
  86. # Do not edit
  87. gamename="Insurgency: Sandstorm"
  88. engine="unreal4"
  89. #### Directories ####
  90. # Edit with care
  91. ## Server Specific Directories
  92. systemdir="${serverfiles}/Insurgency"
  93. executabledir="${systemdir}/Binaries/Linux"
  94. executable="./InsurgencyServer-Linux-Shipping"
  95. servercfg="Game.ini"
  96. servercfgdefault="Game.ini"
  97. servercfgdir="${systemdir}/Saved/Config/LinuxServer"
  98. servercfgfullpath="${servercfgdir}/${servercfg}"
  99. ## Backup Directory
  100. backupdir="${lgsmdir}/backup"
  101. ## Logging Directories
  102. logdir="${rootdir}/log"
  103. gamelogdir="${systemdir}/Saved/Logs"
  104. lgsmlogdir="${logdir}/script"
  105. consolelogdir="${logdir}/console"
  106. gamelog="${gamelogdir}/${servicename}-game.log"
  107. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  108. consolelog="${consolelogdir}/${servicename}-console.log"
  109. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  110. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  111. ## Logs Naming
  112. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  113. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"