forked from julianlam/nodebb-plugin-mentions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
26 lines (26 loc) · 949 Bytes
/
plugin.json
File metadata and controls
26 lines (26 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"id": "nodebb-plugin-mentions",
"name": "Username Mentions",
"description": "NodeBB Plugin that allows users to mention other users by prepending an '@' sign to their username",
"url": "https://github.com/julianlam/nodebb-plugin-mentions",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:parse.post", "method": "parsePost" },
{ "hook": "filter:parse.raw", "method": "parseRaw" },
{ "hook": "action:post.save", "method": "notify" },
{ "hook": "action:post.edit", "method": "notify" },
{ "hook": "filter:notifications.addFilters", "method": "addFilters" },
{ "hook": "filter:user.notificationTypes", "method": "notificationTypes" }
],
"scripts": [
"static/autofill.js"
],
"acpScripts": [
"static/admin.js"
],
"languages": "languages",
"defaultLang": "en_GB",
"templates": "templates"
}