_default.cfg 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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="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://gameservermanagers.com/gslt
  19. gslt=""
  20. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  21. fn_parms(){
  22. parms="-game nmrih -insecure -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. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  28. emailalert="off"
  29. email="email@example.com"
  30. emailfrom=""
  31. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  32. pushbulletalert="off"
  33. pushbullettoken="accesstoken"
  34. channeltag=""
  35. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  36. updateonstart="off"
  37. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  38. maxbackups="4"
  39. maxbackupdays="30"
  40. stoponbackup="on"
  41. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  42. consolelogging="on"
  43. logdays="7"
  44. #### LinuxGSM Advanced Settings ####
  45. ## SteamCMD Settings
  46. # Server appid
  47. appid="317670"
  48. # Steam App Branch Select
  49. # Allows to opt into the various Steam app branches. Default branch is "".
  50. # Example: "-beta latest_experimental"
  51. branch=""
  52. ## LinuxGSM Server Details
  53. # Do not edit
  54. gamename="No More Room in Hell"
  55. engine="source"
  56. #### Directories ####
  57. # Edit with care
  58. ## Server Specific Directories
  59. systemdir="${serverfiles}/nmrih"
  60. executabledir="${serverfiles}"
  61. executable="./srcds_run"
  62. servercfg="${servicename}.cfg"
  63. servercfgdefault="server.cfg"
  64. servercfgdir="${systemdir}/cfg"
  65. servercfgfullpath="${servercfgdir}/${servercfg}"
  66. ## Backup Directory
  67. backupdir="${rootdir}/backups"
  68. ## Logging Directories
  69. logdir="${rootdir}/log"
  70. gamelogdir="${systemdir}/logs"
  71. lgsmlogdir="${logdir}/script"
  72. consolelogdir="${logdir}/console"
  73. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  74. consolelog="${consolelogdir}/${servicename}-console.log"
  75. emaillog="${lgsmlogdir}/${servicename}-email.log"
  76. ## Logs Naming
  77. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  78. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"