This plugin allows you to censor profanity on your Mattermost server. The plugin checks all messages for matches against the configured "Bad words list" before they are posted to any channel. The characters in any word matches are replaced with a series of "*"s.
Supported Mattermost Server Versions: 5.2+
Plugin Marketplace
Go to Main Menu > Plugin Marketplace in Mattermost.
Search for "Profanity Filter" or manually find the plugin from the list and click Install
Once the plugin has downloaded and been installed, click Configure.
Upload this file in the Mattermost System Console under System Console > Plugins > Management to install the plugin. To learn more about how to upload a plugin, see the documentation.
Activate the plugin at System Console > Plugins > Management.
Usage
You can edit the bad words list in System Console > Plugins > Profanity Filter > Bad words list.
In this list, you can use Regular Expressions to match bad words. For example, bad[[:space:]]?word will match both badword and bad word.
Choose to either censor the bad words with a character or reject the post with a custom warning message:
main handles deployment of the plugin to a development server using either the Client4 API or by copying the plugin bundle into a sibling mattermost-server/plugin directory.
main handles deployment of the plugin to a development server using either the Client4 API or by copying the plugin bundle into a sibling mattermost-server/plugin directory.