-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.json
44 lines (44 loc) · 1.26 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
42
43
44
{
"id": "nodebb-plugin-arma3-slotting",
"name": "NodeBB Arma3 match slotting",
"description": "define an ORBAT-like structure and let players select their slot",
"url": "https://github.com/gruppe-adler/nodebb-plugin-arma3-slotting",
"staticDirs": {
"templates": "public/templates",
"css": "public/css"
},
"templates": "public/templates",
"scripts": [
"./public/js/getPluginConfig.js",
"./public/js/iframeResizer.js",
"./public/js/eventTopicLoadedService.js",
"./public/plugin.js"
],
"hooks": [
{
"hook": "static:app.load",
"method": "setup",
"callbacked": true
},
{
"hook": "filter:admin.header.build",
"method": "admin.menu",
"callbacked": true
},
{
"hook": "action:attendance.set",
"method": "catchAttendanceChange",
"callbacked": true
},
{
"hook": "filter:attendance:slotted",
"method": "filterAttendanceSlotted",
"callbacked": true
},
{
"hook": "filter:middleware.buildHeader",
"method": "handleHeaders",
"callbacked": true
}
]
}