mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
feat: port caching (#478)
* feat: port caching * feat: dont store in cache if disabled
This commit is contained in:
parent
1f0563f7d2
commit
b48a4398cd
4 changed files with 24 additions and 7 deletions
|
|
@ -51,6 +51,7 @@ Confused on how this works, or you want to see more? Checkout the [examples](/ex
|
|||
| **requestRulesRequired** | boolean | false | Valve games only. `requestRules` is always required to have a response or the query will timeout. |
|
||||
| **requestPlayersRequired** | boolean | false | Valve games only. Querying players is always required to have a response or the query will timeout. Some [games](GAMES_LIST.md) may not provide a players response. |
|
||||
| **stripColors** | boolean | true | Enables stripping colors for protocols: unreal2, savage2, quake3, nadeo, gamespy2, doom3, armagetron. |
|
||||
| **portCache** | boolean | true | After you queried a server, the second time you query that exact server (identified by specified ip and port), first add an attempt to query with the last successful port. |
|
||||
|
||||
## Query Response
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue