TextFilter 图标

TextFilter

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0+1.21.10
本资源为搬运资源,原资源地址: https://modrinth.com/mod/textfilter
资源信息

Minecraft 版本: 1.21.10 1.21.11

平台: fabric

标签: utility

资源介绍

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 characters
  • blacklist — regex pattern of characters to remove from the whitelist
  • replacements — 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:

ko-fi


monobank

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Cobble Popper

价格:0 墨喵币
下载量:0

查看详情
Strawberry shader

价格:0 墨喵币
下载量:0

查看详情
Better Cave Dweller

价格:0 墨喵币
下载量:0

查看详情
FDs SkyHotbar Pink

价格:0 墨喵币
下载量:0

查看详情