_default.cfg 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. # For CTF: defaultmap="CTF-Face" gametype="CTF"
  11. ip="0.0.0.0"
  12. port="7777"
  13. defaultmap="DM-Underland"
  14. gametype="DM"
  15. timelimit="10"
  16. ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
  17. startparameters="UnrealTournament ${defaultmap}?Game=${gametype}?TimeLimit=${timelimit} -port=${port}"
  18. #### LinuxGSM Settings ####
  19. ## LinuxGSM Stats
  20. # Send useful stats to LinuxGSM developers.
  21. # https://docs.linuxgsm.com/configuration/linuxgsm-stats
  22. # (on|off)
  23. stats="off"
  24. ## Notification Alerts
  25. # (on|off)
  26. # Display IP | https://docs.linuxgsm.com/alerts#display-ip
  27. displayip=""
  28. # More info | https://docs.linuxgsm.com/alerts#more-info
  29. postalert="off"
  30. # Alert on Start/Stop/Restart
  31. statusalert="off"
  32. # Discord Alerts | https://docs.linuxgsm.com/alerts/discord
  33. discordalert="off"
  34. discordwebhook="webhook"
  35. # Email Alerts | https://docs.linuxgsm.com/alerts/email
  36. emailalert="off"
  37. email="email@example.com"
  38. emailfrom=""
  39. # Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
  40. gotifyalert="off"
  41. gotifytoken="token"
  42. gotifywebhook="webhook"
  43. # IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
  44. iftttalert="off"
  45. ifttttoken="accesstoken"
  46. iftttevent="linuxgsm_alert"
  47. # Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
  48. pushbulletalert="off"
  49. pushbullettoken="accesstoken"
  50. channeltag=""
  51. # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
  52. pushoveralert="off"
  53. pushovertoken="accesstoken"
  54. pushoveruserkey="userkey"
  55. # Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
  56. rocketchatalert="off"
  57. rocketchatwebhook="webhook"
  58. # Slack Alerts | https://docs.linuxgsm.com/alerts/slack
  59. slackalert="off"
  60. slackwebhook="webhook"
  61. # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
  62. # You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
  63. # For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
  64. telegramapi="api.telegram.org"
  65. telegramalert="off"
  66. telegramtoken="accesstoken"
  67. telegramchatid=""
  68. curlcustomstring=""
  69. ## Backup | https://docs.linuxgsm.com/commands/backup
  70. maxbackups="4"
  71. maxbackupdays="30"
  72. stoponbackup="on"
  73. ## Logging | https://docs.linuxgsm.com/features/logging
  74. consolelogging="on"
  75. logdays="7"
  76. ## Monitor | https://docs.linuxgsm.com/commands/monitor
  77. # Query delay time
  78. querydelay="1"
  79. ## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
  80. ansi="on"
  81. #### Advanced Settings ####
  82. ## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
  83. sleeptime="0.5"
  84. ## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
  85. # 1: tmux kill
  86. # 2: CTRL+c
  87. # 3: quit
  88. # 4: quit 120s
  89. # 5: stop
  90. # 6: q
  91. # 7: exit
  92. # 8: 7 Days to Die
  93. # 9: GoldSrc
  94. # 10: Avorion
  95. # 11: end
  96. stopmode="2"
  97. ## Query mode
  98. # 1: session only
  99. # 2: gamedig (gsquery fallback)
  100. # 3: gamedig
  101. # 4: gsquery
  102. # 5: tcp
  103. querymode="1"
  104. querytype=""
  105. ## Console type
  106. consoleverbose="yes"
  107. consoleinteract="no"
  108. ## Game Server Details
  109. # Do not edit
  110. gamename="Unreal Tournament"
  111. engine="unreal4"
  112. glibc="2.17"
  113. #### Directories ####
  114. # Edit with care
  115. ## Game Server Directories
  116. systemdir="${serverfiles}/LinuxServer"
  117. executabledir="${systemdir}/Engine/Binaries/Linux"
  118. executable="./UE4Server-Linux-Shipping"
  119. servercfgdir="${systemdir}/UnrealTournament/Saved/Config/LinuxServer"
  120. servercfg="Game.ini"
  121. servercfgdefault="Game.ini"
  122. servercfgfullpath="${servercfgdir}/${servercfg}"
  123. ## Backup Directory
  124. backupdir="${lgsmdir}/backup"
  125. ## Logging Directories
  126. [ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
  127. gamelogdir="${serverfiles}/Logs"
  128. lgsmlogdir="${logdir}/script"
  129. consolelogdir="${logdir}/console"
  130. lgsmlog="${lgsmlogdir}/${selfname}-script.log"
  131. consolelog="${consolelogdir}/${selfname}-console.log"
  132. alertlog="${lgsmlogdir}/${selfname}-alert.log"
  133. postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
  134. ## Logs Naming
  135. lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
  136. consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
  137. ## Log Parameters
  138. logtimestamp="off"
  139. logtimestampformat="%Y-%m-%d %H:%M:%S"