Slip of a Tongue
Put words in list so when players say the word (via mic), a series of commands will be run
介绍
Slip of a Tongue
_Voice-controlled command execution for Minecraft._
Slip of a Tongue allows players to trigger server-side commands and custom narrations using their actual voice. By leveraging the VoskLib client-side speech recognition engine, your spoken words are translated to text locally and sent to the server for secure validation and execution.
🎤 How it Works
- The Client: Uses VoskLib (locally) to turn your microphone input into a string of text.
- The Bridge: The client sends this string to the server.
- The Server: Validates the word against a pre-defined list. If it matches, the server executes the linked commands and narrations.
🛠 Installation
Client-Side (Required)
- Install VoskLib.
- Install Slip of a Tongue.
- Important: Open the VoskLib config in-game _(by clicking Mods -> VoskLib -> Config)_ and download a language model for the speech recognition to work.
- The voice recognition will be automatically enabled upon joining a world.
Server-Side (Required)
- Install Slip of a Tongue (VoskLib is not required on the server).
- Configure your word list in the server’s config folder.
⚙️ Command Syntax
The server-side configuration uses a specific format to map voice triggers:
word:[command1, command2, command3 %player%]text to narrate
Breakdown:
word: The keyword detected by the client’s STT.[...]: A list of server commands (no/needed).%player%: Replaced by the name of the player who spoke.text to narrate: The message that will be narrated/sent back upon success.
Example Entry:
ascend:[effect give %player% levitation 5 1, say %player% is ascending!]Up we go!
🔒 Security & Privacy
- Client-Side STT: Speech processing is handled entirely on your computer via VoskLib. No audio data is ever sent to the server or the cloud.
- Server-Side Validation: To prevent players from spoofing commands, the server only executes actions for words explicitly defined in the server-side configuration file.
📜 Credits
- VoskLib: Created by InfinityTwo
- Speech Engine: Powered by Vosk.
- License: GNU General Public License v3.0
常见问题
Slip of a Tongue 支持哪些 Minecraft 版本?
Slip of a Tongue 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Slip of a Tongue 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
MeroSsSany 的其他作品
查看全部 →
Startup Music Tone
窗口一出现就播放音乐
VoskLib
一个将VOSK移植到Minecraft的前置库模组
The Magical World (The Ending Eds) [DISCONTINUED]
The magical technology mod.
WhisperLib
A fork of VoskLib that uses WhisperAI instead of VOSK for voice recognition
评论
登录后评论和评分