How to Set Passwords on Your Counter-Strike 2 Server
You can protect your Counter-Strike 2 server with a join password and an RCON password. Both are configured in server.cfg through the Host Havoc game panel. For RCON access, see also adding admins if you need a GSLT in place first.
Steps
- Log in to the Game Control Panel and navigate to your server.
- Stop your server.
- Click the Configuration Files icon.
- Locate
server.cfgand click the text editor option. - To set a join password, find the
sv_passwordline and change the value:sv_password "yourpassword"
Leave the value as""to remove the join password. - To set an RCON password, find the
rcon_passwordline and change the value:rcon_password "yourrconpassword" - Click Save.
Restart your server for the changes to take effect. Players will be prompted for the join password when connecting. Use the RCON password with any RCON tool to send remote console commands.