_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. ## SteamCMD Login | https://github.com/GameServerManagers/LinuxGSM/wiki/SteamCMD#steamcmd-login
  10. steamuser="username"
  11. steampass='password'
  12. ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters
  13. defaultmap="KF-BioticsLab.rom"
  14. ip="0.0.0.0"
  15. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/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. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  26. postalert="off"
  27. postdays="7"
  28. posttarget="https://hastebin.com"
  29. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  30. discordalert="off"
  31. discordwebhook="webhook"
  32. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  33. emailalert="off"
  34. email="email@example.com"
  35. emailfrom=""
  36. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  37. iftttalert="off"
  38. ifttttoken="accesstoken"
  39. iftttevent="linuxgsm_alert"
  40. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  41. mailgunalert="off"
  42. mailguntoken="accesstoken"
  43. mailgundomain="example.com"
  44. mailgunemailfrom="alert@example.com"
  45. mailgunemail="email@myemail.com"
  46. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  47. pushbulletalert="off"
  48. pushbullettoken="accesstoken"
  49. channeltag=""
  50. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  51. pushoveralert="off"
  52. pushovertoken="accesstoken"
  53. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  54. telegramalert="off"
  55. telegramtoken="accesstoken"
  56. telegramchatid=""
  57. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  58. updateonstart="off"
  59. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  60. maxbackups="4"
  61. maxbackupdays="30"
  62. stoponbackup="on"
  63. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  64. consolelogging="on"
  65. logdays="7"
  66. #### LinuxGSM Advanced Settings ####
  67. ## SteamCMD Settings
  68. # Server appid
  69. appid="215360"
  70. # Steam App Branch Select
  71. # Allows to opt into the various Steam app branches. Default branch is "".
  72. # Example: "-beta latest_experimental"
  73. branch=""
  74. ## LinuxGSM Server Details
  75. # Do not edit
  76. gamename="Killing Floor"
  77. engine="unreal2"
  78. #### Directories ####
  79. # Edit with care
  80. ## Server Specific Directories
  81. systemdir="${serverfiles}/System"
  82. executabledir="${systemdir}"
  83. executable="./ucc-bin"
  84. servercfg="${servicename}.ini"
  85. servercfgdefault="Default.ini"
  86. servercfgdir="${systemdir}"
  87. servercfgfullpath="${servercfgdir}/${servercfg}"
  88. compressedmapsdir="${rootdir}/Maps-Compressed"
  89. ## Backup Directory
  90. backupdir="${rootdir}/backups"
  91. ## Logging Directories
  92. logdir="${rootdir}/log"
  93. gamelogdir="${logdir}/server"
  94. lgsmlogdir="${logdir}/script"
  95. consolelogdir="${logdir}/console"
  96. gamelog="${gamelogdir}/${servicename}-game.log"
  97. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  98. consolelog="${consolelogdir}/${servicename}-console.log"
  99. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  100. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  101. ## Logs Naming
  102. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  103. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"