_default.cfg 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. ## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  13. ip="0.0.0.0"
  14. port="27015"
  15. clientport="27005"
  16. sourcetvport="27020"
  17. defaultmap="duel_winter"
  18. maxplayers="16"
  19. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  20. fn_parms(){
  21. parms="-autoupdate -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
  22. }
  23. #### LinuxGSM Settings ####
  24. ## Notification Alerts
  25. # (on|off)
  26. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  27. postalert="off"
  28. postdays="7"
  29. posttarget="https://hastebin.com"
  30. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  31. discordalert="off"
  32. discordwebhook="webhook"
  33. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  34. emailalert="off"
  35. email="email@example.com"
  36. emailfrom=""
  37. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  38. iftttalert="off"
  39. ifttttoken="accesstoken"
  40. iftttevent="linuxgsm_alert"
  41. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  42. mailgunalert="off"
  43. mailguntoken="accesstoken"
  44. mailgundomain="example.com"
  45. mailgunemailfrom="alert@example.com"
  46. mailgunemail="email@myemail.com"
  47. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  48. pushbulletalert="off"
  49. pushbullettoken="accesstoken"
  50. channeltag=""
  51. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  52. pushoveralert="off"
  53. pushovertoken="accesstoken"
  54. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  55. telegramalert="off"
  56. telegramtoken="accesstoken"
  57. telegramchatid=""
  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. ## SteamCMD Settings
  69. # Server appid
  70. appid="228780"
  71. # Steam App Branch Select
  72. # Allows to opt into the various Steam app branches. Default branch is "".
  73. # Example: "-beta latest_experimental"
  74. branch=""
  75. ## LinuxGSM Server Details
  76. # Do not edit
  77. gamename="Blade Symphony"
  78. engine="source"
  79. #### Directories ####
  80. # Edit with care
  81. ## Server Specific Directories
  82. systemdir="${serverfiles}/berimbau"
  83. executabledir="${serverfiles}"
  84. executable="./srcds_run.sh"
  85. servercfg="${servicename}.cfg"
  86. servercfgdefault="server.cfg"
  87. servercfgdir="${systemdir}/cfg"
  88. servercfgfullpath="${servercfgdir}/${servercfg}"
  89. ## Backup Directory
  90. backupdir="${rootdir}/backups"
  91. ## Logging Directories
  92. logdir="${rootdir}/log"
  93. gamelogdir="${systemdir}/logs"
  94. lgsmlogdir="${logdir}/script"
  95. consolelogdir="${logdir}/console"
  96. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  97. consolelog="${consolelogdir}/${servicename}-console.log"
  98. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  99. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  100. ## Logs Naming
  101. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  102. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"