-
Notifications
You must be signed in to change notification settings - Fork 140
/
settings.json
107 lines (92 loc) · 4.44 KB
/
settings.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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"show_deprecation_warnings": true,
"show_deprecation_warnings_desc": "Prints console warnings for functions that are being polyfilled by newer methods due to upstream Roblox API changes",
"session_only": true,
"session_only_desc": "Minimizes data usage and speed up requests by only saving session cookies, disable if you need other cookies to be saved as well.",
"timeout": 10000,
"timeout_desc": "Timeout for http requests. This is necessary for functions that make a very large number of requests, where it is possible some simply won't connect.",
"event": {
"maxRetries": 5,
"maxRetries_desc": "Maximum number of consecutive retries after an event times out or fails in some other way.",
"timeout": 10000,
"timeout_desc": "Maximum time (in milliseconds) a request can take. If your server has extremely high latency you may have to raise this.",
"event_desc": "Below is the poll time (in milliseconds) for each of the event functions. A lower number will detect changes much quicker but will stress the network, a higher one does the opposite.",
"defaultDelay": 10000,
"onAuditLog": 10000,
"onWallPost": 10000,
"onJoinRequestHandle": 10000,
"onJoinRequest": 10000,
"onShout": 10000,
"onBlurbChange": 10000,
"onGroupTransaction": 60000
},
"thumbnail": {
"maxRetries": 2,
"maxRetries_desc": "Maximum number of retries to retrieve a pending thumbnail, rare, but occurs with uncached users (Roblox's cache)",
"retryDelay": 500,
"retryDelay_desc": "The time to wait between consecutive retries of retrieving pending thumbnails",
"failedUrl": {
"pending": "",
"blocked": ""
},
"failedUrl_desc": "The image URL to provide when an asset thumbnail is still pending or has been moderated by Roblox; defaults to Roblox moderation icon via noblox.js's GitHub repo at https://noblox.js.org/moderatedThumbnails/moderatedThumbnail_{size}.png"
},
"queue": {
"Message": {
"delay": 0,
"desc": "Although messages do have a floodcheck, it is not instituted immediately so this is disabled by default. If you are sending a lot of messages set a delay around 10-15 seconds (10000-15000)"
}
},
"cache": {
"XCSRF": {
"expire": 1800,
"refresh": false,
"desc": "XCSRF tokens expire 30 minutes after being created. Until they expire, however, no new tokens can be made. Sometimes an XCSRF token has already been created for the user so the server doesn't know when to collect a new one. During transitions some requests may use invalid tokens. For now, new XCSRF tokens are automatically retrieved when cached ones get rejected."
},
"Verify": {
"expire": 7200,
"refresh": 3600,
"desc": "Verification tokens seem to last extremely long times."
},
"Roles": {
"expire": 600,
"refresh": true,
"desc": "This should be fine unless your group changes its ranks often."
},
"RolesetId": {
"expire": 86400,
"refresh": false,
"desc": "Disable this completely if you don't plan on ever changing your exile bot's rank."
},
"Product": {
"expire": false,
"refresh": false,
"desc": "Disabled by default for security (price checks). If you are only working with ROBLOX assets, however, you can set this to something high (since ROBLOX product info rarely changes)."
},
"GamePassProduct": {
"expire": 86400,
"refresh": false,
"desc": "This should normally be fine unless the information of GamePasses you are working with changes frequently."
},
"NameFromID": {
"expire": false,
"refresh": false,
"desc": "Caches a user's username based on their ID. It is not on by default because it is an uncontrollable change but the option is there to cache it if you would like."
},
"IDFromName": {
"expire": true,
"refresh": false,
"desc": "Permanent cache for a user's ID based on their name. There is no reason this would ever change (changing names would re-match it and old names cannot be reused by other accounts). Only disable if you want this to match current names only."
},
"SenderID": {
"expire": true,
"refresh": false,
"desc": "Permanent cache for the sender's user ID. This should literally never change."
},
"Rank": {
"expire": false,
"refresh": false,
"desc": "Caches rank by user ID. Changes cannot be anticipated so this is not enabled by default."
}
}
}