Skip to content

Setting up filters

Chat filters provide a way to automatically censor words, IPs, URLs, or any undesired content in chat.

Chat Filter Example

Filtering by literals

Literal filters allow you to block exact phrases, regardless of case.

chat.yml
    filter:
        # ...
        literalFilter:
        - i hope you step on a lego

This configuration will censor the phrase "i hope you step on a lego" in chat.

Filtering by RegEx

For advanced filtering, you can use custom RegEx rules:

    filter:
        # ...
        customRegexFilter:
        - ^dog

This rule will censor any word that starts with "dog". Regex filters provide flexible and powerful control over chat content.