With the right configuration, you can turn your Black Mesa game server into exactly the Deathmatch server you have in mind: with your own name, password, game mode, map, and rules. In this guide, we’ll show you how a Black Mesa server is configured and which settings are available.
Black Mesa uses the Source engine. Your server is therefore configured using console variables (Cvars), which are stored in configuration files and executed at startup.
- The most important file is
server.cfgin thebms/cfgfolder. Each line contains a setting and its value, for examplehostname "Mein Black Mesa Server". - The map rotation is defined in
mapcycle.txt, also in thebms/cfgfolder. - Custom maps go in the
bms/mapsfolder (.bspfiles) or in thebms/addonsfolder as a package (.vpkfiles).
After changing the configuration, restart your server for the changes to take effect.
Depending on how your server is set up, some values, such as the server name, password, or starting map, can also be set directly in your service settings. These values take precedence over server.cfg.
Here’s a simple configuration for a Team Deathmatch server:
hostname "Mein Black Mesa Server"
sv_password ""
rcon_password "DeinRconPasswort"
mp_teamplay 1
mp_fraglimit 30
| Setting | Meaning |
|---|---|
| hostname | Your server’s name in the server list |
| sv_password | Password players need to join (empty = public server) |
| rcon_password | Password for remotely controlling your server via RCON |
| mp_teamplay | 1 = Team Deathmatch, 0 = Deathmatch (free-for-all) |
| mp_fraglimit | Number of kills before the map ends |
| mp_timelimit | Time limit before the map ends |
| sv_cheats | Allow cheats (1) or disable them (0); leave this set to 0 for regular games |
Always set your own secure rcon_password and don’t share it. Anyone who knows the password can fully control your server.
In multiplayer, Black Mesa offers Deathmatch and Team Deathmatch. Set the game mode with mp_teamplay.
The following maps are included, among others: dm_boom, dm_bounce, dm_chopper, dm_crossfire, dm_gasworks, dm_lambdabunker, dm_power, dm_rail, dm_stack, dm_stalkyard, dm_subtransit, and dm_undertow.
To set up a map rotation, list the maps you want in mapcycle.txt, one map per line:
dm_boom
dm_bounce
dm_crossfire
dm_gasworks
Make sure to enter map names exactly as shown. If a map doesn’t exist, your server won’t be able to load it.
RCON lets you control your server directly from the game. Open the developer console, log in with rcon_password DeinRconPasswort, then send commands using rcon, for example:
rcon changelevel dm_gasworks
rcon kick "Spielername"
rcon status
This lets you change the map, remove players, or view the current player list.
Your Black Mesa server is now configured just the way you want it. If something isn’t working as expected, see our guide to Common Issues. If you have any other questions, our support team is available every day! 🙂
