Setting your Left 4 Dead 2 server to private is a great way to stop uninvited players from joining. The easiest way to do this is by giving a Steam Group exclusive access to your server.
# Using the Control Panel
You can easily restrict server access to a certain Steam Group by adding the group ID to your server's Server.cfg
file.
- Access your control panel and Stop your server.
- Navigate to the Files tab.
- Locate and Open the server.cfg file.
- Enter your Steam Group ID next to
sv_steamgroup
.
If sv_steamgroup is missing, then this will need to be manually added.
- Set
sv_steamgroup_exclusive
to1
. - Click Save and Start your server.