forked from yossizahn/nodebb-plugin-chat-perms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
19 lines (19 loc) · 956 Bytes
/
plugin.json
File metadata and controls
19 lines (19 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"id": "nodebb-plugin-chat-perms",
"name": "Chat Permissions",
"description": "Advanced chat permissions with privacy warnings and keyword alerts",
"version": "2.0.0",
"library": "./lib.js",
"acpScripts": ["static/lib/admin.js"],
"hooks": [
{ "hook": "filter:messaging.canGetMessages", "method": "canGetMessages" },
{ "hook": "filter:messaging.canGetRecentChats", "method": "canGetMessages" },
{ "hook": "filter:messaging.canReply", "method": "canReply" },
{ "hook": "static:messaging.canMessageUser", "method": "canMessageUser" },
{ "hook": "static:messaging.canMessageRoom", "method": "canMessageRoom" },
{ "hook": "filter:messaging.isUserInRoom", "method": "isUserInRoom" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "static:app.load", "method": "init" }
],
"templates": "static/templates"
}