_default.cfg 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  56. # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
  57. # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
  58. # any custom string in curl - simple ignore this parameter.
  59. telegramalert="off"
  60. telegramtoken="accesstoken"
  61. telegramchatid=""
  62. curlcustomstring=""
  63. ## Updating | https://docs.linuxgsm.com/commands/update
  64. updateonstart="off"
  65. ## Backup | https://docs.linuxgsm.com/commands/backup
  66. maxbackups="4"
  67. maxbackupdays="30"
  68. stoponbackup="on"
  69. ## Logging | https://docs.linuxgsm.com/features/logging
  70. consolelogging="on"
  71. logdays="7"
  72. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  73. # Query delay time
  74. querydelay="1"
  75. #### LinuxGSM Advanced Settings ####
  76. # ANSI Colors
  77. ansi="on"
  78. # Message Display Time
  79. sleeptime="0.5"
  80. ## SteamCMD Settings
  81. # Server appid
  82. appid="343050"
  83. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  84. branch=""
  85. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  86. steammaster="false"
  87. ## LinuxGSM Server Details
  88. # Do not edit
  89. gamename="Don't Starve Together"
  90. engine="dontstarve"
  91. glibc="2.15"
  92. ## Service Name | https://docs.linuxgsm.com/features/multiple-game-servers
  93. servicename="dst-server-${shard}"
  94. #### Directories ####
  95. # Edit with care
  96. ## Server Specific Directories
  97. systemdir="${serverfiles}"
  98. executabledir="${serverfiles}/bin"
  99. executable="./dontstarve_dedicated_server_nullrenderer"
  100. clustercfg="cluster.ini"
  101. clustercfgdir="${persistentstorageroot}/${confdir}/${cluster}"
  102. clustercfgfullpath="${clustercfgdir}/${clustercfg}"
  103. clustercfgdefault="cluster.ini"
  104. servercfg="server.ini"
  105. servercfgdir="${clustercfgdir}/${shard}"
  106. servercfgfullpath="${servercfgdir}/${servercfg}"
  107. servercfgdefault="server.ini"
  108. ## Backup Directory
  109. backupdir="${rootdir}/backups"
  110. ## Logging Directories
  111. logdir="${rootdir}/log"
  112. gamelogdir="${systemdir}/logs"
  113. lgsmlogdir="${logdir}/script"
  114. consolelogdir="${logdir}/console"
  115. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  116. consolelog="${consolelogdir}/${servicename}-console.log"
  117. alertlog="${lgsmlogdir}/${servicename}-alert.log"
  118. postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log"
  119. ## Logs Naming
  120. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  121. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"