WebPanelBridge 0.2.0: leave out admins hidden with CS2-SimpleAdmin's css_hide

This commit is contained in:
Astra 2026-09-27 18:10:22 +01:00
parent d02c8454df
commit b68113733e
4 changed files with 30 additions and 5 deletions

View file

@ -2,10 +2,13 @@
Reports live match state to [simpleadmin-web](../../go/simpleadmin-web) over RCON: the hostname,
map, team scores, warmup state, and each connected player's userid, name, SteamID64, team,
kills, deaths and ping. It changes nothing in the game.
kills, deaths and ping. Admins hidden with CS2-SimpleAdmin's `css_hide` are left out entirely, as if
they weren't connected, so the panel never lists or counts them. It changes nothing in the game.
Built for CounterStrikeSharp **1.0.375** (`net10.0`) on Metamod:Source 2.0.0.1469. No other
dependencies.
Built for CounterStrikeSharp **1.0.375** (`net10.0`) on Metamod:Source 2.0.0.1469. It uses
CS2-SimpleAdmin's shared API (`CS2-SimpleAdminApi`) to spot hidden admins. `lib/CS2-SimpleAdminApi.dll`
is a compile-time copy of the server's `shared/` one and isn't shipped. Without SimpleAdmin loaded,
everyone is listed.
## The command