A mattermost plugin to disable direct messages and group chats.
-
Make sure you have following components installed:
-
Go - v1.12 - https://golang.org/doc/install
Note: If you have installed Go to a custom location, make sure the $GOROOT variable is set properly. Refer Installing to a custom location.
-
NodeJS - v10.11 and NPM - v6.4.1 - https://docs.npmjs.com/getting-started/installing-node
-
Make
-
- Run the following commands to prepare a compiled, distributable plugin zip:
$ mkdir -p ${GOPATH}/src/github.com/Brightscout
$ cd ${GOPATH}/src/github.com/Brightscout
$ git clone [email protected]:Brightscout/mattermost-plugin-disable-dm.git
$ cd mattermost-plugin-disable-dm
$ make dist
- This will produce three tar.gz files in
/dist
directory corresponding to various platforms:
Flavor | Distribution |
---|---|
Linux | mattermost-plugin-disable-dm-v<X.Y.Z>-linux-amd64.tar.gz |
MacOS | mattermost-plugin-disable-dm-v<X.Y.Z>-darwin-amd64.tar.gz |
Windows | mattermost-plugin-disable-dm-v<X.Y.Z>-windows-amd64.tar.gz |
This will also install, Glide - the Go package manager.
- Make sure that the plugin uploads are enabled in
PluginSettings.EnableUploads
in yourconfig.json
file. - Go to System Console > Plugins (Beta) > Management and set
Enable Plugins
totrue
. - From System Console > Plugins (Beta) > Management, upload the plugin generated above based on the OS of your Mattermost server.
- Once installed, open System Console > Plugins (Beta) > Team Membership in left-hand sidebar and configure the plugin settings.
- Enable the plugin from System Console > Plugins (Beta) > Management.
Made with ♥ by Brightscout