跳到正文

Spotifier

作者:ngspace

An addon for Hudder that implements Spotify support

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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

  1. Go to https://developer.spotify.com/dashboard
  2. Press “Create App”
  3. Set the “Redirect URI” to http://127.0.0.1:8888/callback
  4. Give it a name and description of your choosing (It won’t affect spotifier)
  5. Press “Save”
  6. Copy “Client ID”
  7. Go into Spotifier’s in game settings
  8. Go into “Spotify Auth”
  9. Paste your app’s Client ID into the Client ID setting
  10. 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)
  11. Press “Agree”
  12. 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)

常见问题

Spotifier 支持哪些 Minecraft 版本?

Spotifier 支持 Minecraft Java 版 1.21.9–26.3,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Spotifier 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

ngspace 的其他作品

查看全部 →