How to add a password to a Counter Strike 2 server




Summary
Counter Strike 2 servers have multiple methods to secure them from unauthorized users. Adding a password is a quick way to share a server among a wider group of friends or a community while maintaining exclusivity. While not as secure as whitelisting a server, passwords are significantly more hands-off and hassle-free, easing the pressure on server admins typically present with a server whitelist.

Note In order to connect to a server with a password, the developer console must be used. Find out how here.


How
to Add a Password to a Counter Strike 2 Server
1Log in to the BisectHosting Games panel.

2. Stop the server.


3. Go to the Files tab.


4. Find the following directory: /home/container/game/csgo/cfg .


5. Open the server.cfg file, if not present, Choose Create and select Create File from the dropdown.



6. Input sv_password "x" replacing x with a secure password.


7
. Once finished editing, choose Save Content.


8. Start the server to apply the changes.


9. If the password is not applied, run the exec server command from the console.




Was this answer helpful?

0
« Back