Voicechat Utils

插件

· 作者 Its_Padar

Simple Voice Chat 实用插件,支持群聊文字消息和语音聊天静音功能!

0 本站下载 0 关注 更新于 1 个月前

最新 1.3.0 · 26.2 · Paper

一键开服(送7天)

这个(仅限 PaperMC)插件提供了一种简单的方式,让你能够在当前的 Simple Voice Chat 群组中向其他玩家发送消息,同时还支持在语音聊天中禁言玩家!

  • /mg <message> 命令可将消息转发给组内的其他玩家,帮助那些希望不使用麦克风但仍想使用 Simple Voice Chat 群组功能的用户。
  • /mgtoggle [<on|off>] 命令可切换一种模式:如果你处于群组中,所有聊天消息都会作为 /mg 消息发送。
  • 当玩家加入或离开群组时显示加入/离开消息(可在 config.yml 中进行配置和禁用)。
  • 支持由插件(如 Luckperms)设置的前缀和后缀,这些前缀和后缀会显示在群组消息中。要使此功能正常工作,必须安装 Vault 插件(可在 这里 或 这里 找到)。
  • /vcmute <player> [duration] [reason] 和 /vcunmute <player> 命令可用于在一定时间内禁止玩家在语音聊天中说话。

本插件必须与 Simple Voice Chat 一起安装,且不会自动安装 Simple Voice Chat。

欢迎在 Discord 频道中提供建议、Bug 报告和反馈!

Commands
Command Permission Description
/mg <message> (/messagegroup) voicechatutils.chat.use Send a message to everyone in your current voicechat group
/mgtoggle [<on|off>] voicechatutils.chat.use voicechatutils.chat.use
/vcmute <player> [duration] [reason] voicechatutils.mute Mute a player in voicechat. Durations look like 30s, 10m, 2h, 7d, 1w or 1h30m. Leave it out for a permanent mute.
/vcunmute <player> voicechatutils.mute Unmute a player in voicechat.
/vcmutes (/vcmutelist) voicechatutils.mute List muted players, how long they have left on their mute, who muted them, and their reason.
Permissions
Permission Default Description
voicechatutils.chat.use Everyone Use /mg and /mgtoggle to message users in current voice chat group
voicechatutils.chat.spy Operators See all messages sent using group messages. Disabled by default in the config
voicechatutils.mute Operators Mute and unmute players in voice chat with /vcmute, /vcunmute and /vcmutes, and see mute announcements
Default Config.yml
# Thanks for using Voicechat Utils by Its_Padar!
# https://modrinth.com/plugin/voicechat-utils

# Do not edit this unless you absolutely know what you are doing
CONFIG_VERSION: 4



# Whether /mg and /messagegroup should be enabled.
# true/false
enable_messagegroup: true

# Whether messages sent with /mg should be forwarded to everyone with the voicechatutils.chat.spy permission.
# true/false
enable_messagegroup_spying: false

# Customise the message sent to players from /mg.
# Use https://webui.advntr.dev/ to test what it looks like and help customise it with colours.
# <group> is replaced by the name of the group, <name> is replaced by the name of the player, and <message> is replaced by the message that is sent
messagegroup_text: <gray>[<group>]</gray> <prefix><<name>><suffix><reset> <message>


# How messages should be sent to players if they join/leave a group
# chat - Send message in chat
# actionbar - Send message to the player's actionbar in the middle of the screen
# disable - Disable join/leave messages
join_leave_group_messages_mode: chat

# Customise the join/leave messages sent if join_leave_group_messages_mode is not set to disable
# Use https://webui.advntr.dev/ to test what it looks like and help customise it with colours.
# <group> is replaced by the name of the group, and <name> is replaced by the name of the player
join_group_message_text: <gray>[<group>]</gray> <green>+</green> <prefix><name><suffix>
leave_group_message_text: <gray>[<group>]</gray> <red>-</red> <prefix><name><suffix>


# Enable <prefix> and <suffix> being replaced by the prefix/suffix of the player.
# This requires the Vault API and a permissions plugin such as Luckperms to be installed to work!
# Vault can be found at https://www.spigotmc.org/resources/vault.34315/ or https://dev.bukkit.org/projects/vault
enable_prefix_suffix_support: true

# Set the parse mode for prefixes and suffixes.
# Its recommended to set this away from automatic if possible
# minimessage - <red> <#FF0000> - The MiniMessage format, this is recommended
# legacy - &#FF0000 - The legacy formatting code format
# automatic - If there is a & in the prefix/suffix parse as legacy, otherwise assume minimessage
prefix_suffix_colour_mode: automatic

# 当玩家通过 `/vcmute` 在语音聊天中被静音时,他们是否也被禁止使用 `/mg` 和 `/mgtoggle` 发送消息?
# true/false
voice_mute_blocks_messagegroup: true
计划中的功能
  • 配置重载命令

  • /vcforcejoin 命令,允许管理员绕过密码并加入群组

  • 支持语言配置文件

  • 切换加入/离开语音聊天的消息提示?

  • 创建/管理群组的命令

  • 将语音广播给所有在线玩家(需安装 Simple Voice Chat)

  • 聊天过滤(正则表达式、替换与屏蔽)?

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源