_default.cfg 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. defaultmap="co_core"
  13. maxplayers="24"
  14. servername="LinuxGSM 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://docs.linuxgsm.com/configuration/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. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  31. displayip=""
  32. # More info | https://docs.linuxgsm.com/alerts#more-info
  33. postalert="off"
  34. postdays="7"
  35. posttarget="https://hastebin.com"
  36. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  37. discordalert="off"
  38. discordwebhook="webhook"
  39. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  40. emailalert="off"
  41. email="email@example.com"
  42. emailfrom=""
  43. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  44. iftttalert="off"
  45. ifttttoken="accesstoken"
  46. iftttevent="linuxgsm_alert"
  47. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  48. mailgunalert="off"
  49. mailguntoken="accesstoken"
  50. mailgundomain="example.com"
  51. mailgunemailfrom="alert@example.com"
  52. mailgunemail="email@myemail.com"
  53. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  54. pushbulletalert="off"
  55. pushbullettoken="accesstoken"
  56. channeltag=""
  57. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  58. pushoveralert="off"
  59. pushovertoken="accesstoken"
  60. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  61. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  62. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  63. # any custom string in curl - simple ignore this parameter.
  64. telegramalert="off"
  65. telegramtoken="accesstoken"
  66. telegramchatid=""
  67. curlcustomstring=""
  68. ## Updating | https://docs.linuxgsm.com/commands/update
  69. updateonstart="off"
  70. ## Backup | https://docs.linuxgsm.com/commands/backup
  71. maxbackups="4"
  72. maxbackupdays="30"
  73. stoponbackup="on"
  74. ## Logging | https://docs.linuxgsm.com/features/logging
  75. consolelogging="on"
  76. logdays="7"
  77. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  78. # Query delay time
  79. querydelay="1"
  80. #### LinuxGSM Advanced Settings ####
  81. # ANSI Colors
  82. ansi="on"
  83. # Message Display Time
  84. sleeptime="0.5"
  85. ## SteamCMD Settings
  86. # Server appid
  87. appid="313900"
  88. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  89. branch=""
  90. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  91. steammaster="true"
  92. ## LinuxGSM Server Details
  93. # Do not edit
  94. gamename="NS2: Combat"
  95. engine="spark"
  96. glibc="2.15"
  97. #### Directories ####
  98. # Edit with care
  99. ## Server Specific Directories
  100. systemdir="${serverfiles}"
  101. executabledir="${serverfiles}/ia32"
  102. executable="./ns2combatserver_linux32"
  103. servercfgdir="${serverfiles}/${servicename}"
  104. servercfgfullpath="${servercfgdir}"
  105. modstoragedir="${servercfgdir}/Workshop"
  106. ## Backup Directory
  107. backupdir="${rootdir}/backups"
  108. ## Logging Directories
  109. logdir="${rootdir}/log"
  110. gamelogdir="${systemdir}/logs"
  111. lgsmlogdir="${logdir}/script"
  112. consolelogdir="${logdir}/console"
  113. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  114. consolelog="${consolelogdir}/${servicename}-console.log"
  115. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  116. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  117. ## Logs Naming
  118. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  119. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"