TextReplacer
一个使用 OneConfig 来视觉替换任意文本的模组。

变量
该模组支持在匹配文本和替换文本中使用变量。这些变量会自动替换为其当前值。
例如,你可以使用变量来更改你的用户名颜色,或替换计分板中显示的服务器 IP。要使用变量,请在其名称前加上段落符号(¶)。
可用变量: username、serverIp、serverDomain、hypixelScoreboardIp
如果你有新的变量想法,请创建一个 Issue!
匹配过滤器
每个替换操作在匹配文本时都可以忽略某些字符。这些过滤器同时适用于目标文本和被匹配的文本。
- 格式化代码 – 忽略
§格式化代码,因此§cHello可以匹配Hello。 - 无效字符 – 忽略不会渲染的无效字符,常见于 Hypixel 等服务器的计分板中。
如果你的替换未按预期工作(例如尝试匹配计分板行时),可能需要使用这些过滤器。
TextReplacer
A mod using OneConfig to visually replace any text.

Variables
The mod supports variables in both the text you want to match and the replacement text. These variables are automatically replaced with their current values.
For example, you can use variables to change the color of your username or replace the server IP displayed in the scoreboard. To use a variable, prefix its name with the pilcrow sign (¶).
Available variables: username, serverIp, serverDomain, hypixelScoreboardIp
If you have an idea for a new variable, create an issue!
Match Filters
Each replacement can ignore certain characters when matching text. These filters apply to both the target and the text being matched.
- Formatting codes – ignores
§formatting codes, so§cHellomatchesHello. - Invalid characters – ignores invalid characters that do not render, commonly found in scoreboards like on Hypixel.
You may have to use these filters if your replacement is not working as expected, like when trying to match scoreboard lines.
下载 TextReplacer
下载 TextReplacer
下载 TextReplacer
下载 TextReplacer
下载 TextReplacer
下载 TextReplacer
下载 TextReplacer
更新日志
- 在替换中添加匹配过滤器
- 允许在匹配文本时忽略格式化代码和无效字符
- 无效字符是指那些无法渲染的字符,常见于 Hypixel 等平台的计分板中
- 添加“允许空替换”设置
- 启用后,空替换将删除目标文本,而不是被忽略
更新日志
- 更新到 OneConfig 1.5.0
- 使用公共 UI API 替代内部 UI 代码
- 这应该能让模组在未来 OneConfig 更新中更加稳定
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧