? Minecraft 1.21+ Spotify Controls Mod
通过简单的命令直接在 Minecraft 中控制你的 Spotify 播放!
✨ 功能特性
注意:
你需要在 注册。此外,此模组需要 Spotify Premium 账号才能使用播放控制功能,因为 Spotify Web API 仅允许对 Premium 账号进行播放控制。
你仍然可以在没有 Premium 的情况下使用此模组来:
- 查看当前正在播放的歌曲
- 在 XP 进度条中查看音乐进度
? 依赖要求
- Minecraft 1.21+
- Fabric Loader 0.16.5+
- Fabric API 0.100.8+
- Java 21+
- Spotify Premium 账号(用于播放控制 API)
⌨️ 命令说明
点击展开
? 认证
- /spotify login - 打开浏览器以登录 Spotify
- /spotify logout - 登出并清除令牌
- /spotify status - 检查连接状态
▶️ 播放控制
- /spotify resume - 恢复播放
- /spotify pause - 暂停播放
- /spotify skip - 切换到下一曲
- /spotify previous - 切换到上一曲
- /spotify current - 显示当前正在播放的歌曲
- /spotify play <song> - 搜索并播放歌曲
⚙️ 设置
- /spotify volume <0-100> - 设置音量(例如:/spotify volume 50)
- /spotify loop <track|context|off> - 设置重复模式
? 循环模式:
- /spotify loop track – 单曲循环
- /spotify loop context – 列表/专辑循环
- /spotify loop off – 不循环
▶️ 使用示例
- 首次设置 -> /spotify login
- 浏览器将打开(或在聊天栏中显示链接),请登录 Spotify
?️ 故障排除
点击展开
运行 /spotify login 并完成认证
确保至少在某个设备上打开了 Spotify
确认你拥有 Spotify Premium 账号
运行 /spotify status 检查连接状态
确保 Spotify 正在主动播放音乐
确认模组已加载(/spotify status)
令牌会自动刷新
如果需要,请运行:
/spotify logout
/spotify login
手动在聊天或日志中显示的 URL 处打开
? 隐私与安全
- 令牌存储在 Minecraft 配置文件夹中,除发送至 Spotify 官方 API 外,不会向任何地方发送数据。
- 你可以随时使用以下命令移除令牌:-> /spotify logout
? Spotify Controls Mod for Minecraft 1.21+
Control your Spotify playback directly from Minecraft using simple commands!
✨ Features
-
? Full Playback Control – Play, pause, skip, previous track
-
? Volume Control – Set volume from 0–100%
-
? Loop Modes – Track, context, or off
-
? Now Playing Toasts – Automatic notifications when songs change
-
? Music Progress Bar – XP bar syncs with the music progress
-
? Secure Authentication – OAuth2 login flow
-
? Persistent Storage – Tokens saved locally
Note:-
You need to be registered at Also,this mod requires Spotify Premium for playback controls because the Spotify Web API only allows controlling playback for Premium accounts.
You can still use this mod without Premium to:
- View the currently playing track
- See the music progress bar in the XP bar
? Requirements
- Minecraft 1.21+
- Fabric Loader 0.16.5+
- Fabric API 0.100.8+
- Java 21+
- Spotify Premium account (required for playback control API)
⌨️ Commands
Click to expand
? Authentication
- /spotify login - Opens browser for Spotify login
- /spotify logout - Logs out and clears tokens
- /spotify status - Check connection status
▶️ Playback Control
- /spotify resume - Resume playback
- /spotify pause - Pause playback
- /spotify skip - Skip to next track
- /spotify previous - Go to previous track
- /spotify current - Show currently playing track
- /spotify play <song> - Search and play a song
⚙️ Settings
- /spotify volume <0-100> - Set volume (e.g., /spotify volume 50)
- /spotify loop <track|context|off> - Set repeat mode
? Loop modes:
- /spotify loop track – Repeat current track
- /spotify loop context – Repeat playlist / album
- /spotify loop off – No repeat
▶️ Usage Example
- First-time setup -> /spotify login
- Your browser will open (or a link will appear in chat), log in to Spotify
?️ Troubleshooting
Click to expand
Run /spotify login and complete authentication
- ❌ "Failed to play / pause"
Make sure Spotify is open on at least one device
Verify you have Spotify Premium
Run /spotify status to check connection
- ? Toast notifications not appearing
Ensure Spotify is actively playing music
Confirm the mod is loaded (/spotify status)
Tokens refresh automatically
If needed, run:
/spotify logout
/spotify login
Manually open the URL shown in chat or logs
? Privacy & Security
- Tokens are stored locally in your Minecraft config folder, no data is sent anywhere except Spotify’s official API.
- Tokens can be removed anytime using -> /spotify logout
评论 0
登录后参与评分
还没有评论,来抢沙发吧