Summary
This guide will show you how to set up a CS:GO LAN server. Follow each of the steps from top to bottom, DO NOT skip any steps unless told to.
INFO
Note that this guide will NOT show you how to set up a Public, non-LAN server! This guide also does not work with CS2, only CS:GO.
INFO
LAN Servers cannot be Globally whitelisted, and you won’t be able to set Global records on this type of a server.
1. Installing SteamCMD
Start by going to SteamCMD
Click on
[1]
, and download theZIP
file.Extract the contents of the
ZIP
into the folder which the server will reside in.
DANGER
Note that the folder which will be used for the server has to be on a drive with at least 30GB~
of free space!
2. Installing the Server
Locate
SteamCMD.exe
and run it. It will install all the required Steam components.Once it's done, type in
login anonymous
and press enter.Next type in
app_update 740 validate
and press enter. This will start the install of the server and may take a while depending on your internet and drive speeds.
WARNING
Do not close the terminal until it outputs: Success! App '740' fully installed.
!
3. Running the Server
Navigate outside the
SteamCMD
folder, and create a new text file calledstart.bat
.Open to edit the file and add this text into it:
cd ".\steamcmd\steamapps\common\Counter-Strike Global Offensive Beta - Dedicated Server\"
srcds -game csgo -tickrate 128 -console -usercon +map de_dust2
- (Optional) Navigate to Steam GSLT Tokens (log in with steam if you aren't already) and create a new game server account. Set the ID as
730
(not 740) and click create
Next copy the token and add it along with +sv_setsteamaccount
to the start.bat
file like this:
cd ".\steamcmd\steamapps\common\Counter-Strike Global Offensive Beta - Dedicated Server\"
srcds -game csgo -tickrate 128 -console -usercon +map de_dust2 +sv_setsteamaccount XXX
(Replace XXX with your token.) Save the file.
Now if you run the file by double-clicking on it, it should run a terminal. If you get a prompt to give CS:GO access through your firewall, press yes.
6. Connecting to the Server
WARNING
You have to run your own game before running the server!
otherwise it will not let you launch your game.
You can connect to the server by either:
- Open the ingame
Community Server Browser
and go to theLAN
tab, then press connect on the server.
TIP
You can use gameui_activate; gamemenucommand openserverbrowser
in your console to open the server browser.
- Open the ingame console, and type in
connect localhost
.
7. Updating the Server
INFO
Since CS:GO is no longer being updated, this should not be needed.
INFO
The warning about your server being outdated is something that can't be fixed without upgrading to cs2, so you can ignore it.
Open up
SteamCMD.exe
.Type in
login anonymous
and hit enter.Type in
app_update 740
, hit enter and wait for the terminal to reply withsuccess!
.
If it doesn't succeed, type app_update 740 validate
instead.