? HELPVOICE — 自动语音聊天配置
? 概述
HelpVoice 是一款轻量且智能的辅助插件,专为 Simple Voice Chat 设计,完全自动化了 Minecraft 服务器端口配置的复杂且令人沮丧的过程。无需手动编辑配置文件、猜测哪些端口可用,或在默认端口被占用时处理晦涩的错误信息,HelpVoice 会在后台自动处理所有事情。
✨ 主要功能
? 零配置设置
只需将此插件与 Simple Voice Chat 一起安装,重启服务器,HelpVoice 便会立即开始扫描可用端口。它首先尝试默认端口 24454,然后检查自定义列表中的替代端口,最后在必要时探测 24000 到 26000 范围内的随机端口。可配置的最大尝试次数确保了它能找到可用的端口而不会陷入无限循环。
? 安全的配置管理
一旦成功发现空闲端口,HelpVoice 会智能地读取现有的 voicechat.yml 文件;如果该文件不存在,则会使用合理的默认值创建新文件。随后,它会正确设置端口值,确保主机(host)和最大语音距离(max_voice_distance)等其他必要字段配置得当,并以完美的 YAML 格式保存文件。同时,它还会为原始配置创建带时间戳的备份,以防止任何意外数据丢失。
? 双语界面
配置完成后,管理员会收到关于所选端口的清晰确认消息。该插件包含完全双语的界面,提供所有消息、错误、状态更新和命令的 英文和俄文翻译,使其可供全球广泛的管理员使用。
?️ 管理员命令
| 命令 |
描述 |
权限 |
/helpvoice status |
查看当前端口和 VoiceChat 状态 |
helpvoice.use |
/helpvoice reload |
重新加载配置文件 |
helpvoice.admin |
/helpvoice setport <port> |
手动分配特定端口 |
helpvoice.admin |
/helpvoice lang <en/ru> |
在英文和俄文之间切换 |
helpvoice.admin |
所有命令均受合理的权限保护。默认情况下,helpvoice.use 授予所有玩家以进行基本状态检查,而 helpvoice.admin 仅限操作员用于管理功能。
⚙️ 配置选项
配置文件简单明了且文档完善,允许您自定义以下内容:
language: en # en 或 ru
port:
default: 24454 # 首选尝试的端口
alternatives: [24455,24456] # 备用端口
auto-detect: true # 启用/禁用检测
max-attempts: 10 # 随机端口尝试次数
voicechat:
config-file: "plugins/voicechat/voicechat.yml"
backup: true # 修改前是否备份
? HELPVOICE — Automatic Voice Chat Configuration
? OVERVIEW
HelpVoice is a lightweight and intelligent companion plugin designed specifically for Simple Voice Chat, completely automating the complex and often frustrating process of port configuration for your Minecraft server. Instead of manually editing configuration files, guessing which ports are available, or dealing with cryptic errors when the default port is already occupied, HelpVoice handles everything automatically in the background.
✨ KEY FEATURES
? ZERO-CONFIGURATION SETUP
Simply install this plugin alongside Simple Voice Chat, restart your server, and HelpVoice will immediately begin scanning for an available port, starting with the default 24454, then checking through a customizable list of alternative ports, and finally probing random ports within the 24000 to 26000 range if necessary, with a configurable maximum number of attempts to ensure it finds a working port without endless looping.
? SAFE CONFIGURATION MANAGEMENT
Once a free port is successfully discovered, HelpVoice intelligently reads your existing voicechat.yml file, or creates a new one with sensible defaults if it doesn't exist, then sets the port value correctly, ensures other essential fields like host and max_voice_distance are properly configured, and saves the file with perfect YAML formatting, while also creating a timestamped backup of your original configuration to prevent any accidental data loss.
? BILINGUAL INTERFACE
After configuration, admins receive clear confirmation messages about which port was selected, and the plugin includes a fully bilingual interface with both English and Russian translations for all messages, errors, status updates, and commands, making it accessible to a wide range of server administrators worldwide.
?️ ADMIN COMMANDS
| Command |
Description |
Permission |
/helpvoice status |
View current port and VoiceChat status |
helpvoice.use |
/helpvoice reload |
Reload the configuration file |
helpvoice.admin |
/helpvoice setport <port> |
Manually assign a specific port |
helpvoice.admin |
/helpvoice lang <en/ru> |
Switch between English and Russian |
helpvoice.admin |
All commands are protected by sensible permissions, with helpvoice.use granted to all players by default for basic status checks, and helpvoice.admin restricted to operators for administrative functions.
⚙️ CONFIGURATION OPTIONS
The configuration file is straightforward and well documented, allowing you to customize:
language: en # en or ru
port:
default: 24454 # First port to try
alternatives: [24455,24456] # Fallback ports
auto-detect: true # Enable/disable detection
max-attempts: 10 # Random port attempts
voicechat:
config-file: "plugins/voicechat/voicechat.yml"
backup: true # Backup before modifying
评论 0
登录后参与评分
还没有评论,来抢沙发吧