SculkVoicePlugin
SculkVoicePlugin 是一款轻量且创新的插件,专为运行在 Minecraft 1.19 至 26.2 版本的 Paper、Bukkit 和 Purpur 服务器设计。该插件通过与 Simple Voice Chat 集成,将玩家的声音活动转化为游戏内的 潜影贝传感器震动,从而增强游戏体验。当玩家通过麦克风说话时,插件会根据可配置的阈值生成弱或强潜影贝震动,为你的 Minecraft 服务器增添沉浸式体验。
无论你是运行带有基于潜影贝的红石装置的生存服务器,还是利用潜影贝传感器的自定义地图,SculkVoicePlugin 都能将语音通信与游戏机制相结合,创造出独特且互动的体验。
功能
- 语音激活的潜影贝震动:当玩家使用 Simple Voice Chat 说话时,触发弱或强潜影贝传感器震动。
- 高度可配置:自定义震动阈值、冷却时间和耳语/潜行时的音量修正系数。
- 群组支持:可选地将震动限制为特定语音群组中的玩家。
- 可切换系统:通过命令启用或禁用语音检测系统。
- 基于权限的控制:为管理员和玩家提供精细的访问控制权限。
- 轻量且兼容:无缝兼容从 Minecraft 1.19 到 1.21.5 的 Paper、Bukkit 和 Purpur 服务器。
安装
- 确保你的服务器上已安装 Simple Voice Chat,因为它是软依赖项。
- 从 发布页面 下载
SculkVoicePlugin.jar 的最新版本。
- 将
.jar 文件放入服务器的 plugins 文件夹中。
- 重启服务器以加载插件。
- 在
plugins/SculkVoicePlugin/config.yml 中配置插件设置以满足你的需求。
配置
该插件通过 config.yml 文件实现了高度自定义,允许你微调声音活动如何触发潜影贝震动。以下是配置选项概览:
enabled:启用或禁用语音检测系统(true/false)。
weak-vibration-threshold:设置弱震动的阈值(默认值:400.0)。
strong-vibration-threshold:设置强震动的阈值(默认值:1500.0)。
cooldown-duration:定义玩家在触发另一次震动之前所需的冷却时间(以刻为单位)(默认值:20)。
restrictions.groups:将震动限制为语音群组中的玩家(true/false)。
restrictions.whispering:启用用于耳语的降低音量震动(true/false)。
restrictions.whisper-factor:耳语的音量减少因子(0.0 = 无声,1.0 = 无变化,默认值:0.8)。
restrictions.sneaking:启用潜行时降低音量震动(true/false)。
restrictions.sneak-factor:潜行时的音量减少因子(0.0 = 无声,1.0 = 无变化,默认值:0.7)。
示例 config.yml:
# SculkVoicePlugin Plugin Configuration
enabled: true
weak-vibration-threshold: 400.0
strong-vibration-threshold: 1500.0
cooldown-duration: 20
restrictions:
groups: false
whispering: true
whisper-factor: 0.8
sneaking: true
sneak-factor: 0.7
命令
/sculkvoice toggle:启用或禁用潜影贝震动的语音检测系统。
- 用法:
/sculkvoice toggle
- 权限:
sculkvoice.admin(默认:仅限操作员)
权限
sculkvoice.admin:允许玩家使用 /sculkvoice 命令来切换语音检测系统。
sculkvoice.ignore:豁免玩家不产生基于声音的潜影贝震动。
依赖项
兼容性
- Minecraft 版本:1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
- 服务器类型:Paper, Bukkit, Purpur
- API 版本:1.19(兼容更高版本)
致谢
SculkVoicePlugin
SculkVoicePlugin is a lightweight and innovative plugin designed for Paper, Bukkit, and Purpur servers running Minecraft versions 1.19 to 26.2. This plugin enhances gameplay by integrating with Simple Voice Chat, allowing players' voice activity to trigger sculk sensor vibrations in-game. When players speak through their microphone, the plugin generates weak or strong sculk vibrations based on configurable thresholds, adding an immersive layer to your Minecraft server.
Whether you're running a survival server with sculk-based redstone contraptions or a custom map leveraging sculk sensors, SculkVoicePlugin bridges voice communication with in-game mechanics, creating unique and interactive experiences.
Features
- Voice-Activated Sculk Vibrations: Triggers weak or strong sculk sensor vibrations when players speak using Simple Voice Chat.
- Highly Configurable: Customize vibration thresholds, cooldowns, and volume modifiers for whispering and sneaking.
- Group Support: Optionally restrict vibrations to players in specific voice groups.
- Toggleable System: Enable or disable the voice detection system via commands.
- Permission-Based Control: Fine-tune access with permissions for admins and players.
- Lightweight and Compatible: Works seamlessly on Paper, Bukkit, and Purpur servers from Minecraft 1.19 to 1.21.5.
Installation
- Ensure you have Simple Voice Chat installed on your server, as it is a soft dependency.
- Download the latest version of
SculkVoicePlugin.jar from the releases page.
- Place the
.jar file in your server's plugins folder.
- Restart your server to load the plugin.
- Configure the plugin settings in
plugins/SculkVoicePlugin/config.yml to suit your needs.
Configuration
The plugin is highly customizable through the config.yml file, allowing you to fine-tune how voice activity triggers sculk vibrations. Below is an overview of the configuration options:
enabled: Enable or disable the voice detection system (true/false).
weak-vibration-threshold: Set the threshold for weak vibrations (default: 400.0).
strong-vibration-threshold: Set the threshold for strong vibrations (default: 1500.0).
cooldown-duration: Define the cooldown (in ticks) before a player can trigger another vibration (default: 20).
restrictions.groups: Restrict vibrations to players in voice groups (true/false).
restrictions.whispering: Enable reduced-volume vibrations for whispering (true/false).
restrictions.whisper-factor: Volume reduction factor for whispers (0.0 = silent, 1.0 = no change, default: 0.8).
restrictions.sneaking: Enable reduced-volume vibrations when sneaking (true/false).
restrictions.sneak-factor: Volume reduction factor when sneaking (0.0 = silent, 1.0 = no change, default: 0.7).
Example config.yml:
# SculkVoicePlugin Plugin Configuration
enabled: true
weak-vibration-threshold: 400.0
strong-vibration-threshold: 1500.0
cooldown-duration: 20
restrictions:
groups: false
whispering: true
whisper-factor: 0.8
sneaking: true
sneak-factor: 0.7
Commands
/sculkvoice toggle: Enables or disables the voice detection system for sculk vibrations.
- Usage:
/sculkvoice toggle
- Permission:
sculkvoice.admin (default: operator-only)
Permissions
sculkvoice.admin: Allows players to use the /sculkvoice command to toggle the voice detection system.
sculkvoice.ignore: Exempts players from generating voice-based sculk vibrations.
- Default:
false (not granted by default)
Dependencies
- Dependency: Simple Voice Chat
- Ensure Simple Voice Chat is installed for the plugin to function.
Compatibility
- Minecraft Versions: 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5
- Server Types: Paper, Bukkit, Purpur
- API Version: 1.19 (compatible with newer versions)
Credits
- Author: RazorPlay
- Website:
评论 0
登录后参与评分
还没有评论,来抢沙发吧