建议、错误报告或疑问?请使用插件反馈表单。
ChatSystem
一款集员工聊天、私聊和聊天过滤于一体的插件。
默认情况下,ChatSystem 会模糊并阻止服务器中的广告和垃圾信息。它还会将您指定的任何词语标记为星号(*)。它还能识别常见的绕过过滤器的方法(如常见拼写错误)。禁言和封禁操作将传递给您当前的惩罚插件。
概览
- 自定义聊天过滤器,每个过滤类别都有相应动作。还支持拉伸字符、L33t 语、重音字符和规范化处理
- 白名单意味着像 'assassin' 这样的词不会被过滤
- 基于排名的彩色聊天支持
- 提及玩家时会播放声音
- 可点击链接及其他一些可点击元素
- 私聊功能,通过
/msg、/ignore、/block、/reply命令实现 - 员工聊天,包括公告、慢速模式、影子禁言、清除、锁定、暂停和公告功能
- 跨服务器消息中继(默认关闭,但可启用)
- 命令保护(默认关闭,但可启用)
功能
- 过滤器。针对告示牌、书籍、铁砧及所有其他文本,按类别提供精确匹配、通配符或正则表达式文本。可取消、警告、通知员工、记录日志、发送 Webhook 或使用惩罚命令(例如
PUNISH:tempmute:10m)。支持审查内容。 - 格式。根据权限使用 MiniMessage、十六进制颜色或传统颜色。@ 提及会在操作栏显示工具提示并播放声音。受信任的排名可以拥有可点击链接。支持 PlaceholderAPI。支持命名聊天或半径聊天。两者均为可选。
- 私聊。忽略和屏蔽列表。隐私设置允许指定谁可以向您发送私聊消息。可选声音。离线邮件和消息历史记录。员工社交间谍功能可启用或禁用。
- 员工。使用
/sc或在消息前加#前缀进行员工聊天。支持/chatlock、/chatclear、/chatpause、/cs shadowmute、/cs slowmode命令。 - 命令保护。隐藏
/version和/pl。按组阻止或允许命令。被阻止的命令不会出现在 Tab 补全中。过长的命令将被丢弃,用户会被踢出。 - 反垃圾信息。重复消息间隔 15 秒,消息间间隔 750 毫秒。可选功能,可启用/禁用。
- 附加功能。排行榜、 trivia(冷知识)、表情反应、聊天标签、群组聊天、使用您自己的 LibreTranslate 实例进行自动翻译以及与 Simple Voice Chat 同步禁言状态。默认全部关闭。部分功能需要
advanced-mode: true并重启服务器。
支持 14 种语言。只需将您的语言文件放入 language/<code>.yml 即可支持另一种语言。
额外信息
- ChatSystem 本身不处理任何禁言或封禁。当使用
/cs mute时,它会将该操作传递给活动中的惩罚插件。支持的插件:AdvancedBan、BanManager、CMI、EssentialsX、HuskBans、LibertyBans 或 LiteBans。 - 如果使用聊天格式化插件,请从
config.yml中禁用 ChatSystem 的聊天功能,以防止聊天格式冲突。 - Sponge 版本缺少一些功能。命令保护、群组聊天、表情反应、聊天游戏、排行榜、标签和翻译仅在 Bukkit 版本中可用。
- 可搜索的聊天日志默认禁用且不会保存任何日志。只需开启即可开始保存。
- 要禁用玩家举报(也称为聊天签名),必须设置
advanced-mode: true,并且还需在配置选项中启用相关选项。
信息
命令
所有命令均可通过 /cs、/chatsystem 或 /chat 输入。
| 命令 | 功能说明 |
|---|---|
/cs check <text> |
检查文本是否符合过滤规则 |
/cs add <category> <entry>, /cs remove <category> <entry> |
修改屏蔽列表 |
/cs history <player> [page] |
查看违规记录历史 |
/cs stats |
查看过滤统计信息 |
/cs search <text> [time] [page] |
搜索聊天日志 |
/cs slowmode <seconds|off> |
开启聊天慢速模式 |
/cs mute <player> [duration] [reason], /cs unmute <player> |
需要第三方惩罚系统支持 |
/cs shadowmute <player>, /cs unshadowmute <player> |
仅发送者可见,但仍会记录 |
/cs doctor, /cs debug |
自检功能 |
/cs reload 或 /csreload |
重新加载配置 |
/chatpause [reason], /chatlock [reason], /chatunlock, /chatclear |
聊天控制 |
/announce [chat|actionbar|title|bossbar] <message> |
发布公告 |
/sc <message> 或 /staffchat |
员工频道(Staff Chat) |
/msg <player> <message>, /reply <message> |
私信(也包含 /tell 和 /w) |
/ignore, /unignore, /block, /unblock <player> |
聊天保护(可通过特定权限绕过) |
/chatsettings |
专注模式、提及提醒、私信隐私、加入消息 |
/channel <name> |
切换频道 |
/tag <name>, /react <name> [player], /groupchat <create|invite|leave|toggle|send|list>, /chatlanguage <code> |
其他附加命令 |
权限节点
OP(管理员)拥有所有权限。普通用户默认拥有标签、翻译、表情回应、提及、频道、聊天设置和群聊权限。
| 节点 | 涵盖权限 |
|---|---|
chatsystem.command |
管理命令 |
chatsystem.staff.command |
锁定、解锁、慢速模式、公告、清除、暂停 |
chatsystem.staffchat.use, chatsystem.staffchat.see |
使用及查看员工频道 |
chatsystem.filter.alerts, chatsystem.filter.bypass |
查看过滤警报及绕过过滤 |
chatsystem.chat.color, .color.hex, .color.minimessage |
彩色聊天,私信的对应节点与 chatsystem.pm. 相同 |
chatsystem.chat.links |
聊天中的可点击链接 |
chatsystem.chat.mention |
提及用户 |
chatsystem.pm.socialspy, chatsystem.pm.socialspy.vanished |
社交间谍功能,包括隐身用户 |
chatsystem.ignore.exempt, chatsystem.block.exempt |
忽略/豁免屏蔽 |
chatsystem.antispam.bypass |
绕过反垃圾邮件 |
chatsystem.commands.group.<name>, chatsystem.commands.bypass |
命令保护 |
chatsystem.bypass |
绕过所有限制 |
配置
模块更新检测器、多服务器支持、数据存储、集成和模块开关均在 config.yml 中管理。各模块单独存储在其自己的文件夹中,并带有启用设置。
plugins/ChatSystem/
├── config.yml
├── messages.yml
├── chat/config.yml
├── chat-filter/config.yml, allowlist.yml, actions.yml, block-list.yml
├── anti-spam/config.yml
├── command-protection/config.yml
├── private-messages/config.yml, messages.yml
├── staff-chat/config.yml
├── join-messages/config.yml
├── group-chat/config.yml
├── translation/config.yml
├── simple-voice-chat/config.yml
├── language/en.yml, 13 more
└── advanced-settings/ (仅在 advanced-mode 为 true 且发生重启时存在)
chat-games/
tags/
leaderboard/
player-settings/
reactions/
brand.yml
chat-reports.yml
集成支持
安装后自动发现。非必需项。
- Vault, LuckPerms, PlaceholderAPI
- 用于过滤升级和
/cs mute的惩罚插件:BanManager, CMI, EssentialsX, AdvancedBan, LibertyBans, LiteBans, HuskBans - 隐身插件用于允许在工作人员隐身时使用社交间谍功能和私信:PremiumVanish, SuperVanish, VanishSystem
- Simple Voice Chat 集成,同步静音状态,默认关闭
- Discord 过滤通知通过 Webhook 实现,默认关闭
开发者 API
ChatSystemService chat = Bukkit.getServicesManager().load(ChatSystemService.class);
if (chat == null) {
return; // ChatSystem 未安装
}
if (!chat.check(player.getUniqueId(), text).isEmpty()) {
return; // 聊天过滤器将标记此文本
}
chat.setFriendProvider((first, second) -> friends.areFriends(first, second));
使用 Bukkit 的 ServicesManager 获取对 ChatSystem 的访问权限。如果未安装 ChatSystem,则返回 null,因此请先对此进行检查。check 方法会将文本通过聊天过滤器运行,但不会触发任何过滤动作。setFriendProvider 允许好友插件提供确定好友关系的机制,以实现“仅限好友”的私信功能。事件:ChatSystemFilterDetectEvent、PrivateMessageSendEvent(均可取消)、ChatSystemFilterActionEvent、PrivateMessageReceiveEvent 和 PrivateMessageBlockEvent。
Suggestions, bug reports or questions? Please use the plugin feedback form.
ChatSystem
A plugin that includes staff chat, private messaging and chat filtering in one.
By default ChatSystem will blur and block ads and spam from your server. It will also star any words you specify. It will also account for the common methods of attempting to bypass a filter (common misspellings). Mutes and bans will pass through your current punishment plugin.
Overview
- Custom chat filter with actions for each filter category. Also supports stretched characters, l33t, accents and normalization
- Allowlisting means words such as 'assassin' will not be filtered
- Support for colored chat based on rank
- Mentioning players will make a sound
- Clickable links and a few other clickables
- Private messaging via
/msg,/ignore,/block,/reply - Staff chat, announcement, slowmode, shadow mute, clear, lock, pause and announcements
- Cross server message relaying (off by default, but can be enabled)
- Command protection (off by default, but can be enabled)
Features
- Filter. Exact, wildcard or regex text per category, for signs, books, anvils and all other text. Can cancel, warn, notify staff, log, send webhook or use punishment command e.g.
PUNISH:tempmute:10m. Can censor. - Format. MiniMessage, hex or legacy colors depending on permission. @ mentions that display a tool tip in the action bar and play a sound. Trusted ranks can have clickable links. PlaceholderAPI support. Named or radius chat. Both are optional.
- Private messages. Ignore and block lists. Privacy setting to set who can send you private messages. Optional sounds. Offline mail and message history. Staff social spying can be enabled or disabled.
- Staff. Staff chat using
/scor#prefix in front of messages./chatlock,/chatclear,/chatpause,/cs shadowmute,/cs slowmode - Command protection. Hide
/versionand/pl. Block or allow commands per group. Blocked commands won't appear in tab complete. Oversized commands will be dropped and the user will be kicked. - Anti spam. 15 seconds between repeats and 750 ms between messages. Optional and can be enabled/disabled.
- Extras. Leaderboards, trivia, reactions, chat tags, group chat, auto-translate using your own LibreTranslate instance and sync muting with Simple Voice Chat. Default: All off. Some features require
advanced-mode: trueand a server restart.
Supports 14 languages. Simply drop in your own language file in language/<code>.yml to support another language.
Extra Information
- ChatSystem does not handle any mutes or bans itself. When using
/cs muteit will pass the action onto the active punishment plugin. Supported plugins: AdvancedBan, BanManager, CMI, EssentialsX, HuskBans, LibertyBans or LiteBans. - If a chat formatting plugin is in use then disable ChatSystem's chat functionality from
config.ymlto prevent conflicting chat formatting. - The Sponge build is missing a few features. Command protection, group chats, reactions, chat games, leader boards, tags and translation are only available on Bukkit builds.
- Searchable chat logs are disabled by default and no logs are saved. Simply turn them on to start saving.
- To disable player reporting (also known as chat signing)
advanced-mode: truemust be set, and the config option must also be enabled.
Information
Commands
All commands can be inputted via /cs, /chatsystem or /chat.
| Command | What it does |
|---|---|
/cs check <text> |
Checks text against filters |
/cs add <category> <entry>, /cs remove <category> <entry> |
Modify the block list |
/cs history <player> [page] |
View history of filter violations |
/cs stats |
View filter statistics |
/cs search <text> [time] [page] |
Search chat log |
/cs slowmode <seconds|off> |
Slowmode on chat |
/cs mute <player> [duration] [reason], /cs unmute <player> |
Requires a third party punishment system |
/cs shadowmute <player>, /cs unshadowmute <player> |
Only visible to the sender but still recorded |
/cs doctor, /cs debug |
Self test |
/cs reload or /csreload |
Reload |
/chatpause [reason], /chatlock [reason], /chatunlock, /chatclear |
Chat control |
/announce [chat|actionbar|title|bossbar] <message> |
Announcement |
/sc <message> or /staffchat |
Staff chat |
/msg <player> <message>, /reply <message> |
Private messages also includes /tell and /w |
/ignore, /unignore, /block, /unblock <player> |
Chat protection (can be circumvented with certain permissions) |
/chatsettings |
Focus mode, mention alerts, privacy on PMs, join messages |
/channel <name> |
Change channels |
/tag <name>, /react <name> [player], /groupchat <create|invite|leave|toggle|send|list>, /chatlanguage <code> |
Additional commands |
Permissions
OP has all. Normal users have tags, translations, reactions, mentions, channels, chat settings, group chats by default.
| Node | Covers |
|---|---|
chatsystem.command |
Admin commands |
chatsystem.staff.command |
Lock, unlock, slow mode, announce, clear, pause |
chatsystem.staffchat.use, chatsystem.staffchat.see |
Use and view staff chat |
chatsystem.filter.alerts, chatsystem.filter.bypass |
See filter alerts and bypass filter |
chatsystem.chat.color, .color.hex, .color.minimessage |
Color chat, same nodes as chatsystem.pm. for PMs |
chatsystem.chat.links |
Clickable links in chat |
chatsystem.chat.mention |
Mentioning users |
chatsystem.pm.socialspy, chatsystem.pm.socialspy.vanished |
Social spy including vanished users |
chatsystem.ignore.exempt, chatsystem.block.exempt |
Ignore/exempt from blocking |
chatsystem.antispam.bypass |
Bypass antispam |
chatsystem.commands.group.<name>, chatsystem.commands.bypass |
Command protection |
chatsystem.bypass |
Bypass all |
Configuration
The module update checker, multi server support, data storage, integrations and module switches are managed in config.yml. Modules are stored individually in their own folder with an enabled setting.
plugins/ChatSystem/
├── config.yml
├── messages.yml
├── chat/config.yml
├── chat-filter/config.yml, allowlist.yml, actions.yml, block-list.yml
├── anti-spam/config.yml
├── command-protection/config.yml
├── private-messages/config.yml, messages.yml
├── staff-chat/config.yml
├── join-messages/config.yml
├── group-chat/config.yml
├── translation/config.yml
├── simple-voice-chat/config.yml
├── language/en.yml, 13 more
└── advanced-settings/ (only if advanced-mode is true and a restart occurs)
chat-games/
tags/
leaderboard/
player-settings/
reactions/
brand.yml
chat-reports.yml
Integrations
Automatically discovered when installed. None are necessary.
- Vault, LuckPerms, PlaceholderAPI
- Punishment plugins for filter escalation and
/cs mute: BanManager, CMI, EssentialsX, AdvancedBan, LibertyBans, LiteBans, HuskBans - Vanish plugins are used to allow social spy and private messaging while a staff member is invisible: PremiumVanish, SuperVanish, VanishSystem
- Simple Voice Chat integration that syncs mutes, off by default
- Discord filter notification via webhook, off by default
Developer API
ChatSystemService chat = Bukkit.getServicesManager().load(ChatSystemService.class);
if (chat == null) {
return; // ChatSystem is not installed
}
if (!chat.check(player.getUniqueId(), text).isEmpty()) {
return; // the chat filter would flag this text
}
chat.setFriendProvider((first, second) -> friends.areFriends(first, second));
Uses Bukkit's ServicesManager to get access to ChatSystem. Returns null if ChatSystem is not installed, so check for this first. The check method will run the text through the chat filter, but not cause any of the filter actions to occur. setFriendProvider allows a friends plugin to provide a mechanism to determine friends for friends only private messages. Events: ChatSystemFilterDetectEvent, PrivateMessageSendEvent (both cancelable), ChatSystemFilterActionEvent, PrivateMessageReceiveEvent, and PrivateMessageBlockEvent.
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ChatSystem
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
v1.3.9 更新日志
- 修复了与 [inv] 预览相关的物品复制漏洞
- [item] 悬停时现在显示真实物品
- 过滤器现在能识别相似字母和小写字母
- 过滤器现在会检查链接和隐藏格式
- 重复的大写消息现在会被拦截
- 不再向网络或 Discord 泄露派对和城镇聊天内容
- 举报答案不再泄露到群组或员工聊天中
- 修复了跨服务器私信丢失的问题
- 昵称现在会在聊天中显示
- /r、/tell 和 /w 现在可与 EssentialsX 配合使用
- 修复了 Tab 补全错误
- 改进了所有语言的翻译
- 修复了若干错误
- 小幅更新
v1.3.8 更新日志
- 更新了 18 种语言的翻译
- 未修改的语言文件现在可以自动更新
- 损坏的配置文件现在会保存上次正常工作的配置,并在控制台中发送错误信息
- 命令保护现在报告错误而不是关闭
- 修复了若干 bug
- 进行了少量更新
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧