This repository has been archived by the owner on Jul 23, 2020. It is now read-only.
Version v1.3 -- See Change Notes
Change Notes
- Added callbacks to the
EventWaiter
so you can follow up avoiceUpdate
connection attempt to a node in the right order. To see the callback use thegetCallback
method in the same interface. Specifying a callback is done through overloads of the staticfrom
method which is also in the same interface. - Added the ability to shutdown the
LavaClient
instance, which destroys all players, removes all nodes and makes that client essentially resemble a new instance. Remember to create a new LavaClient instance separate from the old one if you create it again! - Added the ability to shutdown the
LavaHttpManager
, which is also called byLavaClient
upon a client shutdown. - Bumped versions of dependencies
- Deprecated the
setWsPort
method (usesetWebSocketPort
instead). This method will be removed completely in LavaClient v2, and was done to maintain consistency with the other builders.
Adding LavaClient
As always, binaries are attached but you can always add this repository through JitPack using any good build tool. Here's how you do it in Gradle:
repositories {
jcenter()
maven {url 'https://jitpack.io'}
}
dependencies {
compile 'com.github.SamOphis:LavaClient:v1.3'
}