sv_password
🖧 Server & Match Multiplayer Safe

Command Details

Description Server password (empty = public)
sv_cheats Not required

Syntax

sv_password <value>

How to Use

1

Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console.

2

Type sv_password into the console and press Enter.

3

Server password (empty = public). This command works in all game modes including competitive.

Related Server & Match Commands

Browse all Server & Match commands →

Frequently Asked Questions

What does sv_password do in CS2?
Server password (empty = public)
Does sv_password require sv_cheats?
No, sv_password does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use sv_password in competitive?
Yes, sv_password works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.

Explore More on CSDB.gg