-
Notifications
You must be signed in to change notification settings - Fork 40
/
plugin.json
32 lines (32 loc) · 1.22 KB
/
plugin.json
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
27
28
29
30
31
32
{
"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",
"upgrades": [
"upgrades/mentions_delete_mentions_set_zset.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": "action:posts.purge", "method": "actionPostsPurge" },
{ "hook": "action:messaging.save", "method": "notifyMessage" },
{ "hook": "filter:notifications.addFilters", "method": "addFilters" },
{ "hook": "filter:user.notificationTypes", "method": "notificationTypes" },
{ "hook": "filter:users.addFields", "method": "addFields" }
],
"scripts": [
"static/autofill.js"
],
"modules": {
"../admin/plugins/mentions.js": "./static/admin.js"
},
"languages": "languages",
"defaultLang": "en_GB",
"templates": "templates"
}