Simple Text Chat
一款简单的模组,允许你在游戏时通过语音识别将你的声音转化为聊天消息。
意图
“你可以在玩游戏的同时说话,但你不能一边玩一边打字。”
—— Yuang2714 在未安装 Simple Voice Chat 的 Minecraft 服务器上的发言
安装
首先安装该模组。在需要时,游戏启动时会显示一个设置菜单。 按照菜单中显示的说明完成设置。
手动安装步骤
你应该使用设置菜单。
仅在你有特殊原因时才在此处访问。
- 前往 Vosk 模型页面 并根据你的语言选择模型。
- 下载所选模型的
.zip压缩包。 - 将压缩包解压到某个位置。
- 进入游戏的配置文件夹,创建一个
simple_text_chat.json文件。 - 写入如下格式的内容:
{"setup":true,"recognizationMode":"mode","modelFolder":"/path/to/model","modelLang":"lang"}
- "/path/to/model" 是模型所在 目录 的路径。
- "mode" 是工作模式的选择。有以下模式可供选择:
- "AUTO_DETECT":持续识别,检测到句子结束时发送消息。
- "PRESS_SEND":持续识别,按下功能键时发送消息。
- "HOLD_TO_SPEAK":按一次功能键开始识别,再按一次发送消息。
- "lang" 是你所使用的模型的语言选择。通常会自动检测。目前支持:
- "CHINESE"(中文)
- "ENGLISH"(英文)
使用方法
安装后,你会在游戏窗口右下角看到一个新的小组件(HUD element)。它可能显示“Simple Text Chat Disabled”等内容。
检查你的按键绑定。此模组添加了 3 个按键绑定:
- 功能切换键:控制识别引擎是否运行
- 语音完成键:“功能”键,在不同模式下工作方式不同:
- 在自动检测模式中:它不会有任何效果,所有检测均为自动化。
- 在按下发送模式中:按下它将发送消息,无论句子是否结束。
- 在按住说话模式中:按一次开始识别,再按一次发送。
- 取消键:按下它将取消当前消息发送。
当你说话时,小组件会显示临时内容。
享受吧!
Vosk 库的使用
本项目使用 Vosk 作为识别引擎,遵循 Apache-2.0 许可证。 Vosk 已包含在模组 jar 文件中。无需担心其安装问题。
Simple Text Chat
A simple mod that allows you to chat with voices while playing by recognize your voice to chat messages.
Intention
"You can speak while playing, but you can't type while playing."
—— Yuang2714's speech on a Minecraft server that has not Simple Voice Chat installed
Installation
Install the Mod first. When needed, a setup menu will appear on game starting. Follow the instractions shown in the menu to complete setup.
Mannually Installation Steps
YOU SHOULD USE SETUP MENU INSTEAD.
ACCESS HERE ONLY IF YOU HAVE SPECIAL REASON.
- Go to Vosk Models Page and select model based on your language.
- Download the
.ziparchive of selected model. - Extract the archive to somewhere.
- Go to the Game's config folder, and create a
simple_text_chat.jsonfile. - Write contents formatted like:
{"setup":true,"recognizationMode":"mode","modelFolder":"/path/to/model","modelLang":"lang"}
- "/path/to/model" is the DIRECTORY path to the model.
- "mode" is a selection of working mode. There are following modes to choose:
- "AUTO_DETECT": Recognize continuously, send message when detect a sentence's end.
- "PRESS_SEND": Recognize continuously, send message on pressing the Function Key.
- "HOLD_TO_SPEAK": Press the Function Key once to start recognize, then press it again to send message.
- "lang" is a selection of which language does your model use. Usually auto detected. Currently, it can be:
- "CHINESE"
- "ENGLISH"
Usage
After install, you will see a new HUD element in-game on the right-down corner of the game window. Prohabily it shows "Simple Text Chat Disabled" etc.
Check your keybindings. This mod added 3 keybindings:
- Feature Toggle Key: Controls if the recognization engine is running
- Speech Done Key: The "Feature" key, works differently among modes:
- In Auto Detect Mode: It won't have any effect, all detection is automated.
- In Press Send Mode: Press it will send the message, whatever sentence is finished.
- In Hold To Speak Mode: Press once to start recognization, and press again to send.
- Cancel Key: Press it will cancel message sending once.
As you speak, the HUD element displays the temporary content.
Enjoy!
Vosk lib Usage
This project uses Vosk as recognization engine under the Apache-2.0 license. Vosk is included in mod jar file. Don't worry about it's installation.
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Text Chat
下载 Simple Text Chat
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Text Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
versionnnnnnnnnnnnnnnnnnnnnnn 扩展
更好的 API
改变,由此开始……
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。

评论 0
登录后参与评分
还没有评论,来抢沙发吧