_default.cfg 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. ## Installation Variables | https://docs.linuxgsm.com/game-servers/dont-starve-together
  10. sharding="false"
  11. master="true"
  12. shard="Master"
  13. cluster="Cluster_1"
  14. cave="false"
  15. # Edit with care
  16. persistentstorageroot="${HOME}/.klei"
  17. confdir="DoNotStarveTogether"
  18. ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  19. fn_parms(){
  20. parms="-persistent_storage_root ${persistentstorageroot} -conf_dir ${confdir} -cluster ${cluster} -shard ${shard}"
  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="343050"
  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="Don't Starve Together"
  105. engine="dontstarve"
  106. glibc="2.15"
  107. ## Service Name | https://docs.linuxgsm.com/features/multiple-game-servers
  108. servicename="dst-server-${shard}"
  109. #### Directories ####
  110. # Edit with care
  111. ## Server Specific Directories
  112. systemdir="${serverfiles}"
  113. executabledir="${serverfiles}/bin"
  114. executable="./dontstarve_dedicated_server_nullrenderer"
  115. clustercfg="cluster.ini"
  116. clustercfgdir="${persistentstorageroot}/${confdir}/${cluster}"
  117. clustercfgfullpath="${clustercfgdir}/${clustercfg}"
  118. clustercfgdefault="cluster.ini"
  119. servercfg="server.ini"
  120. servercfgdir="${clustercfgdir}/${shard}"
  121. servercfgfullpath="${servercfgdir}/${servercfg}"
  122. servercfgdefault="server.ini"
  123. ## Backup Directory
  124. backupdir="${lgsmdir}/backup"
  125. ## Logging Directories
  126. logdir="${rootdir}/log"
  127. gamelogdir="${systemdir}/logs"
  128. lgsmlogdir="${logdir}/script"
  129. consolelogdir="${logdir}/console"
  130. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  131. consolelog="${consolelogdir}/${servicename}-console.log"
  132. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  133. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  134. ## Logs Naming
  135. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  136. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"