40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
# Lavalink v4 server config. Keep the password in sync with LAVALINK_PASSWORD
|
|
# in the bot's environment (.env).
|
|
server:
|
|
port: 2333
|
|
address: 0.0.0.0
|
|
|
|
lavalink:
|
|
plugins:
|
|
# YouTube support was removed from Lavalink core in v4 and now lives in a
|
|
# plugin. Bump the version if playback breaks (YouTube changes often).
|
|
- dependency: "dev.lavalink.youtube:youtube-plugin:1.18.1"
|
|
snapshot: false
|
|
server:
|
|
# Sourced from the LAVALINK_SERVER_PASSWORD env var (set by docker-compose
|
|
# from LAVALINK_PASSWORD in .env). Required — the server won't start without it.
|
|
password: "${LAVALINK_SERVER_PASSWORD}"
|
|
sources:
|
|
youtube: false # handled by the plugin below, not the core source
|
|
bandcamp: true
|
|
soundcloud: true
|
|
twitch: true
|
|
vimeo: true
|
|
http: true # direct media URLs (mp3/mp4/stream links)
|
|
local: false
|
|
|
|
plugins:
|
|
youtube:
|
|
enabled: true
|
|
allowSearch: true # enables the "ytsearch:" queries the bot falls back to
|
|
clients:
|
|
- MUSIC
|
|
- WEB
|
|
- WEBEMBEDDED
|
|
- ANDROID_VR
|
|
|
|
logging:
|
|
level:
|
|
root: INFO
|
|
lavalink: INFO
|