SimpleGroupChat
GitHub | 未来链接将放置于此
此插件与 SimpleVoiceChat 无关
此插件是 SimpleGlobChat 的逻辑延续。因此,如果您计划将此插件与任何全局聊天插件配合使用,SimpleGlobChat 是最佳选择。但这并非必需。
此插件允许在 Minecraft 中创建基于文本的群组聊天,只有成员才能发送和接收消息。
画廊中的所有截图均在同一服务器中拍摄(如有必要)。
你可以在配置文件中选择语言。支持的语言包括俄语(ru)和英语(eng)。
我根据实际需求编写了此插件,并添加了自认为最实用的功能。如果你认为该插件还需要某些功能,欢迎随时提出建议!
命令与功能
Ghelp
显示所有可用命令列表
用法:/ghelp
Gchat
启用、禁用或查看群组聊天状态。启用后,你的消息仅发送给所在群组的成员。
用法:/gchat on|off|status
Gcreate
使用指定的名称创建一个新的群组。你将成为该群组的自动所有者。
用法:/gcreate <群组名称>
Glist
显示服务器上所有已存在的群组列表。有助于发现你可能想要加入的群组。
用法:/glist
Glistmembers
显示当前所在群组成员的分页列表。如果群组成员众多,请使用页码来浏览列表。
用法:/glistmembers [page]
Grequest
向特定群组发送加入请求。随后该群组的房主可以接受或拒绝此请求。
用法:/grequest <Group name>
Gacceptrequest
接受来自玩家的加入请求。如果你是群组的房主,请使用此命令。
用法:/gacceptrequest <Player>
Gdenyrequest
拒绝来自特定玩家的待处理加入请求。如果你是群组的房主,请使用此命令。
用法:/gdenyrequest <Player>
Ginvite
邀请玩家加入你的群组。
用法:/ginvite <Player>
Gacceptinvite
接受你从其他群组房主处收到的待处理群组邀请。
用法:/gacceptinvite <Groupname>
替代用法:/gacceptinvite <Owner's nickname>
Gdenyinvite
拒绝你从其他群组房主处收到的群组邀请。
用法:/gdenyinvite <Groupname>
替代用法:/gdenyinvite <Owner's nickname>
Gkick
将一名玩家从你的群组中移除。仅拥有者可以使用此命令。
用法:/gkick <玩家>
Ginvites
显示你已收到但尚未回复的所有群组邀请列表。
用法:/ginvites
Gleave
退出你当前所在的群组。你将失去对该群组的聊天访问权限及相关特权。
用法:/gleave
Grequests
显示所有发往你的群组的加入请求。仅对群组所有者可见。
用法:/grequests
Hex colors support
本插件不仅支持 Minecraft 颜色代码 §0-f(以及 &0-f)
还支持十六进制颜色!例如:cdaf7
Configuration
如果你不使用 PlaceholderAPI,请将其关闭
use-placeholderapi: true
你可以在 eng 和 ru 之间切换语言
#可用变体:eng 和 ru,你可以在 lang 文件夹中找到它们
language: "ru"
你可以关闭或稍微修改此模板。(列表如下所示)
group:
#英文版请使用 "§7[§7{group} �ffccGROUP§7]"
#俄文版请使用 "§7[�ffccГруппа §7{group}§7]"
prefix: "§7[§7{group} �ffccGROUP§7]"
placeholder-prefix: "%luckperms_prefix%"
name-color: "�ffcc"
receiver-color: "§7"
message-color: "&#ffffff"
world-prefix:
enabled: false
format: "§8[{world}]"
msgformat: "{prefix} §r{placeholder-prefix}{name-color}{player} §7>> {message-color}{message}"
以下是你可以更改的内容列表。
#可用的占位符:
#"{world-color}"
#{world-prefix}"
#"{prefix}"
#{group}"
#{placeholder-prefix}"
#name-color}"
#{message-color}"
#{player}"
#{receiver-prefix}"
#{receiver-color}"
#{receiver}"
#{sender}"
#{message}"
#你可以随意更改它们的顺序,在 msgformat 中编写或删除它们,并像下面这样将它们互相嵌套:
#prefix: "§7[§7{group} �ffccGROUP§7]"
#在这里,{group} 被用在 {prefix} 中
Language settings
如果你想,可以更改消息。它们将提供在 lang 文件夹中。
在那里你可以找到 ru.yml 和 eng.yml 文件。
这是当你使用命令时将显示的消息。
messages:
这是当你使用 "/ghelp" 命令时将显示的信息。(不建议更改)
commands:
有助于维护和更改消息内容的有用信息。
# 颜色:
# 0 黑色 8 深灰色
# 1 深蓝色 9 浅蓝色
# 2 深绿色 a 浅绿色
# 3 深青色 (бирюзовый) b 浅青色 (голубой)
# 4 深红色 c 浅红色
# 5 紫色 d 品红色
# 6 深黄色 e 浅黄色
# 7 浅灰色 f 白色
# 你可以使用以下语法使用十六进制颜色:"&#ffffff"
#例如:"&#f2e77ePlayer not found."
Compatibility with other plugins
如果玩家拥有 LuckPerms 前缀,并且服务器上安装了 PlaceholderAPI,则可以在聊天中显示。
如果你想要使用全局聊天,强烈建议使用 SimpleGlobalChat。
SimpleGroupChat
GitHub | Future Links will be placed here
This plugin is NOT associated with SimpleVoiceChat
This plugin is a logical continuation of SimpleGlobChat. So if you plan to use any global chat alongside this plugin, SimpleGlobChat is the best choice. However, it's not required.
This plugin enables the creation of text-based group chats in Minecraft, where only members can send and receive messages.
All images in Gallery were done in the same server (if important)
You can choose language in config. Supported languages are ru and eng.
I wrote this code according to my needs and added the most useful features in my opinion. If you think that plugin needs some features feel free to suggest!
Commands and Features
Ghelp
Shows a list of all available commands
Usage: /ghelp
Gchat
Enables, disables, or checks the status of group chat. When enabled, your messages are sent only to your group.
Usage: /gchat on|off|status
Gcreate
Creates a new group with the specified name. You will automatically become the owner of the group.
Usage: /gcreate <Group name>
Glist
Displays a list of all existing groups on the server. Useful for discovering groups you might want to join.
Usage: /glist
Glistmembers
Displays a paginated list of all members in your current group. If the group has many members, use the page number to navigate through the list.
Usage: /glistmembers [page]
Grequest
Sends a join request to a specific group. The group's owner can then accept or deny it.
Usage: /grequest <Group name>
Gacceptrequest
Accepts a join request from a player. Use this if you're a group owner.
Usage: /gacceptrequest <Player>
Gdenyrequest
Denies a pending join request from a specific player. Use this if you're a group owner.
Usage: /gdenyrequest <Player>
Ginvite
Invites a player to join your group.
Usage: /ginvite <Player>
Gacceptinvite
Accepts a pending group invitation you've received from groups owner.
Usage: /gacceptinvite <Groupname>
Altenative usage: /gacceptinvite <Owner's nickname>
Gdenyinvite
Declines a group invitation you've received from groups owner.
Usage: /gdenyinvite <Groupname>
Altenative usage: /gdenyinvite <Owner's nickname>
Gkick
Removes a player from your group. Only the owner can use this command.
Usage: /gkick <Player>
Ginvites
Shows a list of all group invitations you’ve received but haven't responded to yet.
Usage: /ginvites
Gleave
Leaves the group you are currently a member of. You will lose access to its chat and privileges.
Usage: /gleave
Grequests
Displays all incoming join requests to your group. Only visible to group owners.
Usage: /grequests
Hex colors support
This plugin supports not only minecraft color code §0-f (&0-f too)
But hex colors too! (For example: cdaf7)
Configuration
Turn off if you will not use placeholderapi
use-placeholderapi: true
You can change it between eng and ru
#available variants: eng and ru, you can find them in lang foulder
language: "ru"
You can turn off or slightly change this template. (List is providen bellow)
group:
#for eng verion use "§7[§7{group} �ffccGROUP§7]"
#for ru version use "§7[�ffccГруппа §7{group}§7]"
prefix: "§7[§7{group} �ffccGROUP§7]"
placeholder-prefix: "%luckperms_prefix%"
name-color: "�ffcc"
receiver-color: "§7"
message-color: "&#ffffff"
world-prefix:
enabled: false
format: "§8[{world}]"
msgformat: "{prefix} §r{placeholder-prefix}{name-color}{player} §7>> {message-color}{message}"
Here is list of things that you can change.
#Available placeholders for usage:
#"{world-color}"
#{world-prefix}"
#"{prefix}"
#{group}"
#{placeholder-prefix}"
#name-color}"
#{message-color}"
#{player}"
#{receiver-prefix}"
#{receiver-color}"
#{receiver}"
#{sender}"
#{message}"
#You can change their order anyway you want, write them in msgformat or delete, and write them into each other as shown in:
#prefix: "§7[§7{group} �ffccGROUP§7]"
#Here {group} is used in {prefix}
Language settings
You can change messages if you want. They will be provided in folder lang.
You can find there ru.yml and eng.yml files.
This is messages that will be shown when you use commands.
messages:
This is info that will be shown when you use "/ghelp" command. (Not recommended to change)
commands:
Helpful info to maintain and change content of messages.
# Colors:
# 0 Black 8 dark gray
# 1 dark blue 9 light blue
# 2 dark green a light green
# 3 dark cyan (бирюзовый) b light cyan (голубой)
# 4 dark red c light red
# 5 purple d magenta
# 6 dark yellow e light yellow
# 7 light gray f white
# you can use hex colors with this syntax: "&#ffffff"
#f.e: "&#f2e77ePlayer not found."
Compatibility with other plugins
If player have LuckPerms prefix and PlaceholderAPI is installed on server, it can be showed in chat.
If you want to use Global chat, it is highly recomended to use SimpleGlobalChat
.
评论 0
登录后参与评分
还没有评论,来抢沙发吧