_default.cfg 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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. # https://www.wurmpedia.com/index.php/Server_administration_(Wurm_Unlimited)
  11. # Game mode (Creative|Adventure)
  12. gamemode="Creative"
  13. # The kingdom the server belongs to.
  14. # If you're using the Adventure base, use 1, 2, or 3.
  15. # If you're using Creative, use 4.
  16. # Kingdom numbers:
  17. # 0 - No kingdom
  18. # 1 - Jen-Kellon
  19. # 2 - Mol-Rehan
  20. # 3 - Horde of the Summoned
  21. # 4 - Freedom
  22. homekingdom="4"
  23. # Unlocks the admin commands from within the game, that can be used to change
  24. # the gameplay settings of the server, such as skill gain rate and field growth time.
  25. adminpassword="CHANGE_ME"
  26. # If true the server will follow the rules from the Epic servers in Wurm Online.
  27. # For instance it will use the skill curve.
  28. epicsettings="false"
  29. # If the server is a home server (belongs to a single kingdom).
  30. homeserver="true"
  31. # Defaults to true, should only be set to false if the server is intended to be
  32. # connected with another server that is going to act as a loginserver.
  33. loginserver="true"
  34. # Used for server to server communication.
  35. rmiport="7221"
  36. rmiregport="7220"
  37. maxplayers="200"
  38. servername="LinuxGSM"
  39. serverpassword=""
  40. ip="0.0.0.0"
  41. port="3724"
  42. queryport="27016"
  43. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  44. # Parameters are edited in the game server config file.
  45. startparameters="start=${gamemode} adminpwd='${adminpassword}' epicsettings='${epicsettings}' externalport='${port}' homeserver='${homeserver}' homekingdom='${homekingdom}' loginserver='${loginserver}' maxplayers='${maxplayers}' queryport='${queryport}' rmiport='${rmiport}' rmiregport='${rmiregport}' servername='${servername}' serverpassword='${serverpassword}' ip='${ip}'"
  46. #### LinuxGSM Settings ####
  47. ## LinuxGSM Stats
  48. # Send useful stats to LinuxGSM developers.
  49. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  50. # (on|off)
  51. stats="off"
  52. ## Notification Alerts
  53. # (on|off)
  54. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  55. displayip=""
  56. # More info | https://docs.linuxgsm.com/alerts#more-info
  57. postalert="off"
  58. # Alert on Start/Stop/Restart
  59. statusalert="off"
  60. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  61. discordalert="off"
  62. discordwebhook="webhook"
  63. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  64. emailalert="off"
  65. email="email@example.com"
  66. emailfrom=""
  67. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  68. gotifyalert="off"
  69. gotifytoken="token"
  70. gotifywebhook="webhook"
  71. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  72. iftttalert="off"
  73. ifttttoken="accesstoken"
  74. iftttevent="linuxgsm_alert"
  75. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  76. ntfyalert="off"
  77. ntfytopic="LinuxGSM"
  78. ntfyserver="https://ntfy.sh"
  79. ntfytoken=""
  80. ntfyusername=""
  81. ntfypassword=""
  82. ntfypriority=""
  83. ntfytags=""
  84. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  85. pushbulletalert="off"
  86. pushbullettoken="accesstoken"
  87. channeltag=""
  88. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  89. pushoveralert="off"
  90. pushovertoken="accesstoken"
  91. pushoveruserkey="userkey"
  92. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  93. rocketchatalert="off"
  94. rocketchatwebhook="webhook"
  95. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  96. slackalert="off"
  97. slackwebhook="webhook"
  98. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  99. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  100. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  101. telegramapi="api.telegram.org"
  102. telegramalert="off"
  103. telegramtoken="accesstoken"
  104. telegramchatid=""
  105. telegramthreadid=""
  106. telegramsilentnotification="false"
  107. curlcustomstring=""
  108. ## Updating | https://docs.linuxgsm.com/commands/update
  109. updateonstart="off"
  110. ## Backup | https://docs.linuxgsm.com/commands/backup
  111. maxbackups="4"
  112. maxbackupdays="30"
  113. stoponbackup="on"
  114. ## Logging | https://docs.linuxgsm.com/features/logging
  115. consolelogging="on"
  116. logdays="7"
  117. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  118. # Query delay time
  119. querydelay="1"
  120. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  121. ansi="on"
  122. #### Advanced Settings ####
  123. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  124. sleeptime="0.5"
  125. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  126. # Server appid
  127. appid="402370"
  128. steamcmdforcewindows="no"
  129. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  130. branch=""
  131. betapassword=""
  132. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  133. steammaster="false"
  134. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  135. # 1: tmux kill
  136. # 2: CTRL+c
  137. # 3: quit
  138. # 4: quit 120s
  139. # 5: stop
  140. # 6: q
  141. # 7: exit
  142. # 8: 7 Days to Die
  143. # 9: GoldSrc
  144. # 10: Avorion
  145. # 11: end
  146. stopmode="2"
  147. ## Query mode
  148. # 1: session only
  149. # 2: gamedig (gsquery fallback)
  150. # 3: gamedig
  151. # 4: gsquery
  152. # 5: tcp
  153. querymode="2"
  154. querytype="protocol-valve"
  155. ## Console type
  156. consoleverbose="yes"
  157. consoleinteract="no"
  158. ## Game Server Details
  159. # Do not edit
  160. gamename="Wurm Unlimited"
  161. engine="wurm"
  162. glibc="2.14"
  163. #### Directories ####
  164. # Edit with care
  165. ## Game Server Directories
  166. systemdir="${serverfiles}"
  167. executabledir="${systemdir}"
  168. executable="./WurmServerLauncher"
  169. ## Backup Directory
  170. backupdir="${lgsmdir}/backup"
  171. ## Logging Directories
  172. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  173. gamelogdir="${serverfiles}/Logs"
  174. lgsmlogdir="${logdir}/script"
  175. consolelogdir="${logdir}/console"
  176. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  177. consolelog="${consolelogdir}/${selfname}-console.log"
  178. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  179. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  180. ## Logs Naming
  181. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  182. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  183. ## Log Parameters
  184. logtimestamp="off"
  185. logtimestampformat="%Y-%m-%d %H:%M:%S"