_default.cfg 3.8 KB

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