_default.cfg 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. ##################################
  2. ######## Default Settings ########
  3. ##################################
  4. # DO NOT EDIT, ANY CHANGES 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. #### Game Server Settings ####
  9. ## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
  10. servername="LinuxGSM"
  11. # Minimum password length is 5.
  12. serverpassword=""
  13. port="2456"
  14. worldname="${selfname}"
  15. public="1"
  16. savedir="$HOME/.config/unity3d/IronGate/Valheim"
  17. logFile=""
  18. saveinterval="1800"
  19. backups="4"
  20. backupshort="7200"
  21. backuplong="43200"
  22. # If crossplay is empty, it's off. Fill with any text to make true
  23. # Crossplay is currently not working on Linux dedicated servers, so for now the default is false (empty)
  24. crossplay=""
  25. # INSTRUCTIONS FOR WORLD MODIFIERS (from Valheim Dedicated Server Manual.pdf located in serverfiles)
  26. # World modifiers can only be set in the start parameters and can be a combination of the following
  27. # PRESETS:
  28. # Setting a preset will overwrite any other previous modifiers.
  29. # Command line parameter: -preset
  30. # Valid values: normal, casual, easy, hard, hardcore, immersive, hammer.
  31. # MODIFIERS:
  32. # This is set as a combination of key and value, if combined with a preset should be set after.
  33. # Command line parameter: -modifier
  34. # Valid keys and possible values:
  35. # combat: veryeasy, easy, hard, veryhard
  36. # deathPenalty: casual, veryeasy, easy, hard, hardcore
  37. # resources: muchless, less, more, muchmore, most
  38. # raids: none, muchless, less, more, muchmore
  39. # portals: casual, hard, veryhard
  40. # KEYS:
  41. # Sets a world modifier checkbox key.
  42. # Command line parameter: -setkey
  43. # Valid values: nobuildcost, playerevents, passivemobs, nomap
  44. # Example of a combination of modifiers where we set no raids, very hard portals and no map run:
  45. # worldmodifiers="-modifier raids none -modifier portals veryhard -setkey nomap"
  46. # NOTE: removing world modifiers will NOT reset them to default. the modifiers are stored in the world save file (.fwl)
  47. # To go back to default you need to launch the server with the following parameter at least once:
  48. #. worldmodifiers="-preset normal"
  49. worldmodifiers=""
  50. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  51. startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${worldname} -public ${public} -savedir '${savedir}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong}${logFile:+ -logFile '${logFile}'}${crossplay:+ -crossplay}${worldmodifiers:+ ${worldmodifiers}}"
  52. #### LinuxGSM Settings ####
  53. ## LinuxGSM Stats
  54. # Send useful stats to LinuxGSM developers.
  55. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  56. # (on|off)
  57. stats="off"
  58. ## Notification Alerts
  59. # (on|off)
  60. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  61. displayip=""
  62. # More info | https://docs.linuxgsm.com/alerts#more-info
  63. postalert="off"
  64. # Alert on Start/Stop/Restart
  65. statusalert="off"
  66. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  67. discordalert="off"
  68. discordwebhook="webhook"
  69. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  70. emailalert="off"
  71. email="email@example.com"
  72. emailfrom=""
  73. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  74. gotifyalert="off"
  75. gotifytoken="token"
  76. gotifywebhook="webhook"
  77. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  78. iftttalert="off"
  79. ifttttoken="accesstoken"
  80. iftttevent="linuxgsm_alert"
  81. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  82. pushbulletalert="off"
  83. pushbullettoken="accesstoken"
  84. channeltag=""
  85. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  86. pushoveralert="off"
  87. pushovertoken="accesstoken"
  88. pushoveruserkey="userkey"
  89. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  90. rocketchatalert="off"
  91. rocketchatwebhook="webhook"
  92. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  93. slackalert="off"
  94. slackwebhook="webhook"
  95. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  96. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  97. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  98. telegramapi="api.telegram.org"
  99. telegramalert="off"
  100. telegramtoken="accesstoken"
  101. telegramchatid=""
  102. telegramthreadid=""
  103. telegramsilentnotification="false"
  104. curlcustomstring=""
  105. ## Updating | https://docs.linuxgsm.com/commands/update
  106. updateonstart="off"
  107. ## Backup | https://docs.linuxgsm.com/commands/backup
  108. maxbackups="4"
  109. maxbackupdays="30"
  110. stoponbackup="on"
  111. ## Logging | https://docs.linuxgsm.com/features/logging
  112. consolelogging="on"
  113. logdays="7"
  114. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  115. # Query delay time
  116. querydelay="5"
  117. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  118. ansi="on"
  119. #### Advanced Settings ####
  120. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  121. sleeptime="0.5"
  122. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  123. # Server appid
  124. appid="896660"
  125. steamcmdforcewindows="no"
  126. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  127. branch=""
  128. betapassword=""
  129. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  130. steammaster="true"
  131. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  132. # 1: tmux kill
  133. # 2: CTRL+c
  134. # 3: quit
  135. # 4: quit 120s
  136. # 5: stop
  137. # 6: q
  138. # 7: exit
  139. # 8: 7 Days to Die
  140. # 9: GoldSrc
  141. # 10: Avorion
  142. # 11: end
  143. stopmode="2"
  144. ## Query mode
  145. # 1: session only
  146. # 2: gamedig (gsquery fallback)
  147. # 3: gamedig
  148. # 4: gsquery
  149. # 5: tcp
  150. querymode="2"
  151. querytype="protocol-valve"
  152. ## Console type
  153. consoleverbose="yes"
  154. consoleinteract="no"
  155. ## Game Server Details
  156. # Do not edit
  157. gamename="Valheim"
  158. engine="unity3d"
  159. glibc="2.15"
  160. #### Directories ####
  161. # Edit with care
  162. ## Game Server Directories
  163. systemdir="${serverfiles}"
  164. executabledir="${serverfiles}"
  165. executable="./valheim_server.x86_64"
  166. ## Backup Directory
  167. backupdir="${lgsmdir}/backup"
  168. ## Logging Directories
  169. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  170. gamelogdir="${systemdir}/Saved/Logs"
  171. lgsmlogdir="${logdir}/script"
  172. consolelogdir="${logdir}/console"
  173. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  174. consolelog="${consolelogdir}/${selfname}-console.log"
  175. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  176. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  177. ## Logs Naming
  178. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  179. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  180. ## Log Parameters
  181. logtimestamp="off"
  182. logtimestampformat="%Y-%m-%d %H:%M:%S"