Daemon666 / CSB SteamID Validator Public

Rejects pending, LAN, malformed and duplicate SteamIDs at authorization, with a no-steam allow switch.

v1.0.0 174 téléchargements GPL-3.0 Dernière mise à jour Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 May 24, 2026 1 Versions
csb_steamid_validator.sma main bac9fee 3.8 KB
README.md

CSB SteamID Validator enforces clean authentication on entry. At client_authorized it inspects the SteamID and rejects the ones that shouldn't be playing: IDs stuck at STEAM_ID_PENDING past a timeout, LAN and no-steam tokens, strings that don't match the STEAM_x:y:z shape, and any SteamID already present on the server (the duplicate-ID trick used by some no-steam clients).

Features

  • Pending IDs are re-checked after csb_steamid_pending_timeout seconds instead of being judged instantly.
  • Strict STEAM_x:y:z format check - exactly two colons, digits only after the prefix.
  • Duplicate-SteamID detection across all connected humans.
  • csb_steamid_allow_nosteam lets you run a no-steam-friendly server while still blocking duplicates and malformed IDs.
  • Every rejection is logged with name, IP and the offending ID.

Installation

  1. Compile csb_steamid_validator.sma and copy it to addons/amxmodx/plugins/.
  2. Add it to plugins.ini and change the map.

On a legitimate no-steam server running Reunion or dproto, set csb_steamid_allow_nosteam 1 so real players with non-Steam IDs are not kicked, while duplicates are still blocked.

Installation
1. Put csb_steamid_validator.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map
Cvars
CVARDefaultDescription
csb_steamid_enabled 1 Enable SteamID validation.
csb_steamid_allow_nosteam 0 1 = allow LAN/no-steam IDs (still blocks duplicates).
csb_steamid_pending_timeout 30 Seconds to wait for a pending ID to resolve before judging it.
csb_steamid_block_dup 1 Kick a client whose SteamID is already in game.
Journal des modifications — v1.0.0
1.0.0 - Initial release.
Versions →
Note

No ratings yet.

À propos
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Télécharger .sma
Prérequis
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Conflits connus On no-steam servers leave csb_steamid_allow_nosteam at 1, otherwise every non-Steam player is kicked.
Contributeurs
Retour aux Plugins