mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-08 17:57:02 +08:00
feat: add sensitive word filter for chat messages
Implement AC automaton-based filtering using a sensitive lexicon loaded from a JSON asset file. The filter is applied to both player names and chat messages before broadcasting, and can be toggled via the `sensitive_filter` config option.
This commit is contained in:
4
assets/SensitiveLexicon.json
Normal file
4
assets/SensitiveLexicon.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user