_default.cfg 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  85. matrixalert="off"
  86. matrixhomeserver="matrix.org"
  87. matrixtoken="accesstoken"
  88. matrixroom=""
  89. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  90. pushbulletalert="off"
  91. pushbullettoken="accesstoken"
  92. channeltag=""
  93. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  94. pushoveralert="off"
  95. pushovertoken="accesstoken"
  96. pushoveruserkey="userkey"
  97. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  98. rocketchatalert="off"
  99. rocketchatwebhook="webhook"
  100. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  101. slackalert="off"
  102. slackwebhook="webhook"
  103. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  104. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  105. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  106. telegramapi="api.telegram.org"
  107. telegramalert="off"
  108. telegramtoken="accesstoken"
  109. telegramchatid=""
  110. telegramthreadid=""
  111. telegramsilentnotification="false"
  112. curlcustomstring=""
  113. ## Updating | https://docs.linuxgsm.com/commands/update
  114. updateonstart="off"
  115. ## Backup | https://docs.linuxgsm.com/commands/backup
  116. maxbackups="4"
  117. maxbackupdays="30"
  118. stoponbackup="on"
  119. ## Logging | https://docs.linuxgsm.com/features/logging
  120. consolelogging="on"
  121. logdays="7"
  122. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  123. # Query delay time
  124. querydelay="1"
  125. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  126. ansi="on"
  127. #### Advanced Settings ####
  128. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  129. sleeptime="0.5"
  130. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  131. # Server appid
  132. appid="402370"
  133. steamcmdforcewindows="no"
  134. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  135. branch=""
  136. betapassword=""
  137. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  138. steammaster="false"
  139. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  140. # 1: tmux kill
  141. # 2: CTRL+c
  142. # 3: quit
  143. # 4: quit 120s
  144. # 5: stop
  145. # 6: q
  146. # 7: exit
  147. # 8: 7 Days to Die
  148. # 9: GoldSrc
  149. # 10: Avorion
  150. # 11: end
  151. stopmode="2"
  152. ## Query mode
  153. # 1: session only
  154. # 2: gamedig (gsquery fallback)
  155. # 3: gamedig
  156. # 4: gsquery
  157. # 5: tcp
  158. querymode="2"
  159. querytype="protocol-valve"
  160. ## Console type
  161. consoleverbose="yes"
  162. consoleinteract="no"
  163. ## Game Server Details
  164. # Do not edit
  165. gamename="Wurm Unlimited"
  166. engine="wurm"
  167. glibc="2.14"
  168. #### Directories ####
  169. # Edit with care
  170. ## Game Server Directories
  171. systemdir="${serverfiles}"
  172. executabledir="${systemdir}"
  173. executable="./WurmServerLauncher"
  174. ## Backup Directory
  175. backupdir="${lgsmdir}/backup"
  176. ## Logging Directories
  177. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  178. gamelogdir="${serverfiles}/Logs"
  179. lgsmlogdir="${logdir}/script"
  180. consolelogdir="${logdir}/console"
  181. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  182. consolelog="${consolelogdir}/${selfname}-console.log"
  183. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  184. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  185. ## Logs Naming
  186. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  187. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  188. ## Log Parameters
  189. logtimestamp="off"
  190. logtimestampformat="%Y-%m-%d %H:%M:%S"