Spotifier,为你的 Hudder HUD 添加 Spotify 信息!
自 2026 年 2 月 11 日起,Spotify 现在要求拥有 Spotify Premium 订阅才能创建 Spotify 应用(进而使用 Spotifier)
为什么不在我的服务器上托管 Spotify 应用,而是让用户自己设置呢?好吧,Spotify 规定只有拥有大量用户群的大型企业才能从极其有限的“开发模式”中获取应用权限(该模式仅限 5 名用户,这对于 Spotifier 来说根本不够用)
大型科技公司确实沉迷于毁掉小型项目。 我希望能对那些没有 Premium 订阅的用户做点什么,但 Spotify 这步棋确实走得像“将死”一样无解。
设置说明
- 访问
- 点击“Create App”(创建应用)
- 将“Redirect URI”(重定向 URI)设置为
http://127.0.0.1:8888/callback - 为你喜欢的名称和描述(这不会影响 spotifier)
- 点击“Save”(保存)
- 复制“Client ID”(客户端 ID)
- 进入 Spotifier 的游戏内设置
- 进入“Spotify Auth”(Spotify 身份验证)
- 将你的应用的 Client ID 粘贴到 Client ID 设置中
- 一旦保存,将会弹出一个窗口要求你进行身份验证(如果没有弹出,则 URL 会打印在游戏日志中,以便你手动输入)
- 点击“Agree”(同意)
- 使用 spotifier
Spotifier 添加的变量:
// Spotifier
{has_spotifier} - 始终返回 true
{spotifier_connected} - Spotifier 是否已连接并经过 Spotify 服务器的身份验证。
{spotifier} - Spotifier 对象(除非你知道自己在做什么,否则不要使用它)
// 布尔值
{spotifier_paused} - 歌曲是否处于暂停状态。
{spotifier_shuffle} - 播放列表是否处于随机播放状态。
// 字符串
{spotifier_repeat} - 重复状态(off, track, context)
{spotifier_track} - 歌曲名称
{spotifier_album} - 专辑名称
{spotifier_album_type} - 专辑类型
{spotifier_playlist} - 播放列表名称
// 数字
{spotifier_progress} - 歌曲进度(以毫秒为单位)
{spotifier_duration} - 歌曲时长(以毫秒为单位)
{spotifier_data_age} - Spotifier 提供的数据距今多久(以毫秒为单位)
// 数组
{spotifier_artists} - 歌曲 credited 的艺术家的数组(字符串)
{spotifier_queue} - 歌曲元素数组(包含属性 track, artists, album, duration, album_type)
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
- 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)
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
下载 Spotifier
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spotifier
更新至 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧