Dota 2
Not enough ratings
Creating dedicated server for Dota 2
By Splash Colour
This guide will show you how to create a server.
   
Award
Favorite
Favorited
Unfavorite
How to create a dedicated server
It is now possible to run dedicated servers for Dota 2 on all platforms: Windows, Linux, and Mac OS X.

Installation

To get started, download Dota 2 using the Steam client or SteamCMD with appid 570. For SteamCMD, you will have to login to an existing Steam account since it is not available when logging in anonymously.

For Mac OS X, follow the Linux instructions for SteamCMD usage. The Mac OS X build of SteamCMD can be downloaded on the valve developer wiki.

Next, download the appropriate attachment below for the OS on which you wish to run a server. Extract the files into your Dota 2 install directory. Note that this will overwrite the dedicated.so or dedicated.dylib file on Linux or OS X.

By default, the install directory will be one of the following:
Windows: C:\Program Files (x86)\Steam\SteamApps\common\dota 2 beta
Linux: ~/.local/share/Steam/SteamApps/common/dota 2 beta
Mac OS X: ~/Library/Application Support/Steam/SteamApps/common/dota 2 beta
For Linux, if you don't have the Steam client installed, you will also need to download the Steam runtime and extract it into your home directory.

For both Linux and Mac OS X, if you don't have the Steam client installed, you will need to still obtain the steamclient binaries from a Steam client install for your OS and copy them to the bin directory of your Dota 2 install. This includes crashhandler, steamclient, libsteam, libtier0_s, and libvstdlib_s. On Linux, these files have a .so extension and can be found in ~/.steam/bin32. On OS X, they have a .dylib extension and can be found in /Applications/Steam.app/Contents/MacOS/osx32. From /Applications/Steam.app/Contents/MacOS, you will also need to copy the Frameworks directory to your server's install directory (NOT bin).

Before you run the server, it is highly recommended that you also install the latest snapshot of Metamod:Source and the Dota 2 Fixups plugin in order to fix a number of issues. Note that you must edit the gameinfo.txt file in the "dota" subdirectory in order to install Metamod:Source. For more details on this install method, see the documentation here. (If you chose to use a Steam client install from which you also play the game, you will need to remove the gameinfo edit before launching the Dota client.)

Running the Server

After installing the necessary files, running the server is easy if you've ever run Source servers before. Open a terminal program (or the command prompt on Windows) and navigate to the directory containing your Dota 2 installation. Then run the following command depending on which OS you are using:
Windows: srcds.exe -console -game dota +map dota
Linux: ~/steam-runtime/run.sh ./srcds_run -game dota +map dota
Mac OS X: ./srcds_run -game dota +map dota
Additional command line options, such as -port <port number> and -ip <ip address>, may also be added as needed.

If on Linux and using the copy of steam-runtime shipped with the Steam client, its default path is ~/.steam/bin32/steam-runtime.


If you run into a issue with this follow error below

********************************************* ***
* Unable to load Steam support library. *
* This server will operate in LAN mode only. *
********************************************* ***


FIX below for the error above

For both Mac and Linux, if you don't have the Steam client installed, you will need to still obtain the steamclient binaries from a Steam client install for your OS and copy them to bin directory of your Dota 2 install. This includes steamclient, libsteam, libtier0_s, and libvstdlib_s.

On Mac, they have a .dylib extension and can be found in /Applications/Steam.app/Contents/MacOS/osx32. On Linux, they have a .so extension and can be found in ~/.steam/bin32.

The plugins for the fix below

https://onedrive.live.com/redir?resid=1ECCE187A697D127!5465&authkey=!AOSSutdwURV20SY&ithint=folder%2cgz

Thanks

Comment and rate.
11 Comments
Nightowl085 Jun 10, 2024 @ 6:16am 
does this still work on the latest update?
Splash Colour  [author] Jan 13, 2024 @ 11:51am 
I will in a bit, i just been rather moving files to a new online storage
StashGaming Jan 8, 2024 @ 2:58am 
share the files please
2w1f Oct 1, 2017 @ 9:27am 
@tidreit I shall try this stuff, will it spoil my personal game experience? Also, this helps in hosting tournaments right? offline or online?
mayorovp Sep 24, 2017 @ 6:55am 
"Next, download the appropriate attachment below for the OS on which you wish to run a server. Extract the files into your Dota 2 install directory." - what attachments are you talking about?
Soulfreakz May 22, 2017 @ 10:22am 
can i playing online with my own dedicated server ? and completing all Battle Pass quest ?
Fleechie May 14, 2017 @ 6:28am 
Hi there. Thanks for this guide. I'm just wondering, will the TI7 Battle Pass work in a dedicated server like this?
Splash Colour  [author] Jan 19, 2017 @ 8:03am 
No problem, hope it helped.
Please Jan 19, 2017 @ 7:17am 
Thanks man! Really appreciated the guide!
Splash Colour  [author] Aug 19, 2016 @ 7:03pm 
Just thought maybe people didnt know how to make a dedicated server, so i'd thought of creating a guide