A simple Lavalink plugin that enables playback of SoundCloud Go+ tracks by adding an OAuth token to the requests
- A working Lavalink instance
- A SoundCloud Go+ account
- Go to the SoundCloud website
- Login with your SoundCloud Go+ account
- Inspect the website and go to the Application tab
- In there search the Cookies tab for the oauth_token field
- That's your token you're gonna use
- Configure Lavalink: Add the necessary configuration to your
application.ymlfile like this for example:
lavalink:
plugins:
- dependency: "com.github.dubistmutig:discovery-go:0.1.0"
repository: "https://jitpack.io"- After that see Configuration
- Download the Plugin: Grab the latest
discovery-go-plugin-0.1.0.jarfile from the releases page - Place the Plugin: Move the downloaded
discovery-go-plugin-0.1.0.jarfile into your Lavalinkpluginsdirectory. If the directory doesn't exist, create it in the same folder where yourLavalink.jaris located - Configure Lavalink: After that see Configuration
After you have installed everything you need to add the SoundCloud Token to your application.yml file
Open your application.yml and add the following section:
plugins:
discovery:
soundcloudToken: "YOUR_SOUNDCLOUD_OAUTH_TOKEN"And Replace "YOUR_SOUNDCLOUD_OAUTH_TOKEN" with your SoundCloud token you got from Accquire Soundcloud OAuth Token
If you're using the LavaSrc plugin, turn off the soundcloud source like this for example:
lavalink:
server:
sources:
soundcloud: falseThis plugin is provided as-is. I am not liable for any issues that may arise from its use, including but not limited to account restrictions imposed by SoundCloud. Please be aware that using your OAuth token in this manner may be against SoundCloud's Terms of Service. Use this plugin at your own risk.
This README was created with a little help from AI, so please spare me if it’s not perfect!