CSB SteamID Validator

v1.0.0 15 descărcări Daemon666 Ultima actualizare: Jul 16, 2026

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

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.

Instalare

1. Put csb_steamid_validator.amxx in addons/amxmodx/plugins/
2. Add it to addons/amxmodx/configs/plugins.ini
3. Change map

Cvar-uri

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.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma
Fișiere:
csb_steamid_validator.sma main 3.8 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Conflicte cunoscute On no-steam servers leave csb_steamid_allow_nosteam at 1, otherwise every non-Steam player is kicked.
Înapoi la Pluginuri