-
Bug
-
Resolution: Unresolved
-
None
-
1.20.4, 1.20.6
-
None
-
Plausible
-
Text
-
Normal
-
Platform
Related to MC-264829
When the vanilla text filter is set up, and a non-filtered player signs a book and quill
in such a way that the whole title is filtered,
client on which the text filter should apply can see the original title.
this is the same issue as MC-264829, where any fully filtered strings are set to empty in the nbt, and while displaying the client skips empty titles, falling back onto the unfiltered version, rather than the items name.
Reproduction
- Be on a server with this vanilla text filtering set up.
As far as I am aware, Realms should work (not sure about it fully blocking messages tho, for actual reproducibility see below)
To run your own server with text filtering, I provide a demo server. for setup, copy the config found here into text-filtering-config in server.properties
NOTE: this text filter server logs all received events to a discord web-hook, see here.
in the config, maybe change hashes to drop to 0, so even partially filtered text is fully dropped - on a client WITHOUT text filtering enabled:
sign a book, when asked for the title enter anything that would get a chat message fully dropped.
if using the demo server above, enter "123" which guarantees this - give the book to the client with text filtering enabled
- on the client WITH text filtering enabled:
- observe that the book still has its original title:
do /data get entity @s SelectedItem and observe that {title: {filtered:"", raw: ...}} is present - create a new book in the same way as before
- observe that the book items new name visible is "Written Book"
(and nbt only has the title tag present {title: {raw: ""}})
Correct, Expected behaviour
- relates to
-
MC-264829 Text Filter on signs doesn't hide if fully filtered
- Resolved