_default.cfg 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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. ## Stop | https://docs.linuxgsm.com/commands/start-stop-restart
  114. stoponlyifnoplayers="off"
  115. stoponlyifnoplayersallcommands="on"
  116. ## Player Warnings | https://docs.linuxgsm.com/features/player-warnings
  117. # Minutes to warn players in-game before a stop, restart or update. 0 to disable.
  118. # e.g. 15 warns at 15, 10, 5, 3 and 1 minutes.
  119. warnplayerstimer="0"
  120. ## Updating | https://docs.linuxgsm.com/commands/update
  121. updateonstart="off"
  122. ## Backup | https://docs.linuxgsm.com/commands/backup
  123. maxbackups="4"
  124. maxbackupdays="30"
  125. stoponbackup="on"
  126. ## Logging | https://docs.linuxgsm.com/features/logging
  127. consolelogging="on"
  128. logdays="7"
  129. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  130. # Query delay time
  131. querydelay="1"
  132. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  133. ansi="on"
  134. #### Advanced Settings ####
  135. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  136. sleeptime="0.5"
  137. ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
  138. # Server appid
  139. appid="402370"
  140. steamcmdforcewindows="no"
  141. # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
  142. branch=""
  143. betapassword=""
  144. # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
  145. steammaster="false"
  146. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  147. # 1: tmux kill
  148. # 2: CTRL+c
  149. # 3: quit
  150. # 4: quit 120s
  151. # 5: stop
  152. # 6: q
  153. # 7: exit
  154. # 8: 7 Days to Die
  155. # 9: GoldSrc
  156. # 10: Avorion
  157. # 11: end
  158. stopmode="2"
  159. ## Query mode
  160. # 1: session only
  161. # 2: gamedig (gsquery fallback)
  162. # 3: gamedig
  163. # 4: gsquery
  164. # 5: tcp
  165. querymode="2"
  166. querytype="protocol-valve"
  167. ## Console type
  168. consoleverbose="yes"
  169. consoleinteract="no"
  170. ## Game Server Details
  171. # Do not edit
  172. gamename="Wurm Unlimited"
  173. engine="wurm"
  174. glibc="2.14"
  175. #### Directories ####
  176. # Edit with care
  177. ## Game Server Directories
  178. systemdir="${serverfiles}"
  179. executabledir="${systemdir}"
  180. executable="./WurmServerLauncher"
  181. ## Backup Directory
  182. backupdir="${lgsmdir}/backup"
  183. ## Logging Directories
  184. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  185. gamelogdir="${serverfiles}/Logs"
  186. lgsmlogdir="${logdir}/script"
  187. consolelogdir="${logdir}/console"
  188. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  189. consolelog="${consolelogdir}/${selfname}-console.log"
  190. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  191. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  192. ## Logs Naming
  193. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  194. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  195. ## Log Parameters
  196. logtimestamp="off"
  197. logtimestampformat="%Y-%m-%d %H:%M:%S"