Skip to content
← All projects

// Personal ·

Luna Chat

The network's chat pipeline: colored/semantic message rendering, rate limiting, and a leetspeak-tolerant profanity and slur filter with automatic warnings, backed by remotely configured word lists.

  • Lua
  • GMod

Runs every chat message through rate limiting, profanity censoring, and backend logging before display. The filter uses leetspeak-tolerant patterns in two tiers — whole-word matching for general profanity and slurs, plus a stricter substring pass reserved for slurs only, to catch concatenated evasions without flagging ordinary words. Racist messages are fully suppressed and trigger an automatic warning. Word lists and thresholds are pulled from the backend rather than hardcoded, cached to disk for offline boot.