Chat Filters
A simple mod that filters chat messages based on a list of regular expressions (RegEx).
介绍
Chat Filters
A simple mod that filters chat messages based on a list of regular expressions.
It works by not allowing the message to appear if it matches a pattern specified in the configuration (blacklist) or if it doesn’t match a pattern (whitelist).
Note: it won’t remove any matching messages prior to adding a filter, nor bring back the ones already filtered even if you turn it off. It acts as if the messages never came through.
What are its features?
- Client-Side Chat Filtering.
- Use either a whitelist or a blacklist for chat messages.
Future plans?
- I’d like to remake pattern matching to use a more standardized system that supports flags input and doesn’t require the user to match the whole string.
Examples
Because Java’s built-in pattern system differs in syntax to for example JavaScript, here are some example filter patterns:
^\[SERVER\].*– every message starting with \[SERVER\]^<.*>.*– every player-sent chat message (on a non-modified minecraft server), eg.<Player1> Hello!.*aould.*– every message containing the word “aould”
Do I need anything else?
How do I Report Issues?
Please use the issue tracker linked at the top of the page to report any issues you encounter when using the mod. Include information about your mod list and attach any crash reports or logs you have.
常见问题
Chat Filters 支持哪些 Minecraft 版本?
Chat Filters 支持 Minecraft Java 版 1.21.9–26.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Chat Filters 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
spzla 的其他作品
查看全部 →
Beehive Tooltip
A fabric mod that improves item tooltips by displaying hidden statistics of beehives and bee nests.
Heartache
Improves HUD by implementing new heart types.
CoVisualiser
A client-side administration tool designed to ease the workflow of CoreProtect.
评论
登录后评论和评分