From 7ba1bc9e6761442b97487f4d1661d1a24ec3e1c2 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Tue, 11 Feb 2025 11:34:32 +0200 Subject: [PATCH] docs(counterstrike2): does not provide player names, note workaround (#675) * docs(counterstrike2): does not provide player names, note workaround plugin * docs(CHANGELOG.md): update --- CHANGELOG.md | 1 + GAMES_LIST.md | 5 ++++- lib/games.js | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95802d4..c0eba61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 5.X.Y * Docs: Arma Reforger query setup note (#670, thanks @xCausxn) * Fix: Grand Theft Auto V - FiveM wrap the players query in a try block as it doesn't provide the data by default anymore (#674, thanks @xCausxn) +* Docs: Counter-Strike 2 does not provide players names, note this and a plugin workaround (#675). ## 5.2.0 * Fix: Palworld not respecting query output players schema (#666) diff --git a/GAMES_LIST.md b/GAMES_LIST.md index 8204176..fea736f 100644 --- a/GAMES_LIST.md +++ b/GAMES_LIST.md @@ -79,7 +79,7 @@ | corekeeper | Core Keeper | [Valve Protocol](#valve) | | counterstrike15 | Counter-Strike 1.5 | | | counterstrike16 | Counter-Strike 1.6 | [Valve Protocol](#valve) | -| counterstrike2 | Counter-Strike 2 | [Valve Protocol](#valve) | +| counterstrike2 | Counter-Strike 2 | [Notes](#cs2), [Valve Protocol](#valve) | | crce | Cross Racing Championship Extreme | | | creativerse | Creativerse | [Valve Protocol](#valve) | | crysis | Crysis | | @@ -538,3 +538,6 @@ Requires `Allow_Download` and `Logging` to be `1` in the server config. ### Grand Theft Auto V - FiveM Requires the `sv_exposePlayerIdentifiersInHttpEndpoint` convar to be `1` for the query to return players' data. + +### Counter-Strike 2 +Does not provide players names, using a plugin like this [one](https://github.com/Source2ZE/ServerListPlayersFix) makes the query to return them. diff --git a/lib/games.js b/lib/games.js index 81f6bdf..582c072 100644 --- a/lib/games.js +++ b/lib/games.js @@ -777,7 +777,8 @@ export const games = { protocol: 'valve' }, extra: { - old_id: 'cs2' + old_id: 'cs2', + doc_notes: 'cs2' } }, creativerse: {