PDF download Download Article PDF download Download Article

If you've got a big LAN party coming up, or maybe an extra computer lying around the house, try turning it into a dedicated server for painless LAN gaming. Follow this guide to get your dedicated server running, and your LAN gaming underway.

Method 1
Method 1 of 3:

Counterstrike 1.6

PDF download Download Article
  1. You will need to run your dedicated server from a separate account, or you will not be able to connect to your own server. You do not need to add any games to this account, the game files are not necessary to run the server.
  2. This program can be found by clicking the Library menu in Steam, and selecting Tools from the dropdown menu. Browse the list for Half-Life Dedicated Server (HLDS). The server program will require about 750MB of hard disk space.
    • Half-Life Dedicated Server is provided free, even if there are no Half-Life purchases on the account.
    Advertisement
  3. Once the HLDS is installed, double-click it in your Steam library to launch it. The Start Dedicated Server window will open. You can select from a list of Half-Life games. Select Counter-Strike 1.6 from the Game menu.
  4. You can rename your server to whatever you’d like. Use the Map menu to select the starting map. Under Network, select LAN to create a local server. Anyone on the network with Counter-Strike 1.6 installed will be able to join the server.
  5. Once the server is running, the server configuration window will open. You can make adjustments to the server without restarting it.
    • Use the Configure tab to input server details such as time limits and score limits.
    • The Statistics tab will show you how well your server is performing. Closing other programs while the server is running will increase performance.
    • The Players tab will show all of the players currently connected to the server. You can kick and ban players from this menu.
  6. You can remove bans from this menu.
    • The Console tab will allow you to input commands to the server such as immediate level changes.
  7. Any computer connected to the same network as the dedicated server should be able to see the server in the Steam servers list. Open Steam and right-click on the icon in the system tray. Select Servers from the menu. Click the LAN tab. The dedicated server should appear on the list. Joining it will automatically launch Counter-Strike 1.6 as long as it is installed.
  8. Advertisement
Method 2
Method 2 of 3:

CS:GO

PDF download Download Article
  1. This is a command prompt program used for newer Source games. This program will install and update your CS:GO dedicated server. You can download SteamCMD for free from the Valve website. The file comes in .zip format.
  2. Make sure to extract it to a folder that is not your Steam client folder or an old HLDSUpdate folder. For best results, create a new folder on the root of your hard drive, such as C:\SteamCMD\.
  3. Double-click the extract SteamCMD program. The program will automatically connect to the Steam servers and begin downloading any updates. This could take a few minutes. Once the update is complete, you will be presented with the Steam> command line.
    • If your SteamCMD program will not connect, you may need to adjust your internet settings. Open the Control Panel and select Internet Options. Select the Connections tab. At the bottom of the window, click the LAN Settings button. Make sure that the box next to “Automatically detect settings” is checked.
  4. Use the command line to set the install directory for the dedicated server. Use the following command:

    force_install_dir c:\csgo-ds\
    • Change “csgo-ds” to whichever directory you would like to use.
  5. Once your directory is set, you can start the server install process. Enter the following command to begin downloading the server files. The download is over 1GB in size, so be prepared to wait:

    app_update 740 validate
  6. Once your download is finished and you have control of the command prompt, type Quit to exit the Steam download servers.
  7. Once your server is installed, it will have created a variety of files and folders in your dedicated server directory. Open the folder “csgo” and then the folder “config.” Open the “server.cfg” file using Notepad. Adjust any settings in this file, such as “Hostname” which is the name of your server.
  8. There are five different game modes that you can run in CS:GO. To choose the game type you want, you’ll need to enter the correct commands to start the server. Open the command prompt and navigate to the dedicated server folder. Enter the following commands for your preferred game type:
    • Classic Casual: srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust
    • Classic Competitive: srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_bomb_se +map de_dust2_se
    • Arms Race: srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots
    • Demolition: srcds -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_lake
    • Deathmatch: srcds -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust
  9. Any computer connected to the same network as the dedicated server should be able to see the server in the Steam servers list. Open Steam and right-click on the icon in the system tray. Select Servers from the menu. Click the LAN tab. The dedicated server should appear on the list. Joining it will automatically launch CS:GO as long as it is installed.
  10. Advertisement
Method 3
Method 3 of 3:

CS:Source

PDF download Download Article
  1. This is a command prompt program used for newer Source games. This program will install and update your CS:Source dedicated server. You can download SteamCMD for free from the Valve website. The file comes in .zip format.
  2. Make sure to extract it to a folder that is not your Steam client folder or an old HLDSUpdate folder. For best results, create a new folder on the root of your hard drive, such as C:\SteamCMD\.
  3. Double-click the extract SteamCMD program. The program will automatically connect to the Steam servers and begin downloading any updates. This could take a few minutes. Once the update is complete, you will be presented with the Steam> command line.
    • If your SteamCMD program will not connect, you may need to adjust your internet settings. Open the Control Panel and select Internet Options. Select the Connections tab. At the bottom of the window, click the LAN Settings button. Make sure that the box next to “Automatically detect settings” is checked.
  4. Use the command line to set the install directory for the dedicated server. Use the following command:

    force_install_dir c:\css-ds\
    • Change “css-ds” to whichever directory you would like to use.
  5. Once your directory is set, you can start the server install process. Enter the following command to begin downloading the server files. The download is over 2GB in size, so be prepared to wait:

    app_update 232330 validate
  6. Once your server is installed, it will have created a variety of files and folders in your dedicated server directory. Open the folder “css” and then the folder “config.” Open the “server.cfg” file using Notepad. Adjust any settings in this file, such as “Hostname” which is the name of your server.
  7. Once your download is finished and you have control of the command prompt, type Quit to exit the Steam download servers.
  8. Open a command prompt and navigate to your dedicated server directory. Enter the following command to start the server:
    • srcds -console -game css +map <map> +maxplayers X –autoupdate
    • Replace the <map> with the map that you wish to start the server with. Change the X next to “maxplayers” to the number of players that you wish to allow (8,10,16,24, etc.).
  9. Any computer connected to the same network as the dedicated server should be able to see the server in the Steam servers list. Open Steam and right-click on the icon in the system tray. Select Servers from the menu. Click the LAN tab. The dedicated server should appear on the list. Joining it will automatically launch Counter-Strike: Source as long as it is installed.
  10. Advertisement

Community Q&A

Search
Add New Question
  • Question
    In the csgo/cfg folder there is no server.cfg. Should I make one?
    Vinícius Vitkovski
    Community Answer
    You could but there are ready server.cfgs you can download and see which works best.
Ask a Question
      Advertisement

      Video

      Tips

      • All the client PCs should put these commands in their own console
        • rate 25000
        • cl_cmdrate 101
        • cl_updaterate 101
        • ex_interp 0.01
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 470,727 times.

      Did this article help you?

      Advertisement