_default.cfg 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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="de_dust2"
  15. maxplayers="16"
  16. ## Required: Game Server Login Token
  17. # GSLT is required for running a public server.
  18. # More info: https://gameservermanagers.com/gslt
  19. gslt=""
  20. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  21. fn_parms(){
  22. parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
  23. }
  24. #### LinuxGSM Settings ####
  25. ## Notification Alerts
  26. # (on|off)
  27. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  28. emailalert="off"
  29. email="email@example.com"
  30. emailfrom=""
  31. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  32. pushbulletalert="off"
  33. pushbullettoken="accesstoken"
  34. channeltag=""
  35. # Telegram Bot Alerts
  36. # Get an Bot API key from @botfather
  37. # The chat id is the User or channel name or an integer like so:
  38. # https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id/38388851#38388851
  39. telegramalert="off"
  40. telegramapikey=""
  41. telegramchatid=""
  42. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  43. updateonstart="off"
  44. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  45. maxbackups="4"
  46. maxbackupdays="30"
  47. stoponbackup="on"
  48. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  49. consolelogging="on"
  50. logdays="7"
  51. #### LinuxGSM Advanced Settings ####
  52. ## SteamCMD Settings
  53. # Server appid
  54. appid="232330"
  55. # Steam App Branch Select
  56. # Allows to opt into the various Steam app branches. Default branch is "".
  57. # Example: "-beta latest_experimental"
  58. branch=""
  59. ## LinuxGSM Server Details
  60. # Do not edit
  61. gamename="Counter-Strike: Source"
  62. engine="source"
  63. #### Directories ####
  64. # Edit with care
  65. ## Server Specific Directories
  66. systemdir="${serverfiles}/cstrike"
  67. executabledir="${serverfiles}"
  68. executable="./srcds_run"
  69. servercfg="${servicename}.cfg"
  70. servercfgdefault="server.cfg"
  71. servercfgdir="${systemdir}/cfg"
  72. servercfgfullpath="${servercfgdir}/${servercfg}"
  73. ## Backup Directory
  74. backupdir="${rootdir}/backups"
  75. ## Logging Directories
  76. logdir="${rootdir}/log"
  77. gamelogdir="${systemdir}/logs"
  78. lgsmlogdir="${logdir}/script"
  79. consolelogdir="${logdir}/console"
  80. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  81. consolelog="${consolelogdir}/${servicename}-console.log"
  82. emaillog="${lgsmlogdir}/${servicename}-email.log"
  83. ## Logs Naming
  84. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  85. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"