Command Profile

SV_SEARCH_KEY

CS2 CS:GO

This command sets the search key for dedicated servers you search for when in a lobby. Only servers with keys that match this key will be returned from the search. Set to 0 to disable.

Syntax
sv_search_key [Key]

Description

This command sets the search key for dedicated servers you search for when in a lobby. Only servers with keys that match this key will be returned from the search. Set to 0 to disable.

How To Use sv_search_key

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter sv_search_key [Key], replacing bracketed arguments with the value you want, then press Enter.

This command is listed as compatible with Counter-Strike 2.

Syntax And Arguments

sv_search_key [Key]
Key The search key to set.