Promote server
csb-steamid-validator / README.md
1 lines 1.3 KiB Markdown Source Rendered Raw Permalink History
<p><strong>CSB SteamID Validator</strong> enforces clean authentication on entry. At <code>client_authorized</code> it inspects the SteamID and rejects the ones that shouldn't be playing: IDs stuck at <code>STEAM_ID_PENDING</code> past a timeout, LAN and no-steam tokens, strings that don't match the <code>STEAM_x:y:z</code> shape, and any SteamID already present on the server (the duplicate-ID trick used by some no-steam clients).</p><h2>Features</h2><ul><li>Pending IDs are re-checked after <code>csb_steamid_pending_timeout</code> seconds instead of being judged instantly.</li><li>Strict <code>STEAM_x:y:z</code> format check - exactly two colons, digits only after the prefix.</li><li>Duplicate-SteamID detection across all connected humans.</li><li><code>csb_steamid_allow_nosteam</code> lets you run a no-steam-friendly server while still blocking duplicates and malformed IDs.</li><li>Every rejection is logged with name, IP and the offending ID.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_steamid_validator.sma</code> and copy it to <code>addons/amxmodx/plugins/</code>.</li><li>Add it to <code>plugins.ini</code> and change the map.</li></ol><p>On a legitimate no-steam server running Reunion or dproto, set <code>csb_steamid_allow_nosteam 1</code> so real players with non-Steam IDs are not kicked, while duplicates are still blocked.</p>