_default.cfg 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  29. updateonstart="off"
  30. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  31. maxbackups="4"
  32. maxbackupdays="30"
  33. stoponbackup="on"
  34. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  35. consolelogging="on"
  36. logdays="7"
  37. #### LinuxGSM Advanced Settings ####
  38. ## SteamCMD Settings
  39. # Server appid
  40. appid="349090"
  41. # Steam App Branch Select
  42. # Allows to opt into the various Steam app branches. Default branch is "".
  43. # Example: "-beta latest_experimental"
  44. branch=""
  45. ## LinuxGSM Server Details
  46. # Do not edit
  47. gamename="Quake Live"
  48. engine="idtech3_ql"
  49. #### Directories ####
  50. # Edit with care
  51. ## Server Specific Directories
  52. systemdir="${serverfiles}"
  53. executabledir="${serverfiles}"
  54. executable=$([ "${arch}" == 'x64' ] && echo "./run_server_x64.sh" || echo "./run_server_x86.sh")
  55. servercfg="${servicename}.cfg"
  56. servercfgdefault="server.cfg"
  57. servercfgdir="${serverfiles}/baseq3"
  58. servercfgfullpath="${servercfgdir}/${servercfg}"
  59. ## Backup Directory
  60. backupdir="${rootdir}/backups"
  61. ## Logging Directories
  62. logdir="${rootdir}/log"
  63. gamelogdir="${logdir}/server"
  64. lgsmlogdir="${logdir}/script"
  65. consolelogdir="${logdir}/console"
  66. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  67. gamelog="${gamelogdir}/${servicename}-game.log"
  68. consolelog="${consolelogdir}/${servicename}-console.log"
  69. emaillog="${lgsmlogdir}/${servicename}-email.log"
  70. ## Logs Naming
  71. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  72. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"