_default.cfg 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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="cbe_bunker"
  15. maxplayers="6"
  16. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  17. fn_parms(){
  18. parms="-game cure -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="383410"
  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="Codename CURE"
  51. engine="source"
  52. ## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers
  53. servicename="cc-server"
  54. #### Directories ####
  55. # Edit with care
  56. ## Server Specific Directories
  57. systemdir="${serverfiles}/cure"
  58. executabledir="${serverfiles}"
  59. executable="./srcds_run"
  60. servercfg="${servicename}.cfg"
  61. servercfgdefault="server.cfg"
  62. servercfgdir="${systemdir}/cfg"
  63. servercfgfullpath="${servercfgdir}/${servercfg}"
  64. ## Backup Directory
  65. backupdir="${rootdir}/backups"
  66. ## Logging Directories
  67. logdir="${rootdir}/log"
  68. gamelogdir="${systemdir}/logs"
  69. lgsmlogdir="${logdir}/script"
  70. consolelogdir="${logdir}/console"
  71. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  72. consolelog="${consolelogdir}/${servicename}-console.log"
  73. emaillog="${lgsmlogdir}/${servicename}-email.log"
  74. ## Logs Naming
  75. lgsmlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  76. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"