_default.cfg 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. port="7787"
  11. queryport="27165"
  12. randommap="ALWAYS"
  13. ip="0.0.0.0"
  14. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  15. fn_parms(){
  16. parms="MULTIHOME=${ip} RANDOM=${randommap} Port=${port} QueryPort=${queryport}"
  17. }
  18. #### LinuxGSM Settings ####
  19. ## Notification Alerts
  20. # (on|off)
  21. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  22. postalert="off"
  23. postdays="7"
  24. posttarget="https://hastebin.com"
  25. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  26. discordalert="off"
  27. discordwebhook="webhook"
  28. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  29. emailalert="off"
  30. email="email@example.com"
  31. emailfrom=""
  32. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  33. iftttalert="off"
  34. ifttttoken="accesstoken"
  35. iftttevent="linuxgsm_alert"
  36. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  37. mailgunalert="off"
  38. mailguntoken="accesstoken"
  39. mailgundomain="example.com"
  40. mailgunemailfrom="alert@example.com"
  41. mailgunemail="email@myemail.com"
  42. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  43. pushbulletalert="off"
  44. pushbullettoken="accesstoken"
  45. channeltag=""
  46. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  47. pushoveralert="off"
  48. pushovertoken="accesstoken"
  49. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  50. telegramalert="off"
  51. telegramtoken="accesstoken"
  52. telegramchatid=""
  53. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  54. updateonstart="off"
  55. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  56. maxbackups="4"
  57. maxbackupdays="30"
  58. stoponbackup="on"
  59. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  60. consolelogging="on"
  61. logdays="7"
  62. #### LinuxGSM Advanced Settings ####
  63. ## SteamCMD Settings
  64. # Server appid
  65. appid="403240"
  66. # Steam App Branch Select
  67. # Allows to opt into the various Steam app branches. Default branch is "".
  68. # Example: "-beta latest_experimental"
  69. branch=""
  70. ## LinuxGSM Server Details
  71. # Do not edit
  72. gamename="Squad"
  73. engine="unreal4"
  74. #### Directories ####
  75. # Edit with care
  76. ## Server Specific Directories
  77. systemdir="${serverfiles}/Squad"
  78. executabledir="${serverfiles}"
  79. executable="./SquadServer.sh"
  80. servercfg="${servicename}.cfg"
  81. servercfgdefault="Server.cfg"
  82. servercfgdir="${systemdir}/ServerConfig"
  83. servercfgfullpath="${servercfgdir}/${servercfg}"
  84. ## Backup Directory
  85. backupdir="${lgsmdir}/backup"
  86. ## Logging Directories
  87. logdir="${rootdir}/log"
  88. gamelogdir="${systemdir}/Saved/Logs"
  89. lgsmlogdir="${logdir}/script"
  90. consolelogdir="${logdir}/console"
  91. gamelog="${gamelogdir}/${servicename}-game.log"
  92. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  93. consolelog="${consolelogdir}/${servicename}-console.log"
  94. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  95. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  96. ## Logs Naming
  97. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  98. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"