_default.cfg 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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="bba_barracks"
  15. maxplayers="20"
  16. ## Optional: Game Server Login Token
  17. # GSLT can be used 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 brainbread2 -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. telegramtoken=""
  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="475370"
  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="BrainBread 2"
  62. engine="source"
  63. ## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers
  64. servicename="bb2-server"
  65. #### Directories ####
  66. # Edit with care
  67. ## Server Specific Directories
  68. systemdir="${serverfiles}/brainbread2"
  69. executabledir="${serverfiles}"
  70. executable="./srcds_run"
  71. servercfg="${servicename}.cfg"
  72. servercfgdefault="server.cfg"
  73. servercfgdir="${systemdir}/cfg"
  74. servercfgfullpath="${servercfgdir}/${servercfg}"
  75. ## Backup Directory
  76. backupdir="${rootdir}/backups"
  77. ## Logging Directories
  78. logdir="${rootdir}/log"
  79. gamelogdir="${systemdir}/logs"
  80. lgsmlogdir="${logdir}/script"
  81. consolelogdir="${logdir}/console"
  82. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  83. consolelog="${consolelogdir}/${servicename}-console.log"
  84. emaillog="${lgsmlogdir}/${servicename}-email.log"
  85. ## Logs Naming
  86. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  87. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"