Skip to content

Black Mesa: Server Configuration

Learn how to configure your Black Mesa game server’s name, password, game mode, maps, and RCON in server.cfg

12 November 20262 min read16 Views0 helpful

Don't have your own server yet? Host your Black Mesa server with ZAP-Hosting from €4.49 / month.

Introduction

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.

How configuration works

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.cfg in the bms/cfg folder. Each line contains a setting and its value, for example hostname "Mein Black Mesa Server".
  • The map rotation is defined in mapcycle.txt, also in the bms/cfg folder.
  • Custom maps go in the bms/maps folder (.bsp files) or in the bms/addons folder as a package (.vpk files).

After changing the configuration, restart your server for the changes to take effect.

Info

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.

Example: server.cfg

Here’s a simple configuration for a Team Deathmatch server:

Code
hostname "Mein Black Mesa Server"
sv_password ""
rcon_password "DeinRconPasswort"
mp_teamplay 1
mp_fraglimit 30

Important settings

SettingMeaning
hostnameYour server’s name in the server list
sv_passwordPassword players need to join (empty = public server)
rcon_passwordPassword for remotely controlling your server via RCON
mp_teamplay1 = Team Deathmatch, 0 = Deathmatch (free-for-all)
mp_fraglimitNumber of kills before the map ends
mp_timelimitTime limit before the map ends
sv_cheatsAllow cheats (1) or disable them (0); leave this set to 0 for regular games
Important

Always set your own secure rcon_password and don’t share it. Anyone who knows the password can fully control your server.

Game modes and maps

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:

Code
dm_boom
dm_bounce
dm_crossfire
dm_gasworks
Tip

Make sure to enter map names exactly as shown. If a map doesn’t exist, your server won’t be able to load it.

Control your server with RCON

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:

Code
rcon changelevel dm_gasworks
rcon kick "Spielername"
rcon status

This lets you change the map, remove players, or view the current player list.

Conclusion

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! 🙂

Free tools

Black Mesa Tools

View all

FAQ

Frequently asked questions

The main settings are in server.cfg in the bms/cfg folder. Set the map rotation in mapcycle.txt in the same folder. Restart your server after making changes.
Use the mp_teamplay setting: 1 enables Team Deathmatch, while 0 enables Deathmatch, where everyone plays against everyone else.
In server.cfg, enter sv_password followed by your password, for example sv_password "MeinPasswort", then restart your server. An empty value makes your server public.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.