_default.cfg 5.5 KB

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