Spotify MC Controller
Control Spotify playback directly from your Paper/Spigot Minecraft server — including custom jukebox disc support.
OAuth Setup
Guided Spotify OAuth flow with an embedded HTTP callback server — no external redirect handler needed.
Playback Control
Play, pause, and search Spotify tracks with a single command from anywhere in the game.
Custom Discs
Insert a custom-named jukebox disc and the plugin uses its display name as a Spotify search query.
Token Refresh
Access tokens are stored in config.yml and refreshed automatically — no repeated logins.
Commands
Save your Spotify app credentials. Optionally override the default redirect URI.
Send a clickable authorization URL in chat. Click it, authorize the app, then return to the game.
Without a query: resume current playback. With a query: search for the first matching track and play it.
Pause the currently playing track on your linked Spotify account.
Manual fallback — paste the authorization code directly if the callback redirect fails.
Requirements
- Java 21
- Paper / Spigot 1.21.1
- Maven 3.9+ (to build from source)
- Spotify Developer app with Client ID & Client Secret
Installation
-
1
Open the Spotify Developer Dashboard, create an app, and add the redirect URI
http://127.0.0.1:8000/api/spotify/callback. -
2
Download the shaded
.jarfrom releases or build withmvn -DskipTests clean package. -
3
Place the jar in your server's
plugins/folder and start the server. -
4
Run /spotify setup <clientId> <clientSecret> then /spotify auth and click the link.
Build from Source
mvn -DskipTests clean package
Output JAR is written to target/
Custom Disc Behavior
/spotify commands still show responses.How it Works
http://127.0.0.1:8000/api/spotify/callback — no external infrastructure required.config.yml under the spotify key. Access tokens are refreshed automatically before expiry./spotify auth to reauthorize.Ready to bring Spotify into your server?