Left 4 Dead 2 Sv_allow_lobby_connect_only Command


This command, if set to 1, will only allow players to connect to your server from the matchmaking lobby, and will not be able to connect directly (e.g. through Steam invite or connect command). If you want a player to be able to connect to your server mid-game, set this command to 0.

Sv_allow_lobby_connect_only Syntax


The syntax for the sv_allow_lobby_connect_only command is as follows:

sv_allow_lobby_connect_only [0 / 1] Default Value: 1

This command has the following arguments:

0 / 1Set to 0 to allow connections via Steam invite, server browser and via the connect command. Set to 1 to only allow players to connect from the Steam lobby (default).

Sv_allow_lobby_connect_only Examples


Find below working examples of the sv_allow_lobby_connect_only command.


sv_allow_lobby_connect_only 0

This command allows connections to your server at any time and via any means (e.g. via the connect command), not just the lobby.

sv_allow_lobby_connect_only 1

This command allows connections to your server/game only from the game lobby (i.e. the game lobby that you invite friends to before you start the server/game).