-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
92 lines (92 loc) · 3.19 KB
/
Copy pathplugin.json
File metadata and controls
92 lines (92 loc) · 3.19 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "adb-plugin-aegis",
"displayName": "Aegis",
"version": "1.1.0",
"description": "Automated threat detection: anti-raid, anti-spam, anti-link, anti-alt. Each module independently toggleable.",
"author": "DeadIndian",
"main": "index.js",
"requiresRestart": true,
"isolation": false,
"manifestVersion": 2,
"process": {
"model": "persistent",
"maxExecutionMs": 10000,
"memoryMb": 256,
"persistentReason": "Runs un-isolated (system:raw-client) for raid lockdown (channel permission edits, verification level) and account-age checks that the sandboxed RPC surface cannot express."
},
"capabilities": {
"system": ["raw-client"],
"storage": ["own-collection"],
"discord": [
"BanMembers",
"KickMembers",
"ModerateMembers",
"ManageMessages",
"ManageChannels",
"ManageGuild"
],
"hooks": ["subscribe"]
},
"permissions": {
"system": ["raw-client"],
"storage": ["own-collection"],
"discord": [
"BanMembers",
"KickMembers",
"ModerateMembers",
"ManageMessages",
"ManageChannels",
"ManageGuild"
],
"hooks": ["subscribe"],
"network": { "outbound": [] },
"filesystem": { "read": [], "write": [] },
"childProcess": false,
"nativeAddons": false
},
"declaredDependencies": [{ "package": "node-cron", "version": "^3.0.3" }],
"engines": {
"core": ">=2.0.0",
"plugins": { "administration": ">=2.0.0" }
},
"settings": {
"commandPermissions": true,
"schema": [
{ "key": "log_channel_id", "type": "channel", "label": "Security log channel" },
{ "key": "raid_joins", "type": "number", "label": "Raid: joins threshold" },
{ "key": "raid_seconds", "type": "number", "label": "Raid: window (seconds)" },
{ "key": "spam_messages", "type": "number", "label": "Spam: message threshold" },
{ "key": "spam_seconds", "type": "number", "label": "Spam: window (seconds)" },
{ "key": "spam_action", "type": "select", "label": "Spam action", "options": [{ "value": "warn", "label": "Warn" }, { "value": "mute", "label": "Mute" }, { "value": "kick", "label": "Kick" }, { "value": "ban", "label": "Ban" }] },
{ "key": "alt_min_age_days", "type": "number", "label": "Alt: min account age (days)" },
{ "key": "alt_action", "type": "select", "label": "Alt action", "options": [{ "value": "flag", "label": "Flag" }, { "value": "kick", "label": "Kick" }] }
]
},
"discordPermissions": [
"BanMembers",
"KickMembers",
"ModerateMembers",
"ManageMessages"
],
"configSchema": {
"type": "object",
"properties": {
"log_channel_id": { "type": "string", "default": null },
"raid_joins": { "type": "number", "default": 10 },
"raid_seconds": { "type": "number", "default": 10 },
"spam_messages": { "type": "number", "default": 5 },
"spam_seconds": { "type": "number", "default": 3 },
"spam_action": {
"type": "string",
"enum": ["warn", "mute", "kick", "ban"],
"default": "mute"
},
"alt_min_age_days": { "type": "number", "default": 7 },
"alt_action": {
"type": "string",
"enum": ["flag", "kick"],
"default": "flag"
}
}
}
}