#where to set the hostname?

1 messages ยท Page 1 of 1 (latest)

grim halo
#

wdym by hostname?

sharp quest
#

?

#

I don't understand

grim halo
#

what do you mean by hostname?

sharp quest
grim halo
#

since that is not from lavalink but your lavalink client, not maintained by us
I would assume this is either the public/local ip or the domain your lavalink server is reachable with

sharp quest
#

yes

#

I don't understand where to set the host values
in application.yml

#

.

grim halo
#

you can set the interface lavalink binds to by setting server.address

#

0.0.0.0 meaning all interfaces

sharp quest
#

So I need to change it?

grim halo
#

depends on which interfaces you want lavalink to be accessible with

sharp quest
#

with discord bot

grim halo
#

that's not very specific

#

same host/server?

sharp quest
#

yes

grim halo
#

then 127.0.0.1 will bne the best

#

like that no other people can spam your lavalink with useless requests

sharp quest
#

thanks for your help

#

good job

sharp quest
#

which port to choose for lavalink?

grim halo
#

whatever u feel like

#

lavalinks "default" port is 2333

sharp quest
#

๐Ÿ‘

#

question: to add 2 plugins you need to "dependency" 2 links separated by commas ?

grim halo
#

plugins is a yaml list

#

so no, you need multiple - dependency: ... entries

sharp quest
#

right? - dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.2.0, com.github.topi314.lavasearch:lavasearch-plugin:1.0.0"

grim halo
#

Multiple dependency

#

Not one

#

Still

sharp quest
#

right?
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.2.0"
- dependency: "com.github.topi314.lavasearch:lavasearch-plugin:1.0.0"

grim halo
#

Yes

sharp quest
#

๐Ÿ‘