How to Setup Lavalink
Lavalink is a standalone audio sending node. It's required to use FlawBOT's music commands. The latest version of Lavalink is included with FlawBOT, however it still needs to be configured and enabled.
- Open application.yml and change
address
to the IP of a machine you'll be running Lavalink from.
server: # REST and WS server
port: 2333
address: 192.168.2.38
- Open config.json and change
Address
to match the address set in Step 1. SetEnabled
to true.
"Lavalink": {
"Enabled": true,
"Address": "192.168.2.38",
"Port": 2333,
"Password": "youshallnotpass"
}
- Open the command prompt and start Lavalink by entering:
java -jar Lavalink.jar
note
In case of errors, install the latest Java Development Kit.