_default.cfg 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  10. fn_parms(){
  11. parms="+hostServer 1 +dedicated 1"
  12. }
  13. #### LinuxGSM Settings ####
  14. ## Notification Alerts
  15. # (on|off)
  16. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  17. postalert="off"
  18. postdays="7"
  19. posttarget="https://hastebin.com"
  20. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  21. discordalert="off"
  22. discordwebhook="webhook"
  23. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  24. emailalert="off"
  25. email="email@example.com"
  26. emailfrom=""
  27. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  28. iftttalert="off"
  29. ifttttoken="accesstoken"
  30. iftttevent="linuxgsm_alert"
  31. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  32. mailgunalert="off"
  33. mailguntoken="accesstoken"
  34. mailgundomain="example.com"
  35. mailgunemailfrom="alert@example.com"
  36. mailgunemail="email@myemail.com"
  37. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  38. pushbulletalert="off"
  39. pushbullettoken="accesstoken"
  40. channeltag=""
  41. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  42. pushoveralert="off"
  43. pushovertoken="accesstoken"
  44. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  45. telegramalert="off"
  46. telegramtoken="accesstoken"
  47. telegramchatid=""
  48. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  49. updateonstart="off"
  50. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  51. maxbackups="4"
  52. maxbackupdays="30"
  53. stoponbackup="on"
  54. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  55. consolelogging="on"
  56. logdays="7"
  57. #### LinuxGSM Advanced Settings ####
  58. ## LinuxGSM Server Details
  59. # Do not edit
  60. gamename="Battlefield: 1942"
  61. engine="refractor"
  62. #### Directories ####
  63. # Edit with care
  64. ## Server Specific Directories
  65. systemdir="${serverfiles}"
  66. executabledir="${systemdir}"
  67. executable="./start.sh"
  68. servercfg="serversettings.con"
  69. servercfgdefault="serversettings.con"
  70. servercfgdir="${systemdir}/mods/bf1942/settings"
  71. servercfgfullpath="${servercfgdir}/${servercfg}"
  72. ## Backup Directory
  73. backupdir="${rootdir}/backups"
  74. ## Logging Directories
  75. logdir="${rootdir}/log"
  76. gamelogdir="${serverfiles}/Logs"
  77. lgsmlogdir="${logdir}/script"
  78. consolelogdir="${logdir}/console"
  79. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  80. consolelog="${consolelogdir}/${servicename}-console.log"
  81. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  82. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  83. ## Logs Naming
  84. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  85. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"