-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yml
More file actions
48 lines (41 loc) · 1.34 KB
/
application.yml
File metadata and controls
48 lines (41 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
server:
port: 2333
# These are Java Virtual Machine (JVM) arguments for performance tuning.
# G1GC is a modern garbage collector that reduces stutter and lag in audio.
# -Xmx1G sets the maximum memory Lavalink can use to 1 Gigabyte. Adjust if needed.
jvm-args: ["-XX:+UseG1GC", "-Xmx1G"]
lavalink:
server:
password: "youshallnotpass"
sources:
# We explicitly disable the old YouTube source to rely on the official plugin.
youtube: false
# As per the official documentation, we will use the stable, built-in SoundCloud source.
soundcloud: true
# --- Performance & Quality Tuning ---
# These values are standard for balancing quick loads with smooth playback.
bufferDurationMs: 400
playerUpdateInterval: 5
ratelimit:
ipBlocks: ["2001:4860:4860::/64"]
strategy: "RotateOnBan"
searchTriggersFail: true
# --- Plugin Configuration ---
# This section now ONLY loads the officially listed YouTube plugin.
plugins:
youtube:
enabled: true
allowSearch: true
allowDirectVideoIds: true
allowDirectPlaylistIds: true
playlistLoadLimit: 100
clients:
- MUSIC
- WEB
# --- Advanced Logging & Debugging ---
logging:
level:
root: INFO
lavalink.server.player: TRACE
dev.lavalink.youtube: TRACE
lavalink.server.io: TRACE