-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdoc.json
66 lines (66 loc) · 1.99 KB
/
doc.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "afk",
"description": "Marks players as AFK if they stop moving & chatting for a set period of time",
"author": "Shock",
"config": {
"auto-afk": {
"description": "Automatically mark a player as AFK when the timeout is reached",
"type": "boolean",
"default": true
},
"auto-afk-timeout": {
"description": "Number of minutes to wait until a player is marked as AFK",
"type": "number",
"default": "5"
},
"auto-afk-maxtimeout": {
"description": "Additional number of minutes to wait before taking action on a player that has been marked as AFK",
"type": "number",
"default": "10"
},
"auto-afk-threshold": {
"description": "Minimum number of players required before taking action on a player that has been marked as AFK",
"type": "number",
"default": "1"
},
"auto-afk-action": {
"description": "Action to take when the max timeout is reached",
"type": "enum",
"options": ["none", "kick"],
"default": "none"
},
"auto-afk-exclusions": {
"description": "Restrict action against players marked as AFK if they are part of the specified roles (comma-separated)",
"type": "string",
"default": ""
},
"allow-manual-afk": {
"description": "Permit players to manually go AFK using the /afk command",
"type": "boolean",
"default": true
},
"afk-announce": {
"description": "Announce to joining players if there are people currently AFK",
"type": "boolean",
"default": true
}
},
"commands": [
{
"name": "/afk",
"description": "Manually go AFK",
"example": "/afk eating dinner",
"args": [{
"name": "reason",
"description": "Optional reason for going AFK displayed to other players",
"required": false
}]
},
{
"name": "/afkers",
"description": "List players currently marked as AFK",
"example": "/afkers",
"args": []
}
]
}