Compatibility
Minecraft: Java Edition
26.2-snapshot-8
26.1.x
1.21.9–1.21.11
Platforms
Supported environments
Client-side
Tags
Creators
Details
Licensed MPL-2.0
Published 6 months ago
Spotifier, add spotify information to your Hudder hud!
As of the 11th of February 2026 Spotify now requires a Spotify Premium subscription to create Spotify apps (And by extension use Spotifier)
Why not host a Spotify app on my server instead of having users set up their own? Well, Spotify made it so only existing buisnesses with a large userbase can get apps out of the very limited "Development mode" (Limited to 5 users which just won't do for Spotifier)
Big tech really is addicted to ruining small projects. I wish I could do something for those who don't have Premium but Spotify really did pull a checkmate.
Set up instructions
- Go to https://developer.spotify.com/dashboard
- Press "Create App"
- Set the "Redirect URI" to
http://127.0.0.1:8888/callback - Give it a name and description of your choosing (It won't affect spotifier)
- Press "Save"
- Copy "Client ID"
- Go into Spotifier's in game settings
- Go into "Spotify Auth"
- Paste your app's Client ID into the Client ID setting
- Once you save, a window shall open asking you to authenticate (If not then the URL will be printed in the game's log so you can enter it manually)
- Press "Agree"
- Use spotifier
Variables added by spotifier:
// Spotifier
{has_spotifier} - Will always return true
{spotifier_connected} - Is spotifier connected and authenticated to Spotify's servers.
{spotifier} - The spotifier object (Don't use it unless you know what you're doing)
// Booleans
{spotifier_paused} - Is the song paused.
{spotifier_shuffle} - Is the playlist shuffled.
// Strings
{spotifier_repeat} - The repeat status (off, track, context)
{spotifier_track} - The name of the track
{spotifier_album} - The name of the album
{spotifier_album_type} - The type of the album
{spotifier_playlist} - The name of the playlist
// Numbers
{spotifier_progress} - The progress of the song (in milliseconds)
{spotifier_duration} - The duration of the song (in milliseconds)
{spotifier_data_age} - How old is the data provided by spotifier (in milliseconds)
// Arrays
{spotifier_artists} - An array of the artists that are credited in the song (Strings)
{spotifier_queue} - An array of song elements (Contains properties track, artists, album, duration, album_type)


