-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.json
60 lines (60 loc) · 2.28 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
{
"name": "Hints",
"description": "Cyclically display a hint from a list of hints on an interval to the whole server.",
"author": "x",
"config": {
"authorized": {
"description": "A list of players authorized to use hint modification commands.",
"type": "players",
"default": []
},
"display-interval": {
"default": 60,
"description": "How often to display a hint, in seconds.",
"type": "number"
},
"prefix": {
"default": "<b>[HINT]</>",
"description": "A prefix placed before all hints to display. If left blank, no prefix will be used.",
"type": "string"
},
"file": {
"default": "plugins/hints/hints.txt",
"description": "The name of the file to read hints from. This is relative to your Omegga installation. Read the README from the GitHub page for more information on how this works.",
"type": "string"
}
},
"commands": [
{
"name": "/hints",
"description": "Display the currently active hints.",
"example": "/hints"
},
{
"name": "/hints add",
"description": "Add a hint to the list of hints.",
"example": "/hints add This is a new hint!",
"args": [{"name": "hint", "description": "Content of hint to add", "required": true}]
},
{
"name": "/hints remove",
"description": "Remove a hint by its index.",
"example": "/hints remove 1",
"args": [{"name": "index", "description": "Index of hint to remove", "required": true}]
},
{
"name": "/hints edit",
"description": "Edit a hint by its index, followed by its new content.",
"example": "/hints edit 1 This is the new hint content.",
"args": [
{"name": "index", "description": "Index of hint to edit", "required": true},
{"name": "content", "description": "New content of hint", "required": true}
]
},
{
"name": "/hints reload",
"description": "Reload hints from the hints file.",
"example": "/hints reload"
}
]
}