_default.cfg 2.8 KB

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