_default.cfg 4.0 KB

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