YT Chat to Minecraft
一款基本简单易用的模组,允许你将任何 YouTube 聊天室内容显示在你的 Minecraft 游戏内聊天中。
使用方法
这是一个 Fabric 模组,因此你需要先安装 Fabric。安装完成后,请将模组文件放入你的 mods 文件夹中。
接下来这部分可能有点复杂
视频教程即将发布
重要提示:此功能仅适用于基于 Chromium 内核的浏览器(原因不明)。 建议你在执行以下步骤时保持 Minecraft 处于打开状态,以确保一切正常运行。
首先,打开你的直播聊天窗口,并将其弹出。具体操作是:进入直播间,点击聊天框右上角的三个垂直点,然后点击带有箭头的方框图标。弹出后,你需要打开开发者工具(Dev Tools)。你可以通过按下 Ctrl + Shift + I 来实现。当开发者工具打开后,找到并点击其中的“Console”(控制台)选项卡。接下来的部分需要将代码复制并粘贴到开发者工具的控制台中,因此你需要通过在控制台中输入 'allow pasting' 来允许粘贴。
现在,你只需将这段代码复制并粘贴到你的控制台中,然后检查 Minecraft 是否收到了“Connection Started”(连接已启动)的消息。如果收到了,说明设置成功!只需确保浏览器保持打开即可。
如果你认为自己在上述步骤中出了错,只需刷新浏览器窗口即可重试。
为什么?
获取 YouTube 直播聊天的常规且官方推荐的方法并不理想,你会遇到从聊天中获取消息数量的限制。官方推荐的解决方案是付费购买更多的 API 请求额度。但这对于只是出于娱乐目的进行直播的小型主播来说并不划算,因此这是一种替代官方方法的变通方案,旨在帮助有此需求的小型创作者。
YT Chat to Minecraft
A mostly simple to use mod that allows you to put any YouTube chat into your in-game Minecraft chat.
How to use
This is a Fabric mod, so you'll need Fabric installed first. Once you have it installed you'll need to place the mod in your mod folder.
This is where it gets kinda hard
A video tutorial on this will be released soon
IMPORTANT: THIS ONLY WORKS ON CHROMIUM BASED BROWSERS (idk why). I also suggest you to have Minecraft open for these steps to make sure that everything is working.
Firstly, open your live stream chat, and pop it out. To do this, open your live stream and click the 3 vertical dots on the chat frame and click the box with the arrow on it. Once it's popped out, you then need to open Dev Tools. You can do this by pressing Ctrl + Shift + I. When Dev Tools open, look for the "Console" tab on there and click it. For this next part you'll need to copy and paste code into the Dev Tools console, so you'll need to allow pasting by typing 'allow pasting' into the console.
Now all you gotta do to copy and paste this code into your console, and check Minecraft to see if you got the "Connection Started" message. If you do, you are ready! Just make sure to keep the browser open.
If you think you messed up any of the steps above, you can just reload the browser window to try again.
Why?
The normal and intended method of getting a live YouTube Chat isn't the best, and you'll hit a limit in the amount of messages you can fetch from your chat. The intended way to fix this is to pay for more API requests. But that isn't ideal for small streamers that do this for fun, so this is a workaround the intended method to help smaller creators that want this.
评论 0
登录后参与评分
还没有评论,来抢沙发吧