Black Mesa

Black Mesa

Not enough ratings
How to Create a Dedicated Server for Black Mesa | Deathmatch & Co-op
By Jeremias
🎮 Welcome to this guide! In this tutorial, you will learn how to create a dedicated server for Black Mesa, compatible with Deathmatch and Co-op. Ideal for playing with friends and maintaining full control of your game. In addition, this guide is updated and adapted to the latest version available.
   
Award
Favorite
Favorited
Unfavorite
Information


  • In this guide we will show you how to create a Dedicated Server for Black Mesa
  • Everything you need will be left in the guide
  • Any doubt or question you can ask in the comments
Guide start
Before you begin, it is important that you have the following ports open on your router so that others can connect to your server without problems:

  • UDP and TCP - 27015
  • UDP - 27005

Dedicated Server for Deathmatch
The first thing we’ll do is download the Black Mesa Dedicated Server tool directly from Steam.



Once installed, we’ll locate the folder where it is stored. To do this, open the Steam library, right-click on the tool, select "Manage" and then "Browse local files".



Now we’re going to configure the srcds.exe file so it always runs as administrator. This is key to avoid issues when starting the server.



Next, we will configure the main server file. Go to the path:

"Black Mesa Dedicated Server\bms\cfg"

Inside the "cfg" folder, look for the file named server.cfg and open it with a text editor.



Here we’ll configure the basic parameters of our server. Pay attention to the following values which you can adjust as you see fit:

// Black Mesa server.cfg file hostname "Yeremi Server - Black Mesa" // Server name visible to players rcon_password "admin123" // RCON password (remote administration) sv_password "" // Access password (empty = open access) sv_lan 0 // 0 = online, 1 = LAN sv_cheats 0 // 0 = no cheats mp_autoteambalance 1 // Team balancing mp_friendlyfire 0 // Friendly fire disabled sv_region 255 // 255 = auto (global)

Once you've adjusted these values, remember to save the changes before closing the file.

Now open the CMD command terminal in Windows. From there, navigate to the folder where the tool is installed. Use the following command:

cd "C:\Program Files (x86)\Steam\steamapps\common\Black Mesa Dedicated Server"

⚠️ Remember that the path may vary depending on where you installed Steam.

Now run the following command to start our server:

srcds.exe -console -game bms +ip 192.168.1.107 +map dm_crossfire +maxplayers 32 -port 27015



And here’s what each part of the command does:

srcds.exe -console -game bms +ip 192.168.1.107 +map dm_crossfire +maxplayers 32 -port 27015 srcds.exe // Runs the dedicated server -console // Launches in console mode -game bms // Specifies the game Black Mesa +ip your_local_ip // Sets the server's local IP +map initial_map // Sets the initial map (e.g., dm_crossfire) +maxplayers number // Sets the maximum number of players -port port_number // Connection port (27015 recommended)

❓ Don’t know your local IP?

If you don’t know your local IP, just do the following:

Press Windows + R, type cmd, and hit Enter.

In the black window, type: ipconfig

Look for "IPv4 Address".
For example: 192.168.1.107 — that’s your local IP.



If everything is correct, a new window will open showing the server console running.







Admin Console Commands

The following commands can be used through the Black Mesa dedicated server console.



status // View server information changelevel map // Change map kick player_name // Kick player addip 0 player_ip // Ban IP banid 0 steamid64 // Ban SteamID removeip ip // Unban IP removeid steamid64 // Unban SteamID hostname "New name" // Change server name sv_password "key" // Set password sv_password "" // Remove password mp_timelimit minutes // Map duration mp_falldamage 1 // Enable realistic fall damage



Multiplayer Maps - Deathmatch
1. Map Name: dm_boom
📝 Description: N/A



2. Map Name: dm_bounce
📝 Description: This canyon once housed a classified mining operation. It is now designated as a biological hazard zone, for unknown reasons...



3. Map Name: dm_chopper
📝 Description: At the end of the Black Mesa Transit System, this suspicious cargo facility is the last stop before Waste Processing...



4. Map Name: dm_crossfire
📝 Description: Somewhere in the vast expanses of the New Mexico desert, the Black Mesa Nuclear Testing Team decided to hide a big red button...



5. Map Name: dm_gasworks
📝 Description: This Gas Works complex was built to power the first teleportation tests. Some clues about its experimental history are hidden beneath the surface...



6. Map Name: dm_lambdabunker
📝 Description: Several weeks after the disaster, the military recovery and cleanup operation at the heavily bombarded Lambda Complex encountered some especially unpleasant obstacles...



7. Map Name: dm_power
📝 Description: The deteriorating facility that powers the Black Mesa Transit System is as dangerous as it is ancient...



8. Map Name: dm_rail
📝 Description: The old and abandoned Black Mesa Transit System holds many unexpected surprises...



9. Map Name: dm_stack
📝 Description: The access road to the Black Mesa Communications Division was considered the perfect environment for testing and training...



10. Map Name: dm_stalkyard
📝 Description: This remote warehouse housed the first prototypes and components of the Black Mesa satellite. Since then, it has fallen victim to time and nature...



11. Map Name: dm_subtransit
📝 Description: The underground Black Mesa transit system is one of the largest and most complex in the world. This facility supplied sensitive materials to the Lambda Complex...



12. Map Name: dm_undertow
📝 Description: This water treatment plant was the final stop for wastewater after waste processing. The rushed evacuation after the disaster prevented proper shutdown procedures from being followed.



All map information in this section was made possible thanks to the map collection created by user Large Marge

https://sp.zhabite.com/sharedfiles/filedetails/?id=1920599249&searchtext=MAPS
Dedicated Cooperative Server


In this case, to create a dedicated server for Co-op, you’ll need to download the following file:

https://drive.google.com/file/d/1xpH9AwMbcAcT3uHPDHW_VSspAyXxIXHv/view?usp=sharing

Once downloaded, go to the folder where your game is installed and navigate to the following location:

> Black Mesa Dedicated Server\bms



Inside that folder, extract the compressed file you downloaded.

Next, you’ll need to configure the main server file. Go to:

"Black Mesa Dedicated Server\bms\cfg"

Inside the "cfg" folder, look for a file called server.cfg and open it with a text editor.



Here you’ll configure the basic parameters for your server. Pay attention to the following values, which you can modify to your preference:

// Black Mesa server.cfg file hostname "Yeremi Server - Black Mesa" // Server name visible to players rcon_password "admin123" // RCON password (remote admin) sv_password "" // Access password (empty = open access) sv_lan 0 // 0 = online, 1 = LAN sv_cheats 0 // 0 = no cheats sv_region 255 // 255 = auto (global)

Once you’ve adjusted these values, remember to save the file before closing it.

Now open the Windows command prompt (CMD). From there, navigate to the folder where the tool is installed using the following command:

cd "C:\Program Files (x86)\Steam\steamapps\common\Black Mesa Dedicated Server"

⚠️ Remember, the path may vary depending on where you installed Steam.

Now run the following command to start your server:

srcds.exe -console -game bms +ip 192.168.1.107 +maxplayers 10 +mp_teamplay 1 +exec server.cfg +map bm_c4a1a



Here’s what each part of the command does:

srcds.exe -console -game bms +ip 192.168.1.107 +maxplayers 10 +mp_teamplay 1 +exec server.cfg +map bm_c4a1a srcds.exe // Launches the dedicated server -console // Starts in console mode -game bms // Specifies the game Black Mesa +ip your_local_ip // Sets the local server IP +map initial_map // Sets the starting map (e.g. bm_c4a1a / Xen) +maxplayers number // Defines the maximum number of players -port port_number // Connection port (27015 recommended)

❓ Don’t know your local IP?

If you don’t know your local IP, just:

Press Windows + R, type cmd, and press Enter.

In the black window, type: ipconfig

Look for where it says "IPv4 Address."
Example: 192.168.1.107 — that’s your local IP.



If everything is correct, a new window will open showing your server console running.







Admin Console Commands

The following commands can be used through the Black Mesa dedicated server console.



status // Show server information changelevel map // Change the map kick player_name // Kick a player addip 0 player_ip // Ban an IP banid 0 steamid64 // Ban a SteamID removeip ip // Unban an IP removeid steamid64 // Unban a SteamID hostname "New name" // Change the server name sv_password "password" // Set server password sv_password "" // Remove server password mp_timelimit minutes // Map duration mp_falldamage 1 // Enable realistic fall damage mp_friendlyfire 1 // Enable friendly fire
Campaign Maps Part 1 - Coop
Chapter 01 - Arrival at Black Mesa
Total Maps: 3

Map Name: bm_c0a0a



Map Name: bm_c0a0b



Map Name: bm_c0a0c




Chapter 02 - Anomalous Materials
Total Maps: 2

Map Name: bm_c1a0a



Map Name: bm_c1a0b




Chapter 03 - Unforeseen Consequences
Total Maps: 5

Map Name: bm_c1a1a



Map Name: bm_c1a1b



Map Name: bm_c1a1c



Map Name: bm_c1a1d



Map Name: bm_c1a1e




Chapter 04 - Office Complex
Total Maps: 3

Map Name: bm_c1a2a



Map Name: bm_c1a2b



Map Name: bm_c1a2c




Chapter 05 - We Have Hostiles!
Total Maps: 3

Map Name: bm_c1a3a



Map Name: bm_c1a3b



Map Name: bm_c1a3c




Chapter 06 - Explosion Pit
Total Maps: 5

Map Name: bm_c1a4a



Map Name: bm_c1a4b



Map Name: bm_c1a4c



Map Name: bm_c1a4d



Map Name: bm_c1a4e




Chapter 07 - Power Restored
Total Maps: 2

Map Name: bm_c2a1a



Map Name: bm_c2a1b




Chapter 08 - On Rails
Total Maps: 3

Map Name: bm_c2a2a



Map Name: bm_c2a2b



Map Name: bm_c2a2c




Chapter 8.5 - Uncut On Rails
[NOTE: THIS CHAPTER IS NOT INCLUDED IN THE STATISTICS.]
Total Maps: 7

Map Name: bm_c2a2a



Map Name: bm_c2a2a1



Map Name: bm_c2a2a2



Map Name: bm_c2a2b



Map Name: bm_c2a2b1



Map Name: bm_c2a2b2



Map Name: bm_c2a2c




Chapter 09 - Apprehension
Total Maps: 3

Map Name: bm_c2a3a



Map Name: bm_c2a3b



Map Name: bm_c2a3c




Chapter 10 - Waste Processing
Total Maps: 3

Map Name: bm_c2a4a



Map Name: bm_c2a4b



Map Name: bm_c2a4c




Chapter 11 - Questionable Ethics
Total Maps: 4

Map Name: bm_c2a4e



Map Name: bm_c2a4f



Map Name: bm_c2a4g



Map Name: bm_c2a4h




Chapter 12 - Surface Tension
Total Maps: 9

Map Name: bm_c2a5a



Map Name: bm_c2a5b



Map Name: bm_c2a5c



Map Name: bm_c2a5d



Map Name: bm_c2a5e



Map Name: bm_c2a5f



Map Name: bm_c2a5g



Map Name: bm_c2a5h



Map Name: bm_c2a5i

Campaign Maps Part 2 - Coop
Chapter 13 - Forget About Freeman!
Total Maps: 2

Map Name: bm_c3a1a



Map Name: bm_c3a1b




Chapter 14 - Lambda Core
Total Maps: 9

Map Name: bm_c3a2a



Map Name: bm_c3a2b



Map Name: bm_c3a2c



Map Name: bm_c3a2d



Map Name: bm_c3a2e



Map Name: bm_c3a2f



Map Name: bm_c3a2g



Map Name: bm_c3a2h



Map Name: bm_c3a2i




Chapter 15 - Xen
Total Maps: 6

Map Name: bm_c4a1a



Map Name: bm_c4a1a1



Map Name: bm_c4a1b



Map Name: bm_c4a1b1



Map Name: bm_c4a1c



Map Name: bm_c4a1c1




Chapter 16 - Gonarch's Lair
Total Maps: 3

Map Name: bm_c4a2a



Map Name: bm_c4a2b



Map Name: bm_c4a2c




Chapter 17 - Invader
Total Maps: 10

Map Name: bm_c4a3a



Map Name: bm_c4a3a1



Map Name: bm_c4a3b



Map Name: bm_c4a3b1



Map Name: bm_c4a3b2



Map Name: bm_c4a3c



Map Name: bm_c4a3c1



Map Name: bm_c4a3c2



Map Name: bm_c4a3d



Map Name: bm_c4a3d1




Chapter 18 - Nihilanth
Total Maps: 1

Map Name: bm_c4a4a




Chapter 19 - Finale
Total Maps: 1

Map Name: bm_c5a1




Chapter 20 - Credits
Total Maps: 1

Map Name: credits




All the map information obtained for this section was made possible thanks to the map compilation created by user Large Marge

https://sp.zhabite.com/sharedfiles/filedetails/?id=1920599249&searchtext=MAPS
Join the created server
To join your server, open the game Black Mesa, press the tilde key (~) to open the console, and type the following command:

  • connect YOUR-PUBLIC-IP:27015

Example: connect 205.125.85.66:27015

Don't know your public IP? No worries, visit this page to check it easily:




Once you have your IP, you can share it with your friends so they can join your server directly.

And an extra tip: in some cases, your server will appear in Black Mesa’s public server list, allowing any player to join freely—so long as you haven’t set a password.

Console Admin Commands
The following commands can be used from the dedicated server console in Black Mesa:



status // Show server information changelevel map_name // Change map kick player_name // Kick player addip 0 player_ip // Ban IP banid 0 steamid64 // Ban SteamID removeip ip_address // Unban IP removeid steamid64 // Unban SteamID hostname "New name" // Change server name sv_password "password" // Set server password sv_password "" // Remove server password mp_timelimit minutes // Set map duration mp_falldamage 1 // Enable realistic fall damage mp_friendlyfire 1 // Enable friendly fire





🧠 If you found this guide useful, feel free to follow me on Steam so you don’t miss my future guides.

📚 You can also check out my other published guides here.


Videoguide
Here’s a video for those who prefer watching over reading, or for anyone who didn’t quite understand the explanation above :)



If you found this guide helpful, feel free to follow me on Steam so you don’t miss my future guides.


Also, be sure to check out my other guides here!


4 Comments
Jeremias  [author] 11 Jun @ 12:51pm 
Yes it should work since I did a test playing with a friend from the Lambda Labs chapter to get to Xen :gordon:
Joe Arschtreter 11 Jun @ 7:27am 
Do this allow me and friends to play the whole game in coop? With all of the Story and Cutscenes?
Jeremias  [author] 8 Jun @ 5:42am 
I just rechecked the download link and I see that it is still working correctly :bms:
hamblat 7 Jun @ 9:54pm 
it won't let me download the files from drive