Skip to content

Mask adults' blocked words for kids, per viewer (0.6.0) - #11

Merged
mgilardi merged 1 commit into
mainfrom
mask-for-viewers
Nov 16, 2026
Merged

mgilardi merged 1 commit into
mainfrom
mask-for-viewers

Conversation

@mgilardi

Copy link
Copy Markdown
Contributor

D233/D235. New mask-for-viewers setting (off by default): players without mayor.filter.bypass see 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

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>
@mgilardi
mgilardi merged commit 16f4157 into main Nov 16, 2026
2 checks passed
@mgilardi
mgilardi deleted the mask-for-viewers branch November 16, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant