-
Notifications
You must be signed in to change notification settings - Fork 18
/
plugin.json
36 lines (31 loc) · 1.43 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
{
"id": "nodebb-plugin-beep",
"name": "NodeBB Censor Curse Words Plugin",
"description": "NodeBB Plugin that allows users to censor curse words in their posts.",
"url": "https://github.com/ninenine/nodebb-plugin-beep",
"library": "./index.js",
"templates":"public/templates",
"modules": {
"../admin/plugins/beep.js": "public/admin.js"
},
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "action:settings.set", "method": "onListChange" },
{ "hook": "filter:admin.header.build", "method": "admin.menu" },
{ "hook": "filter:parse.post", "method": "parse", "priority": 1 },
{ "hook": "filter:parse.raw", "method": "parseRaw", "priority": 1 },
{ "hook": "filter:parse.aboutme", "method": "parseRaw" },
{ "hook": "filter:parse.signature", "method": "parseSignature" },
{ "hook": "filter:post.getFields", "method": "post.getFields"},
{ "hook": "filter:topic.create", "method": "parseTopic" },
{ "hook": "filter:topic.edit", "method": "parseTopic" },
{ "hook": "filter:tags.filter", "method": "filterTags" },
{ "hook": "filter:topic.create", "method": "checkForIllegalWords" },
{ "hook": "filter:topic.edit", "method": "checkForIllegalWords" },
{ "hook": "filter:topic.reply", "method": "checkForIllegalWords" },
{ "hook": "filter:config.get", "method": "appendConfig" },
{ "hook": "filter:messaging.getTeaser", "method": "messaging.getTeaser" }
],
"languages": "languages",
"defaultLang": "en_GB"
}