_default.cfg 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  56. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  57. # any custom string in curl - simple ignore this parameter.
  58. telegramalert="off"
  59. telegramtoken="accesstoken"
  60. telegramchatid=""
  61. curlcustomstring=""
  62. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  63. updateonstart="off"
  64. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  65. maxbackups="4"
  66. maxbackupdays="30"
  67. stoponbackup="on"
  68. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  69. consolelogging="on"
  70. logdays="7"
  71. #### LinuxGSM Advanced Settings ####
  72. # ANSI Colors
  73. ansi="on"
  74. ## SteamCMD Settings
  75. # Server appid
  76. appid="228780"
  77. # Steam App Branch Select
  78. # Allows to opt into the various Steam app branches. Default branch is "".
  79. # Example: "-beta latest_experimental"
  80. branch=""
  81. ## LinuxGSM Server Details
  82. # Do not edit
  83. gamename="Blade Symphony"
  84. engine="source"
  85. #### Directories ####
  86. # Edit with care
  87. ## Server Specific Directories
  88. systemdir="${serverfiles}/berimbau"
  89. executabledir="${serverfiles}"
  90. executable="./srcds_run.sh"
  91. servercfg="${servicename}.cfg"
  92. servercfgdefault="server.cfg"
  93. servercfgdir="${systemdir}/cfg"
  94. servercfgfullpath="${servercfgdir}/${servercfg}"
  95. ## Backup Directory
  96. backupdir="${rootdir}/backups"
  97. ## Logging Directories
  98. logdir="${rootdir}/log"
  99. gamelogdir="${systemdir}/logs"
  100. lgsmlogdir="${logdir}/script"
  101. consolelogdir="${logdir}/console"
  102. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  103. consolelog="${consolelogdir}/${servicename}-console.log"
  104. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  105. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  106. ## Logs Naming
  107. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  108. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"