You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/docs/dragonite/config.mdx
+37-3Lines changed: 37 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,50 @@ import { Callout } from 'nextra-theme-docs'
10
10
11
11
```toml
12
12
[general]
13
-
login_delay = 0#As of now there is no known login limit, this might change in the future.
13
+
stats = true#Enabled by default to write worker stats.
14
14
...
15
15
```
16
16
17
17
| Key | Default | Description |
18
18
| :-- | :-- | :-- |
19
-
|`login_delay`| 0 | Seconds to sleep in-between PTC authenticating with one proxy. For "unlimited" proxies we recommend setting this value to 0 or 1. |
20
-
|`stats`| false | Whether raw worker stats are written to the Dragonite database. |
21
19
|`api_host`| 127.0.0.1 | Host listener address for Dragonite API. |
22
20
|`api_port`| 7272 | Host port address for Dragonite API. |
21
+
|`stats`| true | Whether raw worker stats are written to the Dragonite database. |
22
+
23
+
## Auth provider section
24
+
25
+
Auth provider config sections look like `[auth.<provider>]` where <provider> can be ptc or nk. One or both may exist and be enabled.
26
+
At least one section does need to exist with an 'enable = true' entry.
27
+
Without this, the deprecated config locations under general and tuning will be used with both providers enabled.
28
+
29
+
```toml
30
+
[auth.ptc]
31
+
# enable this provider (defaults to false)
32
+
enable = true
33
+
# The following 2 options allow control over whether a certain provider
34
+
# should be used for leveling and/or scanning. Setting both to false allows
35
+
# one to do background token work without yet logging into the game with them.
36
+
# enable this provider for normal scanning
37
+
# enable_scanning = true (defaults to true)
38
+
# enable this provider for leveling
39
+
# enable_leveling = true (defaults to true)
40
+
41
+
# seconds to sleep in-between authing on one proxy
42
+
# login_delay = 20 (defaults to 20 for both providers)
43
+
44
+
# use swirlix/xilriws to remote auth PTC logins
45
+
# remote_auth_url =
46
+
# background initer to collect tokens of accounts without using them - this is false by default
47
+
# token_init_enabled = true
48
+
# don't rely on remote auth and only use accounts with stored token - true by default
49
+
# token_refresh_only = true
50
+
```
51
+
52
+
| Key | Default | Description |
53
+
| :-- | :-- | :-- |
54
+
| token_refresh_concurrency | 10 | define concurrency for the token background refresher |
55
+
| token_init_concurrency | 1 | define concurrency for the token background initer |
56
+
| token_init_interval_seconds | PTC: 1, NK: 180 | define the interval to request tokens |
0 commit comments