跳到正文

Slip of a Tongue: Whisper Edition

作者:MeroSsSany

A fork of Slip of a Tongue that uses WhisperLib instead of VoskLib. Put words in list so when players say the word (via mic), a series of commands will be run.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🎤 Slip of a Tongue: Whisper Edition

Slip of a Tongue: Whisper Edition allows players to trigger server-side commands using their actual voice. Powered by the high-accuracy WhisperLib engine, your spoken words are processed locally and sent to the server for secure execution.


🔥 What’s New in Whisper Edition?

  1. High Accuracy: Powered by OpenAI’s Whisper, it understands natural speech, accents, and fast talkers far better than the old VoskLib.
  1. Smart Noise Filtering: Automatically ignores background music, coughs, and non-speech sounds like [MUSIC] or *laughing*.
  1. Zero Lag: Audio processing happens on a separate thread, so your FPS stays buttery smooth.

🛠 Installation

Client-Side (Required)

  1. Install WhisperLib.
  1. Install Slip of a Tongue: Whisper Edition.
  1. Download a Model: Open the WhisperLib config in-game and download a model (we recommend base.en for the best performance-to-speed ratio).

Server-Side (Required)

  1. Install Slip of a Tongue: Whisper Edition (WhisperLib is not required on the server).
  1. 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, %player%]Text to narrate

  • word: The keyword or phrase to detect.
  • \[…\]: List of commands (no / needed).
  • %player%: Automatically replaced by the speaker’s name.
  • Text to narrate: The message sent to chat upon success.

Example: jump:[effect give %player% levitation 2 10]See you later!


🔒 Security & Privacy

  • Local Processing: Speech-to-text happens entirely on your machine. No audio data ever leaves your computer.
  • Server-Side Validation: The server only executes commands that are explicitly defined in its configuration, preventing players from spoofing unauthorized commands.

📜 Credits

[\[ Whisper Edition Branch \]](https://github.com/MeroSsSany/slipofthetongue/tree/Whisper-Edition) [\[ Original GitHub Branch \]](https://github.com/MeroSsSany/slipofthetongue/)

常见问题

Slip of a Tongue: Whisper Edition 支持哪些 Minecraft 版本?

Slip of a Tongue: Whisper Edition 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Slip of a Tongue: Whisper Edition 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

MeroSsSany 的其他作品

查看全部 →