Guest User

Untitled

a guest
Aug 8th, 2024
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.71 KB | None | 0 0
  1. server: # REST and WS server
  2.   port: 2333
  3.   address: 0.0.0.0
  4.   http2:
  5.     enabled: false # 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.     clients:
  15.      - MUSIC
  16.       - WEB
  17.       - TVHTML5EMBEDDED
  18.       - IOS
  19.       - MEDIA_CONNECT
  20.       - ANDROID_TESTSUITE
  21.       - ANDROID_LITE
  22.     # You can configure individual clients with the following.
  23.     # Any options or clients left unspecified will use their default values,
  24.     # which enables everything for all clients.
  25.     WEB:
  26.       playback: true
  27.       videoLoading: true
  28.     TVHTML5EMBEDDED:
  29.       playlistLoading: true
  30.       videoLoading: true
  31.       searching: true
  32.   lavasrc:
  33.     sources:
  34.       spotify: true
  35.     spotify:
  36.       clientId: ""
  37.       clientSecret: ""
  38.       countryCode: "US"
  39.       playlistLoadLimit: 6
  40.       albumLoadLimit: 6
  41. lavalink:
  42.   plugins:
  43.     - dependency: "dev.lavalink.youtube:youtube-plugin:1.5.2"
  44.       snapshot: false
  45.     - dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.2.0"
  46.       snapshot: false
  47. #    - dependency: "com.github.example:example-plugin:1.0.0" # required, the coordinates of your plugin
  48. #      repository: "https://maven.example.com/releases" # optional, defaults to the Lavalink releases repository by default
  49. #      snapshot: false # optional, defaults to false, used to tell Lavalink to use the snapshot repository instead of the release repository
  50. #  pluginsDir: "./plugins" # optional, defaults to "./plugins"
  51. #  defaultPluginRepository: "https://maven.lavalink.dev/releases" # optional, defaults to the Lavalink release repository
  52. #  defaultPluginSnapshotRepository: "https://maven.lavalink.dev/snapshots" # optional, defaults to the Lavalink snapshot repository
  53.   server:
  54.     password: "skirkymusicbot"
  55.     sources:
  56.      # The default Youtube source is now deprecated and won't receive further updates. Please use https://github.com/lavalink-devs/youtube-source#plugin instead.
  57.       youtube: false
  58.       bandcamp: false
  59.       soundcloud: true
  60.       twitch: false
  61.       vimeo: false
  62.       nico: false
  63.       http: false # warning: keeping HTTP enabled without a proxy configured could expose your server's IP address.
  64.       local: false
  65.     filters: # All filters are enabled by default
  66.       volume: true
  67.       equalizer: true
  68.       karaoke: true
  69.       timescale: true
  70.       tremolo: true
  71.       vibrato: true
  72.       distortion: true
  73.       rotation: true
  74.       channelMix: true
  75.       lowPass: true
  76.     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.
  77.     frameBufferDurationMs: 5000 # How many milliseconds of audio to keep buffered
  78.     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.
  79.     resamplingQuality: LOW # Quality of resampling operations. Valid values are LOW, MEDIUM and HIGH, where HIGH uses the most CPU.
  80.     trackStuckThresholdMs: 10000 # The threshold for how long a track can be stuck. A track is stuck if does not return any audio data.
  81.     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.
  82.     youtubePlaylistLoadLimit: 6 # Number of pages at 100 each
  83.     playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
  84.     youtubeSearchEnabled: true
  85.     soundcloudSearchEnabled: true
  86.     gc-warnings: true
  87.     #ratelimit:
  88.       #ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks
  89.       #excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink
  90.       #strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
  91.       #searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
  92.       #retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
  93.     #youtubeConfig: # Required for avoiding all age restrictions by YouTube, some restricted videos still can be played without.
  94.       #email: "" # Email of Google account
  95.       #password: "" # Password of Google account
  96.     #httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked
  97.       #proxyHost: "localhost" # Hostname of the proxy, (ip or domain)
  98.       #proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy
  99.       #proxyUser: "" # Optional user for basic authentication fields, leave blank if you don't use basic auth
  100.       #proxyPassword: "" # Password for basic authentication
  101.  
  102. metrics:
  103.   prometheus:
  104.     enabled: false
  105.     endpoint: /metrics
  106.  
  107. sentry:
  108.   dsn: ""
  109.   environment: ""
  110. #  tags:
  111. #    some_key: some_value
  112. #    another_key: another_value
  113.  
  114. logging:
  115.   file:
  116.     path: ./logs/
  117.  
  118.   level:
  119.     root: INFO
  120.     lavalink: INFO
  121.  
  122.   request:
  123.     enabled: true
  124.     includeClientInfo: true
  125.     includeHeaders: false
  126.     includeQueryString: true
  127.     includePayload: true
  128.     maxPayloadLength: 10000
  129.  
  130.  
  131.   logback:
  132.     rollingpolicy:
  133.       max-file-size: 1GB
  134.       max-history: 30
Advertisement
Add Comment
Please, Sign In to add comment