Fokuso
一个适用于 Fabric Minecraft(1.20.1)的客户端模组,使用过滤列表系统对聊天信息进行过滤,以移除第三方服务器上发送的垃圾信息。
你可以通过包含正则表达式模式的文件添加过滤器,甚至可以用自己的代码实现 ChatFilter。
命令
/chatfilters list
列出当前已加载的所有过滤列表及其启用的过滤器数量。
/chatfilters reload
从配置文件夹加载过滤列表
/chatfilters toggle <list> <enabled>
启用或禁用特定的过滤列表。
正则表达式过滤列表文件
可以通过向 fokuso 配置文件夹中添加扩展名为 .filters 的文件来添加过滤列表。
每一行对应一个不同的正则表达式模式。
空行和注释(以 # 开头的行)会被忽略。
在正则表达式过滤器中可以使用多种快捷方式,例如 \u 代表用户名。
| 快捷字符 | 含义 |
|---|---|
| p | 用户名前缀 |
| u | 用户名 |
# 用于移除所有关于达成成就的消息的简单过滤器。
\u has made the advancement \[.*?]
如果你创建了可能对他人有用的过滤列表,请分享它们,以便将其添加到本页面。
用法
此工具旨在作为一种简单的手段,在不允许或不希望修改源头的情况下隐藏聊天消息。 它主要用于移除第三方服务器上的聊天垃圾信息,但整合包创作者也可以使用它来移除其他模组产生的聊天垃圾信息。
Fokuso
A Fabric Minecraft (1.20.1) mod for client-side chat filtering using a filter list system to remove spam in chat which is sent on third party servers.
You can add filters with files containing regex patterns, or even implement a ChatFilter with your own code.
Commands
/chatfilters list
Lists all currently loaded filter lists and how many of their filters are enabled.
/chatfilters reload
Loads filter lists from config folder
/chatfilters toggle <list> <enabled>
Enable or disable a specific filter list.
Regex filter list files
Filter lists can be added by adding files to the fokuso config folder with the .filters file extension.
Each line is a different regex pattern.
Empty lines and comments (lines starting with #) are ignored.
It's possible to use several shortcuts in the regex filters, e.g. \u for usernames.
| Shortcut character | Meaning |
|---|---|
| p | Username prefix |
| u | Username |
# Simple filter to remove all messages regarding achieved achievements.
\u has made the advancement \[.*?]
If you create any filter lists that might be useful to others, please share them, so that they can be added to this page.
Usage
This is intended as a simple tool to hide chat messages when it's not possible or desirable to alter the source. It's primarily intended to be used to remove chat spam on third party servers but can also be used by modpack creators to remove chat spam from other mods.
下载 Fokuso
下载 Fokuso
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fokuso
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fokuso
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fokuso
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧