Repository navigation
Mask adults' blocked words for kids, per viewer (0.6.0) - #11
Merged
Merged
Conversation
D233 and D235: where adults and kids play together, adults write freely and kids see their blocked words as ****. A new mask-for-viewers setting in filter.yml, off by default. Players without mayor.filter.bypass are sent their own masked copy of an adult's chat line, because a signed message carries the original words even when rendered differently. Private messages from adults to kids are rewritten masked. Signs, books and item names are stored once, so with the setting on they're saved masked for everyone; per viewer comes later. Kids' own blocked words are still stopped. 48 unit tests and 75/75 live bot checks on Paper 26.3. Signs and anvil renames aren't covered by bots, 26.2 wasn't rerun, and nothing has been seen in a real game client. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
D233/D235. New
mask-for-viewerssetting (off by default): players withoutmayor.filter.bypasssee an adult's blocked words as****in chat and private messages; adults see them as written. Signs, books and item names are saved masked for everyone while it's on. Kids' own blocked words are still stopped.Tested: 48 unit tests (6 new), 75/75 live bot checks on Paper 26.3 (8 new). Not covered: signs and anvils (bots can't), 26.2 live, a real game client.
🤖 Generated with Claude Code