sv_lan Command Details
0 Syntax
sv_lan 0 How to Use
Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console. See our Config Guide for full setup instructions.
Type sv_lan 0 into the console and press Enter.
Run server in LAN mode only (1=LAN). This command works in all game modes including competitive. The default value is 0.
Frequently Asked Questions
What does sv_lan do in CS2?
Run server in LAN mode only (1=LAN)
What is the default value for sv_lan?
The default value for sv_lan is 0. You can reset it to this value at any time by typing "sv_lan 0" in the console.
Does sv_lan require sv_cheats?
No, sv_lan does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use sv_lan in competitive?
Yes, sv_lan works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.