

如图 上面是需要替换的文字
下面代码
为什么我抓包复制粘贴的不能用
这是有什么格式要求吗
- Replaces:
- Direct:
- - Original: '§f<§4Rothes§f> §f我正在聊天'
- Replacement: '1'
- - Original: '§8[§eMMOItems§8] §7Write in the chat, the id of the new item.'
- Replacement: '2'
- - Original: "§8[§eMMOItems§8] §7Type 'cancel' to abort editing"
- Replacement: '3'
- - Original: '§e§m-----------------------------------------'
- Replacement: '4'
执笔绘君衣 发表于 2023-10-24 23:12
无意义的颜色字符会导致匹配失败,你上图中 §f §f我正在聊天 出现了§f§4 在Original内 应去掉无异议的 ...
其实 这个我在聊天 是模板的文字....
错的不是哪里是那几句英文
Yuan_fan 发表于 2023-10-24 23:21
其实 这个我在聊天 是模板的文字....
错的不是哪里是那几句英文
你§f§8[§eMMOItems§8] 哪里 前面的§f§8也是一样,你匹配的时候添加了无意义的颜色字符
- Options:
- Enabled: true
- Priority: 1
- Version: '1'
- Author: Fantasy
- Match-Mode: Contain
- Filter:
- Listen-Types:
- - chat
- - title
- - boss-bar
- - window-title
- - itemstack
- - entity
- - sign
- ItemStack:
- # 仅 Json. 是否处理物品的完整 nbt. 默认为false.
- Handle-Nbt-Compound: false
- # 仅 Json. 是否处理物品的 Display nbt 组件. 默认为false.
- Handle-Nbt-Display-Compound: false
- # 是否处理物品的 Display nbt 组件中的各个元素. 默认为true.
- Handle-Nbt-Display-Entries: true
- User:
- Permission: 'null'
- Locales:
- - en_us
- - zh_cn
- Replaces:
- Direct:
- - Original: '§f<§f§4Rothes§f> §f我正在聊天'
- Replacement: '1'
- - Original: '§f§8[§eMMOItems§8] §7Write in the chat, the id of the new item.'
- Replacement: '2'
- - Original: "§f§8[§eMMOItems§8] §7Type 'cancel' to abort editing"
- Replacement: '3'
- - Original: '§f§e§m-----------------------------------------'
- Replacement: '4'
你这个不是和我的一样嘛.....
服务器版本 mmoitems版本 我去测试去
执笔绘君衣 发表于 2023-10-25 14:41
服务器版本 mmoitems版本 我去测试去
不用测了我知道问题在哪了 不知道为什么这两句话要加双引号才能加载