语音聊天交互
免责声明: 本插件与 Mojang、Microsoft 或 Simple Voice Chat 项目无关。使用风险自负。
灵感来源于 Fabric 模组,但专为 PaperMC 打造。
此插件需要安装 Simple Voice Chat 插件才能正常工作。
概述
VoiceChat Interaction 让幽匿传感器和监守者能够响应 Minecraft 中玩家的真实语音聊天。该插件高度可配置,支持国际化(i18n),并可在不重启服务器的情况下热重载。
- 兼容 PaperMC 1.21.8+
- 需要 Simple Voice Chat
- 可配置:启用/禁用群组、耳语和潜行语音触发器
- 国际化:默认英文消息,易于本地化
- 热重载:在游戏中重载配置和消息
功能
- 幽匿传感器和监守者响应玩家的真实语音聊天
- 支持群组、耳语和潜行语音模式
- 可配置分贝阈值和冷却时间
- 提供游戏内
/voicechat_interaction 命令用于切换和重载
- 自动创建
messages.yml 以便于翻译
安装
- 下载最新版本
- 将 JAR 文件放入服务器的
plugins/ 文件夹
- 确保已安装并运行 Simple Voice Chat
- 启动或重启服务器
配置
自动生成 config.yml,包含以下选项:
enable_group_voice: false # 允许幽匿传感器/监守者响应群组语音
enable_whisper_voice: false # 允许幽匿传感器/监守者响应耳语语音
enable_sneak_voice: false # 允许幽匿传感器/监守者响应潜行语音
activation_db_threshold: -50 # 触发所需的最小分贝值(范围:-127 到 0)
toggle_default_state: true # 默认设置:新玩家启用交互
activation_cooldown_ticks: 20 # 触发之间的冷却时间(刻)
命令
/voicechat_interaction toggle — 切换自身的交互状态(需要权限)
/voicechat_interaction toggle <player> — 切换其他玩家的交互状态(需要权限)
/voicechat_interaction reload — 重载配置和消息(需要权限)
权限
voicechat_interaction.command — 使用自身切换命令
voicechat_interaction.command.others — 切换其他玩家的命令
voicechat_interaction.command.reload — 重载配置/消息
国际化 (i18n)
- 所有消息均位于
messages.yml 中(自动创建)
- 可根据需要进行编辑或翻译
VoiceChat Interaction
Disclaimer: This plugin is not affiliated with Mojang, Microsoft, or the Simple Voice Chat project. Use at your own risk.
Inspired by the Fabric mod, but made for PaperMC instead.
This plugin requires the Simple Voice Chat plugin to work properly.
Overview
VoiceChat Interaction lets Sculk sensors and the Warden react to real player voice chat in Minecraft. The plugin is highly configurable, supports i18n, and can be hot-reloaded without server restarts.
- PaperMC 1.21.8+ compatible
- Simple Voice Chat required
- Configurable: Enable/disable group, whisper, and sneak voice triggers
- i18n: English messages by default, easy to localize
- Hot-reload: Reload config and messages in-game
Features
- Sculk sensors and the Warden react to real player voice chat
- Supports group, whisper, and sneak voice modes
- Decibel threshold and cooldown configurable
- In-game
/voicechat_interaction command for toggling and reloading
- Auto-creates
messages.yml for easy translation
Installation
- Download the latest release
- Place the JAR in your server's
plugins/ folder
- Ensure Simple Voice Chat is installed and running
- Start/restart your server
Configuration
A config.yml is auto-generated with these options:
enable_group_voice: false # Allow Sculk/Warden to react to group voice
enable_whisper_voice: false # Allow Sculk/Warden to react to whisper voice
enable_sneak_voice: false # Allow Sculk/Warden to react to sneak voice
activation_db_threshold: -50 # Minimum decibel level to trigger (range: -127 to 0)
toggle_default_state: true # Default: interaction enabled for new players
activation_cooldown_ticks: 20 # Cooldown in ticks between triggers
Commands
/voicechat_interaction toggle — Toggle interaction for yourself (permission required)
/voicechat_interaction toggle <player> — Toggle for another player (permission required)
/voicechat_interaction reload — Reload config and messages (permission required)
Permissions
voicechat_interaction.command — Use toggle for self
voicechat_interaction.command.others — Toggle for others
voicechat_interaction.command.reload — Reload config/messages
Internationalization (i18n)
- All messages are in
messages.yml (auto-created)
- Edit or translate as needed
评论 0
登录后参与评分
还没有评论,来抢沙发吧