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