UNPKG

3.83 kBJSONView Raw
1{
2 "session_only": true,
3 "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.",
4
5 "maxThreads": 50,
6 "maxThreads_desc": "This is usually used for functions that have to receive a lot of pages at once. Only this amount will be queued up as to preserve memory, make this as high as possible for fastest responses (although it will be somewhat limited by maxSockets).",
7
8 "timeout": 10000,
9 "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.",
10
11 "event": {
12 "maxRetries": 5,
13 "maxRetries_desc": "Maximum number of consecutive retries after an event times out or fails in some other way.",
14 "timeout": 10000,
15 "timeout_desc": "Maximum time (in milliseconds) a request can take. If your server has extremely high latency you may have to raise this.",
16 "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.",
17 "onWallPost": 3000,
18 "onNewAsset": 3000,
19 "onAssetUpdate": 3000,
20 "onAssetPurchase": 3000,
21 "onJoinRequestHandle": 3000,
22 "onShout": 3000
23 },
24
25 "queue": {
26 "Message": {
27 "delay": 0,
28 "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)"
29 }
30 },
31
32 "cache": {
33 "XCSRF": {
34 "expire": 1800,
35 "refresh": false,
36 "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."
37 },
38
39 "Verify": {
40 "expire": 7200,
41 "refresh": 3600,
42 "desc": "Verification tokens seem to last extremely long times."
43 },
44
45 "Roles": {
46 "expire": 600,
47 "refresh": true,
48 "desc": "This should be fine unless your group changes its ranks often."
49 },
50
51 "RolesetId": {
52 "expire": 86400,
53 "refresh": false,
54 "desc": "Disable this completely if you don't plan on ever changing your exile bot's rank."
55 },
56
57 "Product": {
58 "expire": false,
59 "refresh": false,
60 "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)."
61 },
62
63 "NameFromID": {
64 "expire": false,
65 "refresh": false,
66 "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."
67 },
68
69 "IDFromName": {
70 "expire": true,
71 "refresh": false,
72 "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."
73 },
74
75 "SenderID": {
76 "expire": true,
77 "refresh": false,
78 "desc": "Permanent cache for the sender's user ID. This should literally never change."
79 },
80
81 "Rank": {
82 "expire": false,
83 "refresh": false,
84 "desc": "Caches rank by user ID. Changes cannot be anticipated so this is not enabled by default."
85 }
86 }
87}