mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
parent
da78c84c03
commit
a2835108d6
3 changed files with 4 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ Note that some games might require additional values to be specified.
|
|||
| **maxRetries** | number | `1` | Number of retries to query server in case of failure. Note that this amount multiplies with the number of attempts. |
|
||||
| **socketTimeout** | number | `2000` | Milliseconds to wait for a single packet. Beware that increasing this will cause many queries to take longer even if the server is online. |
|
||||
| **attemptTimeout** | number | `10000` | Milliseconds allowed for an entire query attempt (including `socketTimeout`, beware that if this value is smaller (or even equal) to the socket one, the query will always fail). |
|
||||
| **givenPortOnly** | boolean | `false` | Only attempt to query server on given port. It will ignore the game's default port. |
|
||||
| **givenPortOnly** | boolean | `false` | Only attempt to query server on given port. Causes any default ports, port offsets or cached ports to be ignored. |
|
||||
| **ipFamily** | number | `0` | IP family/version returned when looking up hostnames via DNS, can be 0 (IPv4 and IPv6), 4 (IPv4 only) or 6 (IPv6 only). |
|
||||
| **debug** | boolean | `false` | Enables massive amounts of debug logging to stdout. |
|
||||
| **requestRules** | boolean | `false` | Valve games only. Additional 'rules' may be fetched into the `raw` key. |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue