sv_password Command


sv_password [0 / Password]

This command can be used to set a password required to connect to the server. Set to 0 to disable.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

0 / PasswordSet this to 0 to make it so that a password isn't required to connect to the server (default). Enter a password here to prompt users for it when they try to connect (they cannot connect if they do not get it correct).

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value 0

sv_password Examples


Find below working examples of this command (copy and paste into console).


sv_password 0

This command would disable the server's password (if one was set), meaning a password wouldn't be required to connect. This is the default setting, so it's likely that running this command won't do anything.


sv_password password123

This command would make users have to use the password "password123" in order to connect to the server.