如果你正在寻找一个允许你创建多种不同聊天频道的插件,那么这款插件非常适合你!
ChatsPlus 允许你创建仅特定玩家和权限组可以加入并聊天的频道,将这些频道分配到特定的世界,以及更多功能!
该插件还支持 EssentialsDiscord。如果你有某些频道不希望显示在 Discord 服务器上,你可以通过在配置文件中设置子配置来忽略它们。
(有关这方面的更多信息,请参阅此描述中的配置部分)
建议使用如 LuckPerms 之类的权限插件以获得最佳体验。
此插件支持 Placeholder API!
| 占位符 |
描述 |
| %chatsplus_chat% |
返回玩家所在的聊天频道名称。 |
此插件主要使用游戏内的主命令 /chat,但也包含子命令。
| 命令发送者 |
命令 |
描述 |
权限 |
| 玩家 |
/chat <chat> |
将你分配到一个聊天频道 |
chatsplus.command.chat.<chat> |
| 玩家 |
/chat off |
取消你当前分配的聊天频道 |
chatsplus.command.off |
| 玩家 |
/chat mute <chat> |
为你静音某个聊天频道。 |
chatsplus.command.mute |
| 玩家 |
/chat unmute <chat> |
为你取消对某个聊天频道的静音。 |
chatsplus.command.unmute |
| 玩家 |
/chat help |
显示命令列表。 |
chatsplus.command.help |
|
|
|
|
| 管理员 |
/chat assign <player> <chat> |
将玩家分配到聊天频道。 |
chatsplus.command.assign |
| 管理员 |
/chat kick <player> |
将玩家从其分配的聊天频道中踢出。 |
chatsplus.command.kick |
| 管理员 |
/chat reload |
重新加载此插件的配置。 |
chatsplus.command.reload |
|
|
|
|
| 控制台 |
chatsystem listChats |
列出所有聊天频道。 |
-/- |
| 控制台 |
chatsystem listWorldChats |
列出所有已分配聊天频道的世界。 |
-/- |
| 控制台 |
chatsystem getPlayerChats |
列出所有被分配到聊天频道的玩家。 |
-/- |
| 控制台 |
chatsystem reload |
重新加载此插件的配置。 |
-/- |
| 权限 |
默认值 |
| chatsplus.command.* |
true |
| chatsplus.command.help |
true |
| chatsplus.command.chat.<chat> |
true |
| chatsplus.command.off |
true |
| chatsplus.command.mute |
true |
| chatsplus.command.unmute |
true |
| chatsplus.command.assign |
op |
| chatsplus.command.reload |
op |
| chatsplus.command.kick |
op |
|
|
| chatsplus.admin.* |
op |
| chatsplus.admin.join |
true |
| chatsplus.admin.bypass |
true |
| chatsplus.chat.read.<chat> |
op |
config.yml
#############################
# CHATSPLUS by Niestrat99 #
#############################
###########
# DEBUG #
###########
# 允许开发者尝试找出任何可能的错误。
debug-mode: false
# []>-----------------------------------------------------------------------------<[]
###########
# CHATS #
###########
# 此选项允许你创建新的聊天频道。只需将它们添加到下面的列表中即可。
# 你创建的每个聊天频道都会自动拥有一个名为 'chatsplus.chat.<chatName>' 的权限。
# 聊天频道还必须设置子设置,否则它将使用可能看起来不太美观的默认值。
# - title = 出现在消息最前面的文本。
# - nameTag = 玩家姓名的显示方式。例如,你可以使其看起来像 "xXPlayerNameXx"。
# - messageColor = 实际消息应显示的颜色。
# - ignoreDiscord = 如果设置为 "true",这将防止 EssentialsX Discord 插件将此聊天频道中的消息发送到 Discord 服务器。
# 示例:
# chats:
# vip:
# title: '&8[&6VIP&8]'
# nameTag: '&8<&6name&8>'
# messageColor: '&6'
# ignoreDiscord: true
#
# 注意:
# - 颜色代码(例如 &6)是可选的,但可以让你使聊天频道看起来更花哨。
# - 你必须确保在 nameTag 部分中包含文本 "name",否则玩家姓名将不会显示。
chats:
staff:
title: '&b[&fStaffChat&b]'
nameTag: '&b<&fname&b>'
messageColor: '&r'
ignoreDiscord: true
vip:
title: '&8[&6VIP&8]'
nameTag: '&8<&6name&8>'
messageColor: '&6'
ignoreDiscord: true
# []>-----------------------------------------------------------------------------<[]
####################
# PER WORLD CHAT #
####################
# 在此部分,你可以将聊天频道分配给特定世界。
# 如果玩家加入该世界,他们将自动被分配到该特定聊天频道。
# 与聊天部分一样,此部分也带有子配置:
# - chat = 应分配给世界的聊天频道
# - isGlobal <true/false> = 聊天频道是否应出现在所有世界中
# - offStandard <true/false> = 当玩家使用 /chat off/kick 时,是否应将玩家放入分配的频道
# 要将聊天频道分配给世界,请按以下步骤操作:
# per-world-chat:
# world:
# chat: vip
# isGlobal: true
# offStandard: false
#
# 注意:
# - 世界名称必须与实际世界名称匹配。
# - 所有三个子配置都必须包含在内!如果没有,则插件将为其设置默认值。
# - 确保你在上面的聊天部分中设置了有效的聊天频道,否则插件将删除该设置。
per-world-chat:
world:
chat: vip
isGlobal: true
offStandard: true
# []>-----------------------------------------------------------------------------<[]
#########################
# ASSIGN CHAT ON JOIN #
#########################
# 如果加入的玩家拥有权限 'chatsplus.admin.join',则将其分配到指定的聊天频道。
# 如果你想让工作人员自动分配到工作人员聊天频道,这可能非常理想。
# 它会绕过“按世界分配聊天”的设置。
assign-chat-on-join: ""
如果你发现任何问题、有疑问或需要此插件的帮助,请随时在这里联系我:
If you're looking for a plugin that allows you to make multiple different chats, then this one is for you!
ChatsPlus allows you to create chats that only certain players and ranks can join and chat in, assign those chats to a certain world and much more!
This plugin also has EssentialsDiscord support. If you have chats, that should not be shown in a Discord server, then you can have them ignored using a sub-configuration inside the config file.
(More about that in the config section of this description)
It is recommended to use a permissions plugin like LuckPerms for the best experience.
This plugin supports Placeholder API!
| Placeholder |
Description |
| %chatsplus_chat% |
returns the chat name the player is in. |
This plugin mainly uses the main command /chat in-game, however it comes with subcommands.
| Command Sender |
Command |
Description |
Permission |
| Player |
/chat <chat> |
Assigns you to a chat |
chatsplus.command.chat.<chat> |
| Player |
/chat off |
Unassigns you from a chat |
chatsplus.command.off |
| Player |
/chat mute <chat> |
Mutes a chat for the player. |
chatsplus.command.mute |
| Player |
/chat unmute <chat> |
Unmutes a chat for the player. |
chatsplus.command.unmute |
| Player |
/chat help |
Shows the list of commands. |
chatsplus.command.help |
|
|
|
|
| Admin |
/chat assign <player> <chat> |
Assigns player to a chat. |
chatsplus.command.assign |
| Admin |
/chat kick <player> |
Kicks player from chat they're assigned to. |
chatsplus.command.kick |
| Admin |
/chat reload |
Reloads the configs of this plugin. |
chatsplus.command.reload |
|
|
|
|
| Console |
chatsystem listChats |
Lists up all chats. |
-/- |
| Console |
chatsystem listWorldChats |
Lists up all worlds with chat assigned. |
-/- |
| Console |
chatsystem getPlayerChats |
Lists up all players who are assigned to a chat. |
-/- |
| Console |
chatsystem reload |
Reloads the configs of this plugin. |
-/- |
| Permission |
Default |
| chatsplus.command.* |
true |
| chatsplus.command.help |
true |
| chatsplus.command.chat.<chat> |
true |
| chatsplus.command.off |
true |
| chatsplus.command.mute |
true |
| chatsplus.command.unmute |
true |
| chatsplus.command.assign |
op |
| chatsplus.command.reload |
op |
| chatsplus.command.kick |
op |
|
|
| chatsplus.admin.* |
op |
| chatsplus.admin.join |
true |
| chatsplus.admin.bypass |
true |
| chatsplus.chat.read.<chat> |
op |
config.yml
#############################
# CHATSPLUS by Niestrat99 #
#############################
###########
# DEBUG #
###########
# Allows the developer to try and find out any possible bugs.
debug-mode: false
# []>-----------------------------------------------------------------------------<[]
###########
# CHATS #
###########
# This option allows you to make new chats. Simply add them to the list below.
# Each chat, that you create, will automatically have a permission named 'chatsplus.chat.<chatName>'.
# The chats must have sub-settings set up as well, or else it uses default values which may look ugly.
# - title = The text that appears in the very front of the message.
# - nameTag = The way the player name is displayed. You can make it look like "xXPlayerNameXx" for example.
# - messageColor = The color of what the actual message shall appear in.
# - ignoreDiscord = This prevents the EssentialsX Discord plugin from sending a message out of this chat into the Discord server, if set to "true".
# EXAMPLE:
# chats:
# vip:
# title: '&8[&6VIP&8]'
# nameTag: '&8<&6name&8>'
# messageColor: '&6'
# ignoreDiscord: true
#
# NOTE:
# - The color codes (e.g. &6) are optional, but allow you to make your chats look fancier.
# - You MUST have the text "name" included in your nameTag section, or else the player name won't be displayed.
chats:
staff:
title: '&b[&fStaffChat&b]'
nameTag: '&b<&fname&b>'
messageColor: '&r'
ignoreDiscord: true
vip:
title: '&8[&6VIP&8]'
nameTag: '&8<&6name&8>'
messageColor: '&6'
ignoreDiscord: true
# []>-----------------------------------------------------------------------------<[]
####################
# PER WORLD CHAT #
####################
# In this section, you can assign a chat to a certain world.
# If a player joins that world, they'll automatically be assigned to that specific chat.
# Just like the chats section, this section also comes with sub configurations:
# - chat = The chat that shall be assigned to the world
# - isGlobal <true/false> = Whether the chat shall appear in all worlds or not
# - offStandard <true/false> = If the player shall be put into the assigned that when using /chat off/kick
# To assign a chat to a world you do the following:
# per-world-chat:
# world:
# chat: vip
# isGlobal: true
# offStandard: false
#
# NOTE:
# - The world must match the world's actual name.
# - All three sub configurations MUST be included! If not, then the plugin will set default values to it.
# - Make sure you're setting a valid chat created in the chats section above, or else the plugin will remove that setting.
per-world-chat:
world:
chat: vip
isGlobal: true
offStandard: true
# []>-----------------------------------------------------------------------------<[]
#########################
# ASSIGN CHAT ON JOIN #
#########################
# Assigns the joining player to the specified chat, if they have the permission 'chatsplus.admin.join'.
# This can be ideal, if you want staff members to be automatically assigned to a staff chat.
# It bypasses the Per-World-Chat settings.
assign-chat-on-join: ""
If you found any issues, got questions or need help with this plugin, then feel free to reach out to me here:
评论 0
登录后参与评分
还没有评论,来抢沙发吧