跳到正文

Fokuso

作者:Qaz

Configurable client-side chat filtering

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 支持哪些 Minecraft 版本?

Fokuso 支持 Minecraft Java 版 1.17–1.20.1,共 7 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Fokuso 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Qaz 的其他作品

查看全部 →