-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
94 lines (94 loc) · 3.71 KB
/
Copy pathplugin.json
File metadata and controls
94 lines (94 loc) · 3.71 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
93
94
{
"name": "adb-plugin-tempvoice",
"displayName": "Temp Voice Channels",
"version": "1.1.0",
"description": "Automatically creates and manages temporary voice channels when users join a designated channel (e.g., 'Create Channel').\nFeatures:\n- Automatic channel creation on join\n- Configurable templates, category, and auto-delete delay\n- Commands: setup, name, limit, lock, unlock, permit, deny, claim, rename, bitrate",
"author": "DeadIndian",
"main": "index.js",
"requiresRestart": false,
"manifestVersion": 2,
"process": {
"model": "persistent",
"maxExecutionMs": 15000,
"memoryMb": 256,
"persistentReason": "Runs un-isolated (system:raw-client) to create and manage voice channels on voiceStateUpdate events (guild.channels.create, channel.edit, channel.delete), and to enforce permissions and bitrate — the guild.channels API and voice state inspection are outside the sandboxed RPC surface."
},
"capabilities": {
"system": ["raw-client"],
"storage": ["own-collection"],
"discord": ["ManageChannels", "SendMessages", "Connect", "MoveMembers"]
},
"permissions": {
"system": ["raw-client"],
"storage": ["own-collection"],
"discord": ["ManageChannels", "SendMessages", "Connect", "MoveMembers"],
"hooks": ["subscribe"],
"network": { "outbound": [] },
"filesystem": { "read": [], "write": [] },
"childProcess": false,
"nativeAddons": false
},
"declaredDependencies": [{ "package": "node-cron", "version": "^4.6.0" }],
"discordPermissions": ["ManageChannels", "SendMessages"],
"engines": {
"core": ">=2.0.0",
"plugins": { "administration": ">=2.0.0" }
},
"settings": {
"commandPermissions": true,
"schema": [
{ "key": "creationChannelId", "type": "channel", "label": "Join-to-create channel" },
{ "key": "categoryId", "type": "string", "label": "Temp VC category ID" },
{ "key": "nameTemplate", "type": "string", "label": "Channel name template" },
{ "key": "autoDeleteDelay", "type": "number", "label": "Auto-delete delay (minutes)" },
{ "key": "maxChannels", "type": "number", "label": "Max temp channels" },
{ "key": "bitrateDefault", "type": "number", "label": "Default bitrate" },
{ "key": "userLimitDefault", "type": "number", "label": "Default user limit" }
]
},
"configSchema": {
"type": "object",
"properties": {
"creationChannelId": {
"type": "string",
"default": null,
"description": "Discord snowflake ID of the designated voice channel where temporary voice channels are spawned"
},
"categoryId": {
"type": "string",
"default": null,
"description": "Discord snowflake ID of the category where temporary channels are created"
},
"nameTemplate": {
"type": "string",
"default": "{username}'s channel",
"description": "Template for temporary channel names. Must include {username} or {user}."
},
"autoDeleteDelay": {
"type": "number",
"default": 30,
"description": "Delay in minutes before empty temporary channels are auto-deleted"
},
"maxChannels": {
"type": "number",
"default": 0,
"description": "Maximum number of temporary channels allowed per guild (0 = unlimited)"
},
"bitrateDefault": {
"type": "number",
"default": 64000,
"minimum": 8000,
"maximum": 384000,
"description": "Default bitrate for new temporary channels (bps)"
},
"userLimitDefault": {
"type": "number",
"default": 0,
"minimum": 0,
"maximum": 99,
"description": "Default user limit for temporary channels (0 = none)"
}
},
"required": []
}
}