Skip to content

SteamID changes / admins.json not working under -insecure mode #1106

@bohdan1287

Description

@bohdan1287

When running a Counter-Strike 2 dedicated server in -insecure mode, the SteamID assigned to connecting players (including the host) becomes inconsistent or random.
This causes admins.json permissions to fail, since CounterStrikeSharp relies on Steam authentication to validate admin identities.

Example:
• SteamID appears as 85568392935593975 instead of a valid 17-digit SteamID64.
• Rejoining can result in a completely new SteamID each time.
• Because of this, permissions from admins.json never load correctly (tested with @css/root and @css/generic).

This makes admin systems unusable in -insecure mode — which is currently required for testing HVH or VAC-banned accounts.

Question:
Would it be possible to allow an alternative identity fallback (e.g. IP or player name) for insecure mode, or a flag to force local admin recognition without Steam auth?

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedNew issue has not been triaged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions