Update application.yml

This commit is contained in:
Parker M. 2024-12-03 00:30:05 -06:00
parent 7eb7f76bb8
commit da95becba7
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E
2 changed files with 40 additions and 40 deletions

View File

@ -86,7 +86,7 @@ For instructions on setting up a Lavalink node on bare metal, look [here](https:
After setting up your Lavalink node, it is highly recommended to configure IPv6 rotation with at least a /64 or /48 block. IPv6 rotation helps to relieve issues from getting rate limited/blocked from YouTube and other sources. There are helpful guides for setting this up which are available on GitHub, however, [this](https://github.com/Nansess/tunnelbroker-guide) is the one that I have used .
An example of my personal `application.yml` configuration file can be found [here](https://github.com/PacketParker/Guava/blob/main/application.yml.example).
An example of my personal `application.yml` configuration file can be found [here](application.yml).
<br>

View File

@ -1,13 +1,27 @@
server:
port: 2333
address: 127.0.0.1
address: localhost
http2:
enabled: false
plugins:
# (https://github.com/topi314/LavaSrc)
youtube:
enabled: true
allowSearch: true
allowDirectVideoIds: true
allowDirectPlaylistIds: true
clients:
- MUSIC
- ANDROID_VR
- WEB
- WEBEMBEDDED
pot:
token: "" # Your token data here
visitorData: "" # Your visitor data here
lavasrc:
providers:
- "scsearch:\"%ISRC%\""
- "scsearch:%QUERY%"
- "dzisrc:\"%ISRC%\""
- "dzsearch:%QUERY%"
sources:
@ -15,34 +29,20 @@ plugins:
applemusic: false
deezer: true
yandexmusic: false
flowerytts: false
flowerytts: falsee
youtube: false
deezer:
masterDecryptionKey: "" (this is not provided, you must obtain this yourself)
youtube:
enabled: true
allowSearch: true
allowDirectVideoIds: true
allowDirectPlaylistIds: true
clients:
- WEB
- ANDROID_VR
- WEBEMBEDDED
- MUSIC
- ANDROID_TESTSUITE
- ANDROID_MUSIC
masterDecryptionKey: "" # the master key used for decrypting the deezer tracks. (yes this is not here you need to get it from somewhere else)
lavalink:
plugins:
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
repository: "https://maven.lavalink.dev/releases"
snapshot: false
- dependency: "dev.lavalink.youtube:youtube-plugin:1.8.3"
snapshot: false # Set to true if you want to use a snapshot version.
snapshot: false
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
snapshot: false
server:
password: ""
password: "youshallnotpass"
sources:
youtube: false
bandcamp: true
@ -52,16 +52,16 @@ lavalink:
http: true
local: false
filters:
volume: true
equalizer: true
karaoke: true
timescale: true
tremolo: true
vibrato: true
distortion: true
rotation: true
channelMix: true
lowPass: true
volume: false
equalizer: false
karaoke: false
timescale: false
tremolo: false
vibrato: false
distortion: false
rotation: false
channelMix: false
lowPass: false
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.
frameBufferDurationMs: 8000 # How many milliseconds of audio to keep buffered
@ -74,12 +74,12 @@ lavalink:
youtubeSearchEnabled: true
soundcloudSearchEnabled: true
gc-warnings: true
ratelimit:
ipBlocks: [""] # list of ip blocks
excludedIps: [] # ips which should be explicit excluded from usage by lavalink
strategy: "LoadBalance" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
# retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
#ratelimit:
# ipBlocks: [""] # list of ip blocks
# excludedIps: [] # ips which should be explicit excluded from usage by lavalink
# strategy: "LoadBalance" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
# searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
# retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
#httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked
#proxyHost: "localhost" # Hostname of the proxy, (ip or domain)
#proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy
@ -117,4 +117,4 @@ logging:
logback:
rollingpolicy:
max-file-size: 1GB
max-history: 30
max-history: 30