Adding support for the following sources:
speak:
)phsearch:
)Lavalink Version | Plugin Version |
---|---|
3.x.x | 1.4.x OR 1.5.x * |
4.x.x | 1.4.x, 1.5.x OR 1.6.x |
* Version 1.5.x will only work on Lavalink v3 if you are running java 17 or newer
Notation | Latest Version |
---|---|
1.4.x | 1.4.2 |
1.5.x | 1.5.1 |
Currently not supported
If you need to add the source managers to your lavalink instance as well you can use this library to add them: https://github.com/DuncteBot/skybot-source-managers
Latest version:
Add the following to your lavalink configuration, make sure to replace VERSION
with the latest version listed above (do not include the v
).
lavalink:
plugins:
- dependency: "com.dunctebot:skybot-lavalink-plugin:VERSION"
repository : "https://maven.lavalink.dev/releases" # (optional on lavalink 4)
snapshot: false # (optional, tells lavalink to use the default snaptshot repository instead)
Alternatively you can download the jar from the release on github and place that in your plugins folder
The plugin exposes these configuration options
NOTE: this plugins block is a root level object, don't place it where you import the plugin
plugins:
dunctebot:
ttsLanguage: "en-AU" # language of the TTS engine
sources:
# true = source enabled, false = source disabled
getyarn: true # www.getyarn.io
clypit: true # www.clyp.it
tts: true # speak:Words to speak
pornhub: true # should be self-explanatory
reddit: true # should be self-explanatory
ocremix: true # www.ocremix.org
tiktok: true # tiktok.com
mixcloud: true # mixcloud.com
soundgasm: true # soundgasm.net
pixeldrain: true # pixeldrain.com
You can start the test server by running ./gradlew runLavalink