_default.cfg 4.1 KB

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