Turning off the Lobby System
From CyberWurx Customer Wiki
Revision as of 20:56, 20 November 2009 (edit) Cwadmin (Talk | contribs) ← Previous diff |
Current revision (14:02, 23 November 2009) (edit) (undo) Cwadmin (Talk | contribs) |
||
Line 17: | Line 17: | ||
sv_steamgroup_exclusive 1 //This will make the server exclusive to your steam group | sv_steamgroup_exclusive 1 //This will make the server exclusive to your steam group | ||
mp_disable_autokick 1 //This will disable idle kicks if your players go idle. | mp_disable_autokick 1 //This will disable idle kicks if your players go idle. | ||
- | sv_allow_lobby_connect_only 1 //This will turn off the lobby system | + | sv_allow_lobby_connect_only 0 |
When you add the file, upload it. Restart your server to complete the changes. | When you add the file, upload it. Restart your server to complete the changes. | ||
Line 24: | Line 24: | ||
//sv_steamgroup_exclusive 1 //This will make the server exclusive to your steam group | //sv_steamgroup_exclusive 1 //This will make the server exclusive to your steam group | ||
//mp_disable_autokick 1 //This will disable idle kicks if your players go idle. | //mp_disable_autokick 1 //This will disable idle kicks if your players go idle. | ||
- | //sv_allow_lobby_connect_only 1 //This will turn off the lobby system | + | //sv_allow_lobby_connect_only 0 |
Upload the edit, and restart your server. | Upload the edit, and restart your server. | ||
+ | =Cvar Explanation= | ||
+ | ==sv_steamgroup_exclusive== | ||
+ | If set, only members of Steam group will be able to join the server when it's empty, public people will be able to join the server only if it has players. | ||
+ | ==sv_allow_lobby_connect_only== | ||
+ | If set, players may only join this server from matchmaking lobby, may not connect directly. | ||
[[Category:Gameserver]] [[Category:Left4Dead2]] [[Category:Left4Dead]] | [[Category:Gameserver]] [[Category:Left4Dead2]] [[Category:Left4Dead]] |
Current revision
Before you begin make sure you follow this guide: Setting your Steam Group ID
Contents |
[edit] The Lobby System
The unique way Left4Dead and Left4Dead2 is set up requires a lobby system to match make and connect to games.
Sometimes, however, you want a server for you and your friends to connect to. This is where turning off matchmaking comes in.
Unfortunately, there is no way to set this in server.cfg, so the server requires you to use a file called autoexec.cfg
[edit] Creating autoexec.cfg
Autoexec.cfg may already be on your server, you can locate it in your game's cfg directory.
If your autoexec.cfg is already in place, go ahead and edit that file. If not, use a program to create the file to upload.
[edit] Turning off Lobby
Add the following line to your autoexec.cfg file:
sv_steamgroup_exclusive 1 //This will make the server exclusive to your steam group mp_disable_autokick 1 //This will disable idle kicks if your players go idle. sv_allow_lobby_connect_only 0
When you add the file, upload it. Restart your server to complete the changes.
[edit] Turning on Lobby
Simply comment out the settings inside autoexec.cfg so it looks like this:
//sv_steamgroup_exclusive 1 //This will make the server exclusive to your steam group //mp_disable_autokick 1 //This will disable idle kicks if your players go idle. //sv_allow_lobby_connect_only 0
Upload the edit, and restart your server.
[edit] Cvar Explanation
[edit] sv_steamgroup_exclusive
If set, only members of Steam group will be able to join the server when it's empty, public people will be able to join the server only if it has players.
[edit] sv_allow_lobby_connect_only
If set, players may only join this server from matchmaking lobby, may not connect directly.