ayablyat

application yml

Mar 14th, 2025
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. server: # REST and WS server
  2. port: 2333
  3. address: 0.0.0.0
  4. http2:
  5. enabled: true # Whether to enable HTTP/2 support
  6. plugins:
  7. youtube:
  8. enabled: true # Whether this source can be used.
  9. allowSearch: true # Whether "ytsearch:" and "ytmsearch:" can be used.
  10. allowDirectVideoIds: true # Whether just video IDs can match. If false, only complete URLs will be loaded.
  11. allowDirectPlaylistIds: true # Whether just playlist IDs can match. If false, only complete URLs will be loaded.
  12. # The clients to use for track loading. See below for a list of valid clients.
  13. # Clients are queried in the order they are given (so the first client is queried first and so on...)
  14. oauth:
  15. enabled: true
  16. refreshToken: "[CENSORED]"
  17. #skipInitialization: true
  18. pot:
  19. token: "[CENSORED]"
  20. visitorData: "[CENSORED]"
  21. clients:
  22. - WEB
  23. - MUSIC
  24. - IOS
  25. - MWEB
  26. - WEBEMBEDDED
  27. - ANDROID
  28. - ANDROID_MUSIC
  29. - ANDROID_VR
  30. - TV
  31. - TVHTML5EMBEDDED
  32. clientOptions:
  33. MUSIC:
  34. playback: false
  35. playlistLoading: false
  36. searching: true
  37. videoLoading: false
  38. WEB:
  39. playback: true
  40. playlistLoading: true
  41. searching: true
  42. videoLoading: true
  43. MWEB:
  44. playback: true
  45. playlistLoading: true
  46. searching: true
  47. videoLoading: true
  48. WEBEMBEDDED:
  49. playback: true
  50. playlistLoading: false
  51. searching: false
  52. videoLoading: true
  53. ANDROID:
  54. playback: true
  55. playlistLoading: true
  56. searching: true
  57. videoLoading: true
  58. ANDROID_MUSIC:
  59. playback: true
  60. playlistLoading: false
  61. searching: true
  62. videoLoading: true
  63. ANDROID_VR:
  64. playback: true
  65. playlistLoading: true
  66. searching: true
  67. videoLoading: true
  68. IOS:
  69. playback: true
  70. playlistLoading: true
  71. searching: true
  72. videoLoading: true
  73. TV:
  74. playback: true
  75. playlistLoading: false
  76. searching: false
  77. videoLoading: false
  78. TVHTML5EMBEDDED:
  79. playback: true
  80. playlistLoading: false
  81. searching: true
  82. videoLoading: true
  83. lavasrc:
  84. providers:
  85. - "ytmsearch:\"%ISRC%\""
  86. - "ytmsearch:%QUERY%"
  87. - "ytsearch:\"%ISRC%\""
  88. - "ytsearch:%QUERY%"
  89. - "spsearch:%QUERY%"
  90. - "sprec:%QUERY%"
  91. - "dzsearch:%QUERY%"
  92. - "dzrec:%QUERY%"
  93. - "dzisrc:%ISRC%"
  94. sources:
  95. spotify: true
  96. deezer: true
  97. youtube: true
  98. spotify:
  99. clientId: "[CENSORED]"
  100. clientSecret: "[CENSORED]"
  101. spDc: "[CENSORED]"
  102. countryCode: "US"
  103. playlistLoadLimit: 6
  104. albumLoadLimit: 6
  105. deezer:
  106. masterDecryptionKey: "[CENSORED]"
  107. arl: "[CENSORED]"
  108. formats: [ "FLAC", MP3_320", "MP3_256", "MP3_128", "MP3_64", "AAC_64"]
  109. lavalink:
  110. plugins:
  111. - dependency: "dev.lavalink.youtube:youtube-plugin:1.11.5"
  112. snapshot: false
  113. - dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.4.2"
  114. snapshot: false
  115. - dependency: "com.github.topi314.lavasearch:lavasearch-plugin:1.0.0"
  116. snapshot: false
  117. # - dependency: "com.github.example:example-plugin:1.0.0" # required, the coordinates of your plugin
  118. # repository: "https://maven.example.com/releases" # optional, defaults to the Lavalink releases repository by default
  119. # snapshot: false # optional, defaults to false, used to tell Lavalink to use the snapshot repository instead of the release repository
  120. # pluginsDir: "./plugins" # optional, defaults to "./plugins"
  121. # defaultPluginRepository: "https://maven.lavalink.dev/releases" # optional, defaults to the Lavalink release repository
  122. # defaultPluginSnapshotRepository: "https://maven.lavalink.dev/snapshots" # optional, defaults to the Lavalink snapshot repository
  123. server:
  124. password: "why are u looking here"
  125. sources:
  126. # The default Youtube source is now deprecated and won't receive further updates. Please use https://github.com/lavalink-devs/youtube-source#plugin instead.
  127. youtube: false
  128. bandcamp: true
  129. soundcloud: true
  130. twitch: true
  131. vimeo: true
  132. nico: false
  133. http: false
  134. local: false
  135. filters: # All filters are enabled by default
  136. volume: true
  137. equalizer: true
  138. karaoke: true
  139. timescale: true
  140. tremolo: true
  141. vibrato: true
  142. distortion: true
  143. rotation: true
  144. channelMix: true
  145. lowPass: true
  146. bufferDurationMs: 400 # The duration of the NAS buffer. Higher values fare better against longer GC pauses. Duration <= 0 to disable JDA-NAS. Minimum of 40ms, lower values may introduce pauses.
  147. frameBufferDurationMs: 5000 # How many milliseconds of audio to keep buffered
  148. opusEncodingQuality: 10 # Opus encoder quality. Valid values range from 0 to 10, where 10 is best quality but is the most expensive on the CPU.
  149. resamplingQuality: HIGH # Quality of resampling operations. Valid values are LOW, MEDIUM and HIGH, where HIGH uses the most CPU.
  150. trackStuckThresholdMs: 10000 # The threshold for how long a track can be stuck. A track is stuck if does not return any audio data.
  151. useSeekGhosting: true # Seek ghosting is the effect where whilst a seek is in progress, the audio buffer is read from until empty, or until seek is ready.
  152. youtubePlaylistLoadLimit: 6 # Number of pages at 100 each
  153. playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
  154. youtubeSearchEnabled: true
  155. soundcloudSearchEnabled: true
  156. gc-warnings: true
  157. #ratelimit:
  158. #ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks
  159. #excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink
  160. #strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
  161. #searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
  162. #retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
  163. #youtubeConfig: # Required for avoiding all age restrictions by YouTube, some restricted videos still can be played without.
  164. #email: "" # Email of Google account
  165. #password: "" # Password of Google account
  166. #httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked
  167. #proxyHost: "" # Hostname of the proxy, (ip or domain)
  168. #proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy
  169. #proxyUser: "" # Optional user for basic authentication fields, leave blank if you don't use basic auth
  170. #proxyPassword: "" # Password for basic authentication
  171.  
  172. metrics:
  173. prometheus:
  174. enabled: false
  175. endpoint: /metrics
  176. sentry:
  177. dsn: ""
  178. environment: ""
  179. # tags:
  180. # some_key: some_value
  181. # another_key: another_value
  182.  
  183. logging:
  184. file:
  185. path: ./logs/
  186. level:
  187. root: INFO
  188. lavalink: INFO
  189. dev.lavalink.youtube.http.YoutubeOauth2Handler: INFO
  190. com.sedmelluq.discord.lavaplayer.tools.ExceptionTools: DEBUG
  191. request:
  192. enabled: true
  193. includeClientInfo: true
  194. includeHeaders: false
  195. includeQueryString: true
  196. includePayload: true
  197. maxPayloadLength: 10000
  198. logback:
  199. rollingpolicy:
  200. max-file-size: 1GB
  201. max-history: 30
  202.  
Advertisement
Add Comment
Please, Sign In to add comment