Compatibility
Minecraft: Java Edition
1.21.9–1.21.11
Platforms
Supported environments
Creators
Details
Licensed MPL-2.0
Published last month
Updated last week
Spotifier, add spotify information to your Hudder hud!
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)



