NameProtect
适用于 Fabric 1.21.4 的客户端 Minecraft 模组。使用自定义规则过滤并替换屏幕上的昵称和聊天文本。服务器端无法察觉——纯视觉修饰,仅在客户端运行。
功能特性
- 昵称过滤 - 在聊天、标签页列表、头顶名称板以及团队彩色显示中替换匹配的玩家名称
- 聊天替换 - 将所有传入的聊天消息应用规则
- 自定义规则 - 定义任意数量的
关键词 → 替换词配对 - 不区分大小写匹配 - 规则
noob可匹配NOOB、Noob、nOoB - Unicode 支持 - 兼容非 ASCII 字符名称(如西里尔字母等)
- 实时配置 - 规则以 JSON 格式持久化保存,无需重启即可重新加载
- 零服务器影响 - 纯客户端 Mixin 实现,不发送任何数据包
命令
所有命令均在 /nameprotect 下于客户端执行:
| 命令 | 操作 |
|---|---|
/nameprotect set <word> <replacement> |
添加或更新一条规则 |
/nameprotect remove <word> |
删除一条规则 |
/nameprotect list |
显示所有当前生效的规则 |
/nameprotect reload |
从磁盘重新加载配置文件 |
/nameprotect clear |
清除所有规则 |
示例
/nameprotect set Notch SteveTheLegend
/nameprotect set badword ***
此后,聊天中或头顶显示出现的 "Notch" 将渲染为 "SteveTheLegend",而 "badword" 则变为 "***"。
配置文件
规则存储在 .minecraft/config/nameprotect.json:
{
"notch": "SteveTheLegend",
"badword": "***"
}
你可以直接编辑此文件,然后运行 /nameprotect reload 使其生效。
依赖要求
- Minecraft 1.21.4
- Fabric Loader 0.16.0+
- Fabric API
- Java 21
安装步骤
- 为 1.21.4 安装 Fabric Loader
- 将 Fabric API 放入
mods/目录 - 将 NameProtect jar 文件放入
mods/目录 - 启动游戏——在游戏中使用
/nameprotect命令
注意事项
- 仅限客户端使用——不适用于服务端,也无需在服务端安装
- 已知与主流模组无 Mixin 冲突
- 规则仅应用于显示效果——聊天记录文件中仍保留原始文本
许可证
MIT - Reizoo
NameProtect
Client-side Minecraft mod for Fabric 1.21.4. Filters and replaces nicknames and chat text on your screen using custom rules. Server sees nothing - purely visual, runs only on your client.
Features
- Nickname filtering - replaces matching player names in chat, tab list, nameplates above heads, and team-colored displays
- Chat replacement - applies rules to all incoming chat messages
- Custom rules - define any number of
word → replacementpairs - Case-insensitive matching - rule
noobmatchesNOOB,Noob,nOoB - Unicode support - works with non-ASCII names (Cyrillic, etc.)
- Live config - rules persist in JSON, reload without restart
- Zero server impact - pure client-side mixins, no packets sent
Commands
All commands run client-side under /nameprotect:
| Command | Action |
|---|---|
/nameprotect set <word> <replacement> |
Add or update a rule |
/nameprotect remove <word> |
Delete a rule |
/nameprotect list |
Show all active rules |
/nameprotect reload |
Reload config from disk |
/nameprotect clear |
Remove all rules |
Example
/nameprotect set Notch SteveTheLegend
/nameprotect set badword ***
After this, any occurrence of "Notch" in chat or above heads renders as "SteveTheLegend", and "badword" becomes "***".
Config
Rules stored at .minecraft/config/nameprotect.json:
{
"notch": "SteveTheLegend",
"badword": "***"
}
You can edit this file directly, then run /nameprotect reload.
Requirements
- Minecraft 1.21.4
- Fabric Loader 0.16.0+
- Fabric API
- Java 21
Installation
- Install Fabric Loader for 1.21.4
- Drop Fabric API into
mods/ - Drop NameProtect jar into
mods/ - Launch - use
/nameprotectin-game
Notes
- Client-side only - does not work on the server side, does not need to be on the server
- No mixin conflicts known with major mods
- Rules apply to display only - chat history files store original text
License
MIT - Reizoo
下载 NameProtected
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NameProtected
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NameProtected
下载 NameProtected
下载 NameProtected
下载 NameProtected
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧