_default.cfg 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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="pve_tomb"
  14. maxplayers="3"
  15. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  16. fn_parms(){
  17. parms="-game bdef -strictportbind +ip ${ip} -port ${port} +clientport ${clientport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
  18. }
  19. #### LinuxGSM Settings ####
  20. ## Notification Alerts
  21. # (on|off)
  22. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  23. postalert="off"
  24. postdays="7"
  25. posttarget="https://hastebin.com"
  26. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  27. discordalert="off"
  28. discordwebhook="webhook"
  29. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  30. emailalert="off"
  31. email="email@example.com"
  32. emailfrom=""
  33. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  34. iftttalert="off"
  35. ifttttoken="accesstoken"
  36. iftttevent="linuxgsm_alert"
  37. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  38. mailgunalert="off"
  39. mailguntoken="accesstoken"
  40. mailgundomain="example.com"
  41. mailgunemailfrom="alert@example.com"
  42. mailgunemail="email@myemail.com"
  43. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  44. pushbulletalert="off"
  45. pushbullettoken="accesstoken"
  46. channeltag=""
  47. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  48. pushoveralert="off"
  49. pushovertoken="accesstoken"
  50. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  51. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  52. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  53. # any custom string in curl - simple ignore this parameter.
  54. telegramalert="off"
  55. telegramtoken="accesstoken"
  56. telegramchatid=""
  57. curlcustomstring=""
  58. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  59. updateonstart="off"
  60. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  61. maxbackups="4"
  62. maxbackupdays="30"
  63. stoponbackup="on"
  64. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  65. consolelogging="on"
  66. logdays="7"
  67. #### LinuxGSM Advanced Settings ####
  68. # ANSI Colors
  69. ansi="on"
  70. ## SteamCMD Settings
  71. # Server appid
  72. appid="817300"
  73. ## LinuxGSM Server Details
  74. # Do not edit
  75. gamename="Base Defense"
  76. engine="goldsource"
  77. #### Directories ####
  78. # Edit with care
  79. ## Server Specific Directories
  80. systemdir="${serverfiles}/bdef"
  81. executabledir="${serverfiles}"
  82. executable="./hlds_run"
  83. servercfg="${servicename}.cfg"
  84. servercfgdefault="server.cfg"
  85. servercfgdir="${systemdir}"
  86. servercfgfullpath="${servercfgdir}/${servercfg}"
  87. ## Backup Directory
  88. backupdir="${rootdir}/backups"
  89. ## Logging Directories
  90. logdir="${rootdir}/log"
  91. gamelogdir="${systemdir}/logs"
  92. lgsmlogdir="${logdir}/script"
  93. consolelogdir="${logdir}/console"
  94. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  95. consolelog="${consolelogdir}/${servicename}-console.log"
  96. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  97. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  98. ## Logs Naming
  99. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  100. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"