_default.cfg 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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. ## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
  13. ip="0.0.0.0"
  14. defaultmap="KF-BioticsLab.rom"
  15. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  16. fn_parms(){
  17. parms="server ${defaultmap}?game=KFmod.KFGameType?VACSecured=true -nohomedir ini=${servercfg} log=${gamelog}"
  18. # Server Start Command for Objective mode
  19. #defaultmap="KFO-Steamland"
  20. #parms="server ${defaultmap}?Game=KFStoryGame.KFStoryGame?VACSecured=true -nohomedir ini=${servercfg} log=${gamelog}"
  21. }
  22. #### LinuxGSM Settings ####
  23. ## Notification Alerts
  24. # (on|off)
  25. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  26. displayip=""
  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. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  56. slackalert="off"
  57. slackwebhook="webhook"
  58. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  59. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  60. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  61. # any custom string in curl - simple ignore this parameter.
  62. telegramalert="off"
  63. telegramtoken="accesstoken"
  64. telegramchatid=""
  65. curlcustomstring=""
  66. ## Updating | https://docs.linuxgsm.com/commands/update
  67. updateonstart="off"
  68. ## Backup | https://docs.linuxgsm.com/commands/backup
  69. maxbackups="4"
  70. maxbackupdays="30"
  71. stoponbackup="on"
  72. ## Logging | https://docs.linuxgsm.com/features/logging
  73. consolelogging="on"
  74. logdays="7"
  75. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  76. # Query delay time
  77. querydelay="1"
  78. #### LinuxGSM Advanced Settings ####
  79. # ANSI Colors
  80. ansi="on"
  81. # Message Display Time
  82. sleeptime="0.5"
  83. ## SteamCMD Settings
  84. # Server appid
  85. appid="215360"
  86. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  87. branch=""
  88. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  89. steammaster="false"
  90. # Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
  91. # 1: tmux kill
  92. # 2: CTRL+c
  93. # 3: quit
  94. # 4: quit 120s
  95. # 5: stop
  96. # 6: q
  97. # 7: exit
  98. # 8: 7 Days to Die
  99. # 9: Gold Source
  100. # 10: Teamspeak 3
  101. stopmode="2"
  102. ## LinuxGSM Server Details
  103. # Do not edit
  104. gamename="Killing Floor"
  105. engine="unreal2"
  106. glibc="2.4"
  107. #### Directories ####
  108. # Edit with care
  109. ## Server Specific Directories
  110. serverfiles="${rootdir}/serverfiles"
  111. systemdir="${serverfiles}/System"
  112. executabledir="${systemdir}"
  113. executable="./ucc-bin"
  114. servercfg="${servicename}.ini"
  115. servercfgdefault="Default.ini"
  116. servercfgdir="${systemdir}"
  117. servercfgfullpath="${servercfgdir}/${servercfg}"
  118. compressedmapsdir="${rootdir}/Maps-Compressed"
  119. ## Backup Directory
  120. backupdir="${lgsmdir}/backup"
  121. ## Logging Directories
  122. logdir="${rootdir}/log"
  123. gamelogdir="${logdir}/server"
  124. lgsmlogdir="${logdir}/script"
  125. consolelogdir="${logdir}/console"
  126. gamelog="${gamelogdir}/${servicename}-game.log"
  127. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  128. consolelog="${consolelogdir}/${servicename}-console.log"
  129. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  130. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  131. ## Logs Naming
  132. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  133. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  134. gamelogdate="${gamelogdir}/${servicename}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"