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.
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 / 1 | Set 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). |
Search our database of 117 Left 4 Dead 2 commands...
All CommandsFind 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).