_default.cfg 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. defaultmap="co_core"
  13. maxplayers="24"
  14. servername="NS2C Server"
  15. webadminuser="admin"
  16. webadminpass="admin"
  17. webadminport="8080"
  18. mods=""
  19. serverpassword=""
  20. # Add the following line to the parms if you want a private server. Ensuring
  21. # that the password variable above is not left empty.
  22. # -password \"${serverpassword}\"
  23. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  24. fn_parms(){
  25. parms="-name \"${servername}\" -port ${port} -webadmin -webdomain ${ip} -webuser ${webadminuser} -webpassword \"${webadminpass}\" -webport ${webadminport} -map ${defaultmap} -limit ${maxplayers} -config_path \"${servercfgdir}\" -modstorage \"${modstoragedir}\" -mods \"${mods}\""
  26. }
  27. #### LinuxGSM Settings ####
  28. ## Notification Alerts
  29. # (on|off)
  30. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  31. postalert="off"
  32. postdays="7"
  33. posttarget="https://hastebin.com"
  34. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  35. discordalert="off"
  36. discordwebhook="webhook"
  37. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  38. emailalert="off"
  39. email="email@example.com"
  40. emailfrom=""
  41. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  42. iftttalert="off"
  43. ifttttoken="accesstoken"
  44. iftttevent="linuxgsm_alert"
  45. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  46. mailgunalert="off"
  47. mailguntoken="accesstoken"
  48. mailgundomain="example.com"
  49. mailgunemailfrom="alert@example.com"
  50. mailgunemail="email@myemail.com"
  51. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  52. pushbulletalert="off"
  53. pushbullettoken="accesstoken"
  54. channeltag=""
  55. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  56. pushoveralert="off"
  57. pushovertoken="accesstoken"
  58. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  59. telegramalert="off"
  60. telegramtoken="accesstoken"
  61. telegramchatid=""
  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. ## SteamCMD Settings
  73. # Server appid
  74. appid="313900"
  75. # Steam App Branch Select
  76. # Allows to opt into the various Steam app branches. Default branch is "".
  77. # Example: "-beta latest_experimental"
  78. branch=""
  79. ## LinuxGSM Server Details
  80. # Do not edit
  81. gamename="NS2: Combat"
  82. engine="spark"
  83. #### Directories ####
  84. # Edit with care
  85. ## Server Specific Directories
  86. systemdir="${serverfiles}"
  87. executabledir="${serverfiles}/ia32"
  88. executable="./ns2combatserver_linux32"
  89. servercfgdir="${serverfiles}/${servicename}"
  90. servercfgfullpath="${servercfgdir}"
  91. modstoragedir="${servercfgdir}/Workshop"
  92. ## Backup Directory
  93. backupdir="${rootdir}/backups"
  94. ## Logging Directories
  95. logdir="${rootdir}/log"
  96. gamelogdir="${systemdir}/logs"
  97. lgsmlogdir="${logdir}/script"
  98. consolelogdir="${logdir}/console"
  99. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  100. consolelog="${consolelogdir}/${servicename}-console.log"
  101. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  102. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  103. ## Logs Naming
  104. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  105. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"