-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathplugin.json
41 lines (41 loc) · 1.07 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
33
34
35
36
37
38
39
40
41
{
"id": "nodebb-plugin-reputation-rules",
"name": "Reputation Rules Plugin for NodeBB",
"description": "Reputation rules to prevent abuse and make it more reliable",
"url": "https://github.com/NodeBB-Community/nodebb-plugin-reputation-rules",
"library": "./library.js",
"scss": [
"public/scss/style.scss"
],
"modules": {
"../admin/plugins/reputation-rules.js": "public/admin.js"
},
"hooks": [
{
"hook": "action:post.upvote", "method": "upvote"
},
{
"hook": "action:post.downvote", "method": "downvote"
},
{
"hook": "action:post.unvote", "method": "unvote"
},
{
"hook": "filter:post.upvote", "method": "filterUpvote"
},
{
"hook": "filter:post.downvote", "method": "filterDownvote"
},
{
"hook": "filter:post.unvote", "method": "filterUnvote"
},
{
"hook": "filter:admin.header.build", "method": "adminHeader"
},
{
"hook": "static:app.load", "method": "onLoad"
}
],
"templates": "./public/templates",
"settingsRoute": "/admin/plugins/reputation-rules"
}