_default.cfg 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. ip="0.0.0.0"
  11. port="27015"
  12. clientport="27005"
  13. sourcetvport="27020"
  14. defaultmap="da_rooftops"
  15. maxplayers="10"
  16. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  17. fn_parms(){
  18. parms="-strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
  19. }
  20. #### LinuxGSM Settings ####
  21. ## Notification Alerts
  22. # (on|off)
  23. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  24. emailalert="off"
  25. email="email@example.com"
  26. emailfrom=""
  27. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  28. pushbulletalert="off"
  29. pushbullettoken="accesstoken"
  30. channeltag=""
  31. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  32. updateonstart="off"
  33. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  34. maxbackups="4"
  35. maxbackupdays="30"
  36. stoponbackup="on"
  37. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  38. consolelogging="on"
  39. logdays="7"
  40. #### LinuxGSM Advanced Settings ####
  41. ## SteamCMD Settings
  42. # Server appid
  43. appid="317800"
  44. # Steam App Branch Select
  45. # Allows to opt into the various Steam app branches. Default branch is "".
  46. # Example: "-beta latest_experimental"
  47. branch=""
  48. ## LinuxGSM Server Details
  49. # Do not edit
  50. gamename="Double Action: Boogaloo"
  51. engine="source"
  52. #### Directories ####
  53. # Edit with care
  54. ## Server Specific Directories
  55. systemdir="${serverfiles}/dab"
  56. executabledir="${serverfiles}"
  57. executable="./dabds.sh"
  58. servercfg="${servicename}.cfg"
  59. servercfgdefault="server.cfg"
  60. servercfgdir="${systemdir}/cfg"
  61. servercfgfullpath="${servercfgdir}/${servercfg}"
  62. ## Backup Directory
  63. backupdir="${rootdir}/backups"
  64. ## Logging Directories
  65. logdir="${rootdir}/log"
  66. gamelogdir="${systemdir}/logs"
  67. lgsmlogdir="${logdir}/script"
  68. consolelogdir="${logdir}/console"
  69. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  70. consolelog="${consolelogdir}/${servicename}-console.log"
  71. emaillog="${lgsmlogdir}/${servicename}-email.log"
  72. ## Logs Naming
  73. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  74. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"