AdminStealth 0.3.15: no reply to css_hide from players who may not hide

A catch-all command listener stops it before any handler, so CSS's
missing-permission message isn't sent either.
This commit is contained in:
Astra 2026-10-03 00:22:12 +01:00
parent 7eba09905a
commit a74e9946c8
2 changed files with 14 additions and 1 deletions

View file

@ -24,6 +24,8 @@ admin off the scoreboard. This plugin makes it look like they left the server:
does (with `sv_disable_teamselect_menu` on around it), which closes it. The team events aren't
broadcast; for about 0.15 s they're on the spectator list of anyone looking at the scoreboard.
- Restoring runs `css_hide` at most once: it toggles, so a second run could unhide them.
- Players who may not use `css_hide` (or its aliases) get no reply at all when they try it, from
console or chat: not even CSS's missing-permission message.
Needs our SimpleAdmin fork (1.8.2b-zio2 or later), where moving to spectators doesn't unhide a
hidden admin. Never hot-reload CS2-SimpleAdmin while this runs: CSS keeps handing out the old