Simple-Station / Einstein-Engines

A Space Station 14 upstream repository, inspired by Baystation12.
https://einstein.simplestation.org
GNU Affero General Public License v3.0
24 stars 49 forks source link

Mirror 25908: SS14-17313 Chatfactor: Chat Censorship Systems #444

Open SimpleStation14 opened 2 weeks ago

SimpleStation14 commented 2 weeks ago

Mirror of PR #25908: SS14-17313 Chatfactor: Chat Censorship Systems from space-wizards space-wizards/space-station-14

bf98a6a8bb2a57fb149459d6b053eaaf6abc8cd7

PR opened by FairlySadPanda at 2024-03-07 12:13:16 UTC - merged at 2024-03-25 23:50:20 UTC


PR changed 4 files with 576 additions and 0 deletions.

The PR had the following labels:


Original Body

> > > > ## About the PR > Adds some systems to manage chat censorship: > > 1. No-op: does nothing > 2. SimpleCensor: a regex-free censor with a variety of rules to use > 3. RegexCensor: a censor that uses regex. > > This exposes a singleton backed by a builder pattern (ChatCensor) that is set up, probably during the code init phase, and then globally available for your censorship needs. > > ## Why / Balance > Partial fulfilment of #17313 > > ## Technical details > CE wants regex, CE gets regex > > Otherwise SimpleCensor is designed to be usable by people who don't want to faff with regex. > > This would be setup during server or client init, so would be driven by Cvars. > > ## Media > > > - [x] I have added screenshots/videos to this PR showcasing its changes ingame, **or** this PR does not require an ingame showcase > > ## Breaking changes > nope > **Changelog** > nope