TextFilter
This mod removes blacklist symbols from signs, books, and when renaming items in an anvil.
介绍
TextFilter
A Fabric mod that filters text in signs, books, anvil renaming, and chat messages.
Features
- Regex filtering — whitelist and blacklist character patterns
- Replacements — find-and-replace text substitutions (applied after regex filtering)
- Chat filtering — server-side chat message modification
- Config reload — in-game via
/textfilter reload - Bypass permissions — per-category and global bypass
Config
Config file: config/textfilter.json
{
"whitelist": "[\\u0020-\\u007e \\n § а-я іїєґ \\u00C0-\\u024F \\u2010-\\u2027 ≈≠∞±×÷€₴]",
"blacklist": "[ыъэ]",
"replacements": {
"xd": "😂"
}
}
whitelist— regex pattern of allowed charactersblacklist— regex pattern of characters to remove from the whitelistreplacements— key-value pairs for find-and-replace (applied after regex)
Unicode ranges reference
| Range | Block | Includes |
|——-|——-|———-|
| \u0020-\u007e | Basic Latin | Standard ASCII (space, letters, digits, punctuation) |
| \u00C0-\u024F | Latin-1 Supplement + Latin Extended-A | Accented European letters (À-ÿ, Ă-ž), «»°±²³µ·¹º¼½¾¿×÷ |
| \u2010-\u2027 | General Punctuation | Typographic dashes, quotes, ellipsis (–—’\”„…•‹›) |
Interactive tool: regexr.com · Unicode blocks: compart.com
If whitelist is empty — all symbols will be deleted.
Allow all symbols by putting
.as the whitelist.
Commands
| Command | Permission | Description |
|———|———–|————-|
| /textfilter reload | textfilter.reload or OP level 4 | Reload config from disk |
Permissions
| Permission | Description |
|———–|————-|
| textfilter.bypass | Bypass all text filtering |
| textfilter.signBypass | Bypass sign text filtering |
| textfilter.bookBypass | Bypass book text filtering |
| textfilter.anvilBypass | Bypass anvil rename filtering |
| textfilter.chatBypass | Bypass chat message filtering |
| textfilter.reload | Use /textfilter reload command |
Uses fabric-permissions-api.
Manage permissions with LuckPerms or similar.
Support me here:
常见问题
TextFilter 支持哪些 Minecraft 版本?
TextFilter 支持 Minecraft Java 版 1.20.1–1.21.11,共 14 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
TextFilter 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
somyk 的其他作品
查看全部 →
Private Horses
Sick of having your horse, donkey, or mule jacked? With this mod, you can relax — no one but you can ride or leash your animal now!
Borukva Modpack
Optimization and QoL modpack for best multiplayer experience!
Map Art Copyright
A small server side mod designed to note the author who created the map. Allows to disable map copying.
TNTQueue
The mod is designed to limit the number of simultaneously active primed TNT entities.

评论
登录后评论和评分