_default.cfg 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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. ip="0.0.0.0"
  11. port="7777"
  12. queryport="6500"
  13. defaultmap="VCTF-Suspense"
  14. game="UTGameContent.UTVehicleCTFGame_Content"
  15. # Example: mutators="UTGame.UTMutator_Instagib,UTGame.UTMutator_LowGrav"
  16. mutators=""
  17. isdedicated="true"
  18. islanmatch="false"
  19. usesstats="false"
  20. shouldadvertise="true"
  21. pureserver="1"
  22. allowjoininprogress="true"
  23. # Required: OpenSpy Username and password
  24. # https://docs.linuxgsm.com/game-servers/unreal-tournament-3#server-openspy-login
  25. gsusername=""
  26. gspassword=""
  27. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  28. # List of game types and mutators: https://docs.linuxgsm.com/game-servers/unreal-tournament-3
  29. startparameters="server ${defaultmap}?Game=${game}?bIsDedicated=${isdedicated}?bIsLanMatch=${islanmatch}?bUsesStats=${usesstats}?bShouldAdvertise=${shouldadvertise}?PureServer=${pureserver}?bAllowJoinInProgress=${allowjoininprogress}?Mutator=${mutators}?ConfigSubDir=${selfname} -login=${gsusername} -password=${gspassword} -multihome=${ip} -port=${port} -queryport=${queryport} -nohomedir -unattended -log=${gamelog}"
  30. #### LinuxGSM Settings ####
  31. ## LinuxGSM Stats
  32. # Send useful stats to LinuxGSM developers.
  33. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  34. # (on|off)
  35. stats="off"
  36. ## Notification Alerts
  37. # (on|off)
  38. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  39. displayip=""
  40. # More info | https://docs.linuxgsm.com/alerts#more-info
  41. postalert="off"
  42. # Alert on Start/Stop/Restart
  43. statusalert="off"
  44. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  45. discordalert="off"
  46. discordwebhook="webhook"
  47. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  48. emailalert="off"
  49. email="email@example.com"
  50. emailfrom=""
  51. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  52. gotifyalert="off"
  53. gotifytoken="token"
  54. gotifywebhook="webhook"
  55. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  56. iftttalert="off"
  57. ifttttoken="accesstoken"
  58. iftttevent="linuxgsm_alert"
  59. # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
  60. ntfyalert="off"
  61. ntfytopic="LinuxGSM"
  62. ntfyserver="https://ntfy.sh"
  63. ntfytoken=""
  64. ntfyusername=""
  65. ntfypassword=""
  66. ntfypriority=""
  67. ntfytags=""
  68. # Matrix Alerts | https://docs.linuxgsm.com/alerts/matrix
  69. matrixalert="off"
  70. matrixhomeserver="matrix.org"
  71. matrixtoken="accesstoken"
  72. matrixroom=""
  73. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  74. pushbulletalert="off"
  75. pushbullettoken="accesstoken"
  76. channeltag=""
  77. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  78. pushoveralert="off"
  79. pushovertoken="accesstoken"
  80. pushoveruserkey="userkey"
  81. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  82. rocketchatalert="off"
  83. rocketchatwebhook="webhook"
  84. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  85. slackalert="off"
  86. slackwebhook="webhook"
  87. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  88. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  89. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help all".
  90. telegramapi="api.telegram.org"
  91. telegramalert="off"
  92. telegramtoken="accesstoken"
  93. telegramchatid=""
  94. telegramthreadid=""
  95. telegramsilentnotification="false"
  96. curlcustomstring=""
  97. ## Backup | https://docs.linuxgsm.com/commands/backup
  98. maxbackups="4"
  99. maxbackupdays="30"
  100. stoponbackup="on"
  101. ## Logging | https://docs.linuxgsm.com/features/logging
  102. consolelogging="on"
  103. logdays="7"
  104. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  105. # Query delay time
  106. querydelay="1"
  107. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  108. ansi="on"
  109. #### Advanced Settings ####
  110. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  111. sleeptime="0.5"
  112. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  113. # 1: tmux kill
  114. # 2: CTRL+c
  115. # 3: quit
  116. # 4: quit 120s
  117. # 5: stop
  118. # 6: q
  119. # 7: exit
  120. # 8: 7 Days to Die
  121. # 9: GoldSrc
  122. # 10: Avorion
  123. # 11: end
  124. stopmode="2"
  125. ## Query mode
  126. # 1: session only
  127. # 2: gamedig (gsquery fallback)
  128. # 3: gamedig
  129. # 4: gsquery
  130. # 5: tcp
  131. querymode="1"
  132. querytype=""
  133. ## Console type
  134. consoleverbose="yes"
  135. consoleinteract="no"
  136. ## Game Server Details
  137. # Do not edit
  138. gamename="Unreal Tournament 3"
  139. engine="unreal3"
  140. glibc="2.3.2"
  141. #### Directories ####
  142. # Edit with care
  143. ## Game Server Directories
  144. systemdir="${serverfiles}"
  145. executabledir="${systemdir}/Binaries"
  146. executable="./ut3"
  147. servercfgdir="${systemdir}/UTGame/Config/${selfname}"
  148. servercfg="UTGame.ini"
  149. servercfgdefault="UTGame.ini"
  150. servercfgfullpath="${servercfgdir}/${servercfg}"
  151. ## Backup Directory
  152. backupdir="${lgsmdir}/backup"
  153. ## Logging Directories
  154. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  155. gamelogdir="${logdir}/server"
  156. lgsmlogdir="${logdir}/script"
  157. consolelogdir="${logdir}/console"
  158. gamelog="${gamelogdir}/${selfname}-game.log"
  159. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  160. consolelog="${consolelogdir}/${selfname}-console.log"
  161. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  162. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  163. ## Logs Naming
  164. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  165. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  166. gamelogdate="${gamelogdir}/${selfname}-game-$(date '+%Y-%m-%d-%H:%M:%S').log"
  167. ## Log Parameters
  168. logtimestamp="off"
  169. logtimestampformat="%Y-%m-%d %H:%M:%S"