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: docs/docs/configuration/config.mdx
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,35 +19,36 @@ It should look like this:
19
19
[crawler]
20
20
ips_per_iteration = 1000000
21
21
max_tasks = 0
22
-
runs = 0
23
-
time_between_runs = 0
24
-
default_ports = [25565]
22
+
time_between_iteration = 0
25
23
26
24
[scanner]
27
25
max_tasks = 0
28
-
default_ports = [25565]
29
26
30
-
[network]
31
-
max_tasks = 2000
32
-
timeout = 3000
27
+
[general]
28
+
max_network_tasks = 2000
29
+
ping_timeout = 3000
30
+
query_timeout = 3000
31
+
join_timeout = 3000
32
+
do_uuid_fetch = true
33
+
default_ports = [25565]
33
34
```
34
35
35
36
Simply, fill in the correct values for your crawling and scanning needs and save the file.
36
37
37
38
### Crawler Configuration
38
39
-`ips_per_iteration` determines how many IP addresses the crawler will generate and process in each iteration.
39
40
-`max_tasks` sets the maximum number of concurrent tasks the crawler will execute. Setting it to 0 will use the value from the `[network]` section.
40
-
-`runs` specifies how many iterations the crawler will perform. Setting it to 0 will run the crawler indefinitely.
41
-
-`time_between_runs` defines the cooldown time in seconds between each crawling iteration. Setting it to 0 will disable the cooldown.
42
-
-`default_ports` is a list of Minecraft server ports that the crawler will scan by default.
41
+
-`time_between_iteration` defines the cooldown time in seconds between each crawling iteration. Setting it to 0 will disable the cooldown.
43
42
44
43
### Scanner Configuration
45
44
-`max_tasks` sets the maximum number of concurrent tasks the scanner will execute. Setting it to 0 will use the value from the `[network]` section.
46
-
-`default_ports` is a list of Minecraft server ports that the scanner will scan by default.
47
45
48
46
### Network Configuration
49
-
-`max_tasks` defines the maximum number of concurrent network tasks (e.g., pings, queries). Recommended values are between 1000 and 5000, and the value must be between 10 and 20000.
47
+
-`max_network_tasks` defines the maximum number of concurrent network tasks (e.g., pings, queries). Recommended values are between 1000 and 5000, and the value must be between 10 and 20000.
50
48
-`timeout` sets the timeout in milliseconds for server connections. The value must be between 80 and 15000.
49
+
-`do_uuid_fetch` determines whether the crawler should fetch the UUID from the players via Mojangs servers. This can provide more accurate information about the server but may increase the time.
50
+
-`default_ports` is a list of default ports that the crawler will use when scanning for Minecraft servers. By default, it includes port 25565, which is the standard port for Minecraft servers. You can add more ports to this list if you want to scan for servers running on different ports.
51
+
-`ping_timeout`, `query_timeout`, and `join_timeout` set the timeout in milliseconds for pinging, querying, and joining servers, respectively. The values must be between 80 and 15000.
0 commit comments