How to join a password protected server in CS2
Type password "secret"; connect 203.0.113.10:27015 in your game console to send the password and join the server.
password
Sets the password your game sends when joining a password-protected server.
password "<password>" Examples
password "secret"; connect 203.0.113.10:27015 Set the password, then connect.
Arguments
passwordRequired- The server password.
What it does
Set this before you connect to a private server. The value is remembered, so it is also sent to the next server you join.
The game's own description: Current server access password
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.
Your own
CS2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.