mojira.dev
REALMS-2514

Text Formatting Censored On Realms

If text formatting is typed out on Realms, it gets censored, and one of two things happen. Either the text formatting is replaced with ##, or in the case of signs, the text can disappear completely. Text formatting uses § combined with numbers or specific letters to get different effects, for example §l makes the text bold, or §1 makes text blue. This does work as intended on single player worlds, just not on realms

Linked issues

MCPE-99807 Censoring Some Words When Colored Resolved MCPE-100212 #### displays if you type Do, Do not, or don't in red color Resolved MCPE-112875 Text in anvil changes to pound symbols Resolved MCPE-130777 Realms doesn't support certain § fonts/colors Resolved MCPE-133849 In realms naming items with color codes often changes to pound symbol (#) for no reasonn Resolved

Attachments

Comments 7

I think it is a problem with the profanity detection they have.  Because I can usually type all my signs just fine using all different colors.  But it seems like there are a few "trigger" words that will replace text with ### or make the text invisible!  Very annoying!

Nobody has used the word "junk" since the 90's. I'm still having to use "rubbish chest".

I've found even things such as using spaces changes every thing to #s.

My realm does this with "April," but only in some cases. If I write "April Station" on a sign by itself it's fine, but when I add it after a couple other words it gets hashed. (Linebreaks are also not working properly but that's probably related to a different issue.) 

[media]

I've seen this frequently. Often, text formatted a specific color will be censored, but will not be censored if left unformatted or if formatted with a different color. For example, I've frequently found

§cDANGER

gets censored, but other variants, like

§4DANGER

or

§c! Danger !

may not be censored. (Or the censorship may apply to some of the other variants, but not the first example. It seems random.) The other content of the sign may also impact whether or not this censorship occurs, so the individual examples above aren't directly reproducible.

It's as if the censorship mechanism isn't using a text comparison, but some sort of hash algorithm that has way too many collisions in its output space. Sometimes, adding or removing a single character to the sign will be enough to cause it to render without censorship. Most times, changing or omitting color codes will prevent unexpected censorship.

What is wrong with 3 | 4 or THREE | FOUR or even 2 | 4? I am trying to map out a good chunk of a Realm and the map name keeps resetting when placed or whenever you make a new map (given it oddly resets the name set on the previous map). This is an issue in version 1.18.12.

Steps to Reproduce:

  1. Create a map and name it 3 | 4

  2. If it doesn't automatically reset, try placing it in a item frame or creating any new map.

Expected Results:

Map name stays as it was set

Observed Results:

Name is immediately reset.

Other map names & formats attempted & was reset:

  1. -1.2

  2. -2.-2

  3. NEG 2 | -2

Above naming formats revised to be accepted:

  1. 03 | 04 (But somehow every other way violates filter?)

  2. NEG 1 | 2

  3. NEG 2 | NEG 2

Additional Notes:

See the screenshots and video clip in this Google Drive folder. In the clip, you can see names 3 | 4 and THREE | FOUR be reset (watch hotbar upon attempting to place map in frame) while 03 | 04 works fine. Which doesn't make any sense as it's basically the exact same as the 2 that were reset.

The line breaks and text formatting on signs is also still a major issue. I've had to resort to command block messages in order to get around really stupid sign filtering. Below is an example of what I put compared to what is actually put on the sign.

§d Dirt
§bAmount: 128
§aBuy: 4g
§cSell: 2g

§dDirt ######### 128
§aBuy 4g ####### 2g

So utilizing "/tellraw" or "/msg" works better. Though I will add, I never expected the "Hashtag endemic" to invade MC as bad as it has most other games... Also, the formatting codes are regularly hit by false positives. §fKelp for example, thinks you're using abbreviations to swear. I'm just going to create a document that contains a lot of the false positives and post them here. This filter is really irritating and needs some major work.

Edit: This filter has invaded player worlds now too. I'd mark a chest just for all the text to vanish or be tagged.

migrated

(Unassigned)

Community Consensus

Bedrock

Retrieved