_default.cfg 3.6 KB

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