What Are They Listening To (WATLT)
你是否曾想过与朋友一起玩游戏,并向他们展示你正在听什么音乐?通过这个模组即可实现!
你可以透过 Tab 菜单查看其他玩家当前正在通过 Last.fm 播放的音乐!

如果某人没有 Last.fm 账户(或者他们单纯不想展示自己的音乐),他们可以禁用追踪功能。

正如你已经注意到的,它甚至支持专辑封面,但 Last.fm 上并非所有歌曲都有专辑封面……不过,你可以自行添加并为 Last.fm 做出贡献(抱歉,我不会教你怎么做)。
使用方法
此模组使用 Last.fm 来获取当前播放的歌曲,因此请打开你最喜欢的音乐流媒体应用,并将其与任意一个 Last.fm scrobbler(自动记录器)配对即可开始!
你还需要一个 Last.FM API 密钥才能与 API 进行通信(这显而易见)。别担心,你可以在此处轻松获取: (顺便提一下,你不需要填写回调 URL,保持为空即可)。
现在,既然你已经有了 API 密钥并准备好了服务器,只需在服务器上加载此模组,然后在配置文件 (.minecraft/config/watlt-common.toml) 中填入 API 密钥并重启服务器,你就可以开始使用该模组了!
当启用此模组的玩家首次加入时,系统会提示其输入 Last.fm 用户名(非链接),或选择禁用追踪。

之后,一切设置完毕,无需再进行任何操作!很简单,对吧?
命令
有几个命令,但它们都非常简单

- /lastfm set <username> - 更改你的 Last.fm 用户名,或者如果你曾在登录时拒绝追踪,则用于设置用户名
- /lastfm deny - 禁用追踪
- /lastfm status - 调试用途,仅用于调试
我想就是这样了,祝玩得开心!
剧透
是的,该名称灵感来源于模组 What Are They Up To (WATUT)
What Are They Listening To (WATLT)
Have you ever wanted to play with your friends, and show them what are you listening to? It is possible with this mod!
You can see what other players listening to right now through Last.fm in Tab menu!

Or if someone doesn't have a Last.fm account (or they simply don't want to show their music), they can disable tracking.

As you already noticed, it even supports album covers, but not all songs on Last.fm have album covers... Though, you can add them yourself and contribute to Last.fm (I will not teach you how to do it sorry)
Usage
This mod uses Last.fm to fetch current song, so take your favorite music streaming app and pair it with any Last.fm scrobbler to start!
You will also need a Last.FM API key to communicate with API (which is obvious). Don't worry, you can get it easily here: (you don't need to fill callback URL btw, keep it empty)
So, now that you have an API key and server ready to start, simply start it with this mod, then fill API key in config file (.minecraft/config/watlt-common.toml) and restart server, you are now ready to use mod!
When player first join with this mod enabled, they will be prompted to enter their Last.fm username (NOT link), or deny tracking.

After that, they all set up and no more work needed! Easy, right?
Commands
There are several commands, but they are really simple

- /lastfm set <username> - change your Last.fm username, or set it up, if you denied tracking on login
- /lastfm deny - deny tracking
- /lastfm status - debug, just debug
I guess that's all, have fun!
Spoiler
and yes name inspired by mod What Are They Up To (WATUT)
评论 0
登录后参与评分
还没有评论,来抢沙发吧