feat: Add Farming Simulator 22/19 (#531)

* Added token paramter

* Added Farming Simulator 2022

* Fixed order

* Undo debug line

* Update Farming Simulator 22 support (By @Vito0912 #531)

* Added Farming Simulator 2019 support

* Revert change

* Update release year for Farming Simulator 2019

* Update mods array to raw.mods in farmingsimulator.js

* Update Farming Simulator naming in GAMES_LIST.md

* Missed some names

* Add server version to state.raw and eslint
This commit is contained in:
Vito0912 2024-02-05 16:29:01 +01:00 committed by GitHub
parent 321f35999e
commit 3a17184862
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 83 additions and 4 deletions

View file

@ -122,6 +122,8 @@
| factorio | Factorio | |
| farcry | Far Cry | |
| farcry2 | Far Cry 2 | |
| farmingsimulator19 | Farming Simulator 19 | [Notes](#farmingsimulator) |
| farmingsimulator22 | Farming Simulator 22 | [Notes](#farmingsimulator) |
| fear | F.E.A.R. | |
| ffow | Frontlines: Fuel of War | |
| fof | Fistful of Frags | [Valve Protocol](#valve) |
@ -347,7 +349,6 @@
* DirtyBomb
* Doom - Skulltag
* Doom - ZDaemon
* Farming Simulator
* Freelancer
* Ghost Recon
* GRAV Online
@ -443,6 +444,10 @@ Conan Exiles never responds to player query.
### <a name="minecraft">Minecraft
Many Minecraft servers do not respond with players data.
### <a name='farmingsimulator'>Farming Simulator
Farming Simulator servers need a token (reffered as code in the game). It can be obtained at your server's web interface (http://ip:port/settings.html). It can be passed to GameDig with the additional option: `token`. It does only work for your own server.
The response includes much information about the server. Currently, only the fields about server information (name, map, version, etc.), players and mods are parsed.
Protocols with Additional Notes
---