Skip to content

Display obfuscated text better #72

@TechnicJelle

Description

@TechnicJelle

Current situation

In 64a790e I added the initial implementation of obfuscated text.

Text is initially obfuscated on the server by replacing the original string with blocks.
The replacement has the same amount of characters that the original text had.

Then, on the website, that text is obfuscated every second, though some JavaScript.

Problems

The main problem with this is that it does not match the length in pixels of the original text, which is something that happens in-game.

I am also open for suggestions on optimizations of this JavaScript code, because I can imagine it would not be very fast on worlds with a lot of signs.

If it has been optimised more, perhaps it could be run more often than 1 second, like in-game, as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions