Skip to content

Add chat filter #28

@TheRealPear

Description

@TheRealPear

Since Mars pretty much handles punishment, it would make sense to add a chat filter. This chat filter could be customizable with Regex with the ability to automatically warn the user (by message) or punish them. It should also convert all-uppercase messages to lowercase, and prevent chat spamming, advertisement, and flooding by truncating repetitive messages. Ideally, it should be able to moderate signs, anvil, and books. Since Mars has DiscordSRV integration, it would be nice to see this apply to messages sent in the server-chat channel, which would save mods some time in deleting offensive messages.

In the past, Warzone used ChatFilter by a4papers, but we stopped using it after we migrated away from TGM. More recently, I tested ChatSentinel, which works great. However, neither plugin can read Mars chat. Rather than using third-party plugins, I figured it would be better to take this seriously and go all in on custom instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions