feat: Add valve requestRulesRequired & requestPlayersRequired (#458)

* feat: add valve requestRulesRequired

* missing delete requestRulesRequired

* feat: add valve requestPlayersRequired

* update documentation

* update games list
This commit is contained in:
Pedro Ivo Hudson 2024-01-11 17:58:50 -03:00 committed by GitHub
parent 184e9b170c
commit 0b8ebc871f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 7 deletions

View file

@ -87,7 +87,7 @@
| daikatana | Daikatana | |
| dal | Dark and Light | [Valve Protocol](#valve) |
| dayofdragons | Day of Dragons | [Valve Protocol](#valve) |
| dayz | DayZ | |
| dayz | DayZ | [Valve Protocol](#valve) |
| dayzmod | DayZ Mod | [Valve Protocol](#valve) |
| ddd | Dino D-Day | [Valve Protocol](#valve) |
| ddpt | Deadly Dozen: Pacific Theater | |
@ -440,7 +440,7 @@ additional option: `token`
Valheim servers will only respond to queries if they are started in public mode (`-public 1`).
### DayZ
DayZ stores some of it's servers information inside the `tags` attribute. Make sure to set `requestRules: true` to access it. Some data inside `dayzMods` attribute may be fuzzy, due to how mods are loaded into the servers. Alternatively, some servers may have a [third party tool](https://dayzsalauncher.com/#/tools) that you can use to get the mods information. If it's installed, you can access it via browser with the game servers IP:PORT, but add up 10 to the port. (eg. if game port is 2302 then use 2312).
DayZ stores some of it's servers information inside the `tags` attribute. Make sure to set `requestRules: true` to access it. Some data inside `dayzMods` attribute may be fuzzy, due to how mods are loaded into the servers. Players can be fetched, but will not show ingame names. Alternatively, some servers may have a [third party tool](https://dayzsalauncher.com/#/tools) that you can use to get the mods information. If it's installed, you can access it via browser with the game servers IP:PORT, but add up 10 to the port. (eg. if game port is 2302 then use 2312).
### <a name="valve"></a>Valve Protocol
For many valve games, additional 'rules' may be fetched into the unstable `raw` field by passing the additional
@ -448,3 +448,6 @@ option: `requestRules: true`. Beware that this may increase query time.
### <a name="thefront"></a>The Front
Responses with wrong `name` (gives out a steamid instead of the server name) and `maxplayers` (always 200, whatever the config would be) field values.
### Conan Exiles
Conan Exiles never responds to player query.