_default.cfg 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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="ADMINPASSWORD"
  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. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  59. discordalert="off"
  60. discordwebhook="webhook"
  61. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  62. emailalert="off"
  63. email="email@example.com"
  64. emailfrom=""
  65. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  66. gotifyalert="off"
  67. gotifytoken="token"
  68. gotifywebhook="webhook"
  69. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  70. iftttalert="off"
  71. ifttttoken="accesstoken"
  72. iftttevent="linuxgsm_alert"
  73. # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
  74. mailgunalert="off"
  75. mailgunapiregion="us"
  76. mailguntoken="accesstoken"
  77. mailgundomain="example.com"
  78. mailgunemailfrom="alert@example.com"
  79. mailgunemail="email@myemail.com"
  80. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  81. pushbulletalert="off"
  82. pushbullettoken="accesstoken"
  83. channeltag=""
  84. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  85. pushoveralert="off"
  86. pushovertoken="accesstoken"
  87. pushoveruserkey="userkey"
  88. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  89. rocketchatalert="off"
  90. rocketchatwebhook="webhook"
  91. rocketchattoken=""
  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".
  98. telegramapi="api.telegram.org"
  99. telegramalert="off"
  100. telegramtoken="accesstoken"
  101. telegramchatid=""
  102. curlcustomstring=""
  103. ## Updating | https://docs.linuxgsm.com/commands/update
  104. updateonstart="off"
  105. ## Backup | https://docs.linuxgsm.com/commands/backup
  106. maxbackups="4"
  107. maxbackupdays="30"
  108. stoponbackup="on"
  109. ## Logging | https://docs.linuxgsm.com/features/logging
  110. consolelogging="on"
  111. logdays="7"
  112. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  113. # Query delay time
  114. querydelay="1"
  115. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  116. ansi="on"
  117. #### Advanced Settings ####
  118. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  119. sleeptime="0.5"
  120. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  121. # Server appid
  122. appid="402370"
  123. steamcmdforcewindows="no"
  124. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  125. branch=""
  126. betapassword=""
  127. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  128. steammaster="false"
  129. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  130. # 1: tmux kill
  131. # 2: CTRL+c
  132. # 3: quit
  133. # 4: quit 120s
  134. # 5: stop
  135. # 6: q
  136. # 7: exit
  137. # 8: 7 Days to Die
  138. # 9: GoldSrc
  139. # 10: Avorion
  140. # 11: end
  141. stopmode="2"
  142. ## Query mode
  143. # 1: session only
  144. # 2: gamedig (gsquery fallback)
  145. # 3: gamedig
  146. # 4: gsquery
  147. # 5: tcp
  148. querymode="2"
  149. querytype="protocol-valve"
  150. ## Console type
  151. consoleverbose=""
  152. consoleinteract=""
  153. ## Game Server Details
  154. # Do not edit
  155. gamename="Wurm Unlimited"
  156. engine="wurm"
  157. glibc="2.14"
  158. #### Directories ####
  159. # Edit with care
  160. ## Game Server Directories
  161. systemdir="${serverfiles}"
  162. executabledir="${systemdir}"
  163. executable="./WurmServerLauncher"
  164. ## Backup Directory
  165. backupdir="${lgsmdir}/backup"
  166. ## Logging Directories
  167. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  168. gamelogdir="${serverfiles}/Logs"
  169. lgsmlogdir="${logdir}/script"
  170. consolelogdir="${logdir}/console"
  171. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  172. consolelog="${consolelogdir}/${selfname}-console.log"
  173. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  174. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  175. ## Logs Naming
  176. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  177. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  178. ## Log Parameters
  179. logtimestamp="off"
  180. logtimestampformat="%Y-%m-%d %H:%M:%S"