_default.cfg 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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://github.com/GameServerManagers/LinuxGSM/wiki/Don't-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://github.com/GameServerManagers/LinuxGSM/wiki/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. # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email
  26. emailalert="off"
  27. email="email@example.com"
  28. emailfrom=""
  29. # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet
  30. pushbulletalert="off"
  31. pushbullettoken="accesstoken"
  32. channeltag=""
  33. ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update
  34. updateonstart="off"
  35. ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup
  36. maxbackups="4"
  37. maxbackupdays="30"
  38. stoponbackup="on"
  39. ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging
  40. consolelogging="on"
  41. logdays="7"
  42. #### LinuxGSM Advanced Settings ####
  43. ## SteamCMD Settings
  44. # Server appid
  45. appid="343050"
  46. # Steam App Branch Select
  47. # Allows to opt into the various Steam app branches. Default branch is "".
  48. # Example: "-beta latest_experimental"
  49. branch=""
  50. ## LinuxGSM Server Details
  51. # Do not edit
  52. gamename="Don't Starve Together"
  53. engine="dontstarve"
  54. ## Service Name | https://github.com/GameServerManagers/LinuxGSM/wiki/Multiple-Servers
  55. servicename="dst-server-${shard}"
  56. #### Directories ####
  57. # Edit with care
  58. ## Server Specific Directories
  59. systemdir="${serverfiles}"
  60. executabledir="${serverfiles}/bin"
  61. executable="./dontstarve_dedicated_server_nullrenderer"
  62. clustercfg="cluster.ini"
  63. clustercfgdir="${persistentstorageroot}/${confdir}/${cluster}"
  64. clustercfgfullpath="${clustercfgdir}/${clustercfg}"
  65. clustercfgdefault="cluster.ini"
  66. servercfg="server.ini"
  67. servercfgdir="${clustercfgdir}/${shard}"
  68. servercfgfullpath="${servercfgdir}/${servercfg}"
  69. servercfgdefault="server.ini"
  70. ## Backup Directory
  71. backupdir="${rootdir}/backups"
  72. ## Logging Directories
  73. logdir="${rootdir}/log"
  74. gamelogdir="${systemdir}/logs"
  75. lgsmlogdir="${logdir}/script"
  76. consolelogdir="${logdir}/console"
  77. lgsmlog="${lgsmlogdir}/${servicename}-script.log"
  78. consolelog="${consolelogdir}/${servicename}-console.log"
  79. emaillog="${lgsmlogdir}/${servicename}-email.log"
  80. ## Logs Naming
  81. lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  82. consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"