_default.cfg 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters
  12. fn_parms(){
  13. parms="-logfile ${gamelogdir}/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated -configfile=${servercfgfullpath}"
  14. }
  15. #### LinuxGSM Settings ####
  16. ## Notification Alerts
  17. # (on|off)
  18. # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info
  19. postalert="off"
  20. postdays="7"
  21. posttarget="https://hastebin.com"
  22. # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
  23. discordalert="off"
  24. discordwebhook="webhook"
  25. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  26. emailalert="off"
  27. email="email@example.com"
  28. emailfrom=""
  29. # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT
  30. iftttalert="off"
  31. ifttttoken="accesstoken"
  32. iftttevent="linuxgsm_alert"
  33. # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun
  34. mailgunalert="off"
  35. mailguntoken="accesstoken"
  36. mailgundomain="example.com"
  37. mailgunemailfrom="alert@example.com"
  38. mailgunemail="email@myemail.com"
  39. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  40. pushbulletalert="off"
  41. pushbullettoken="accesstoken"
  42. channeltag=""
  43. # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
  44. pushoveralert="off"
  45. pushovertoken="accesstoken"
  46. # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram
  47. telegramalert="off"
  48. telegramtoken="accesstoken"
  49. telegramchatid=""
  50. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  51. updateonstart="off"
  52. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  53. maxbackups="4"
  54. maxbackupdays="30"
  55. stoponbackup="on"
  56. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  57. consolelogging="on"
  58. logdays="7"
  59. #### LinuxGSM Advanced Settings ####
  60. ## SteamCMD Settings
  61. # Server appid
  62. appid="294420"
  63. # Steam App Branch Select
  64. # Allows to opt into the various Steam app branches. Default branch is "".
  65. # Example: "-beta latest_experimental"
  66. branch=""
  67. ## LinuxGSM Server Details
  68. # Do not edit
  69. gamename="7 Days To Die"
  70. engine="unity3d"
  71. #### Directories ####
  72. # Edit with care
  73. ## Server Specific Directories
  74. systemdir="${serverfiles}"
  75. executabledir="${serverfiles}"
  76. executable="./7DaysToDieServer.x86"
  77. servercfg="${servicename}.xml"
  78. servercfgdefault="serverconfig.xml"
  79. servercfgdir="${serverfiles}"
  80. servercfgfullpath="${servercfgdir}/${servercfg}"
  81. ## Backup Directory
  82. backupdir="${lgsmdir}/backup"
  83. ## Logging Directories
  84. logdir="${rootdir}/log"
  85. gamelogdir="${logdir}/server"
  86. lgsmlogdir="${logdir}/script"
  87. consolelogdir="${logdir}/console"
  88. gamelog="${gamelogdir}/${servicename}-game.log"
  89. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  90. consolelog="${consolelogdir}/${servicename}-console.log"
  91. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  92. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  93. ## Logs Naming
  94. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  95. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"