_default.cfg 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  21. emailalert="off"
  22. email="email@example.com"
  23. emailfrom=""
  24. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  25. pushbulletalert="off"
  26. pushbullettoken="accesstoken"
  27. channeltag=""
  28. # Telegram Bot Alerts
  29. # Get an Bot API key from @botfather
  30. # The chat id is the User or channel name or an integer like so:
  31. # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851
  32. telegramalert="off"
  33. telegramapikey=""
  34. telegramchatid=""
  35. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  36. updateonstart="off"
  37. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  38. maxbackups="4"
  39. maxbackupdays="30"
  40. stoponbackup="on"
  41. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  42. consolelogging="on"
  43. logdays="7"
  44. #### LinuxGSM Advanced Settings ####
  45. ## SteamCMD Settings
  46. # Server appid
  47. appid="349090"
  48. # Steam App Branch Select
  49. # Allows to opt into the various Steam app branches. Default branch is "".
  50. # Example: "-beta latest_experimental"
  51. branch=""
  52. ## LinuxGSM Server Details
  53. # Do not edit
  54. gamename="Quake Live"
  55. engine="idtech3_ql"
  56. #### Directories ####
  57. # Edit with care
  58. ## Server Specific Directories
  59. systemdir="${serverfiles}"
  60. executabledir="${serverfiles}"
  61. executable=$([ "${arch}" == 'x64' ] && echo "./run_server_x64.sh" || echo "./run_server_x86.sh")
  62. servercfg="${servicename}.cfg"
  63. servercfgdefault="server.cfg"
  64. servercfgdir="${serverfiles}/baseq3"
  65. servercfgfullpath="${servercfgdir}/${servercfg}"
  66. ## Backup Directory
  67. backupdir="${rootdir}/backups"
  68. ## Logging Directories
  69. logdir="${rootdir}/log"
  70. gamelogdir="${logdir}/server"
  71. lgsmlogdir="${logdir}/script"
  72. consolelogdir="${logdir}/console"
  73. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  74. gamelog="${gamelogdir}/${servicename}-game.log"
  75. consolelog="${consolelogdir}/${servicename}-console.log"
  76. emaillog="${lgsmlogdir}/${servicename}-email.log"
  77. ## Logs Naming
  78. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  79. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"