Skip to content
Black Mesa
Game Configurator

Black Mesa Server Configuration Generator

Use the Black Mesa server.cfg Generator to create a server.cfg for Black Mesa Deathmatch online. Set the server name, password, game mode, frag limit, time limit, votes and RCON in the form, or describe your server to the AI in Easy Mode. The live preview shows the finished file, which you can copy or download. It’s free, requires no sign-up and creates the server.cfg directly in your browser.

Built by Florian Galz

Config ready? Black Mesa is available for pre-order, so get your server now.

black-mesa

ZapX AI Agent

Explain how you want to configure your server

Briefly describe the kind of server you want — we'll suggest matching settings.

For example:

Show config file preview
black-mesaserver.cfgLive preview
// Black Mesa — generated with the ZAP-Hosting Game Config Generator
// zap-hosting.com/tools/black-mesa/config-generator
// Server basics
hostname "Black Mesa: Deathmatch"
sv_password ""
sv_tags ""
sv_region "-1"
sv_contact ""
// Gameplay
mp_teamplay "1"
mp_fraglimit 30
mp_timelimit 900
mp_forcerespawn 1
mp_friendlyfire 0
mp_teamplay_ff_penalty 1
mp_warmup_time 30
mp_chattime 10
mp_mapcycle_empty_timeout_seconds 0
sv_falldamagescale 1
sv_show_enemy_hp 0
bm_multiplayer_balanced_spawning_enabled 1
mp_allowspectators 1
mp_forcecamera 1
mp_fadetoblack 0
// Communication
sv_voiceenable 1
sv_alltalk 0
mp_show_voice_icons 1
sv_allow_votes 1
sv_vote_quorum_ratio 0.6
sv_vote_timer_duration 15
sv_vote_creation_timer 150
sv_vote_allow_spectators 0
// Administration & security
rcon_password ""
sv_cheats 0
// Other
sv_allowdownload 1
sv_downloadurl ""
sv_allowupload 1
sv_gravity 600
sv_ranked 1
sv_lan 0

Example result

Example: the generated server.cfg

You set the options using a form or AI Easy Mode, and the generator creates the finished server.cfg for Black Mesa live. Below are the first lines of the default configuration; your file contains your values and all other settings.

Example · Default configuration

Output

server.cfg
// Black Mesa — generated with the ZAP-Hosting Game Config Generator// zap-hosting.com/tools/black-mesa/config-generator // Server basicshostname "Black Mesa: Deathmatch"sv_password ""sv_tags ""sv_region "-1"sv_contact "" // Gameplaymp_teamplay "1"mp_fraglimit 30mp_timelimit 900mp_forcerespawn 1
  • +33 rowsYou can copy or download the complete file in the generator; the sample lines here only show the beginning.

Settings

What you can set with the Black Mesa server.cfg Generator

The generator creates the server.cfg for your Black Mesa multiplayer server, not a client config such as autoexec.cfg. Its 37 settings are divided into five sections, with the corresponding Cvar shown in parentheses.

Server basics

Server name (hostname; default “Black Mesa: Deathmatch”), server password (sv_password; leave blank for a public server), starting map, server tags (sv_tags), server browser region (sv_region) and contact address (sv_contact). The starting map is a launch parameter (+map), so it is not included in the server.cfg. You can choose from the game’s twelve Deathmatch maps.

Gameplay

Game mode (mp_teamplay): Team Deathmatch or Deathmatch; frag limit (mp_fraglimit; default 30); time limit per map in seconds (mp_timelimit; default 900 = 15 minutes); automatic respawn (mp_forcerespawn); Friendly Fire and teamkill penalty (Team Deathmatch only); warm-up time; post-match chat time; map changes when the server is empty; fall damage (sv_falldamagescale); enemy health display (sv_show_enemy_hp); balanced spawn points; and spectator options.

Communication

Voice chat (sv_voiceenable), All-Talk (sv_alltalk), voice icons above players (mp_show_voice_icons) and voting: allow votes (sv_allow_votes), required proportion of yes votes (sv_vote_quorum_ratio, 0.5–1.0), vote duration, cooldown before the next vote and whether spectators can vote.

Administration & security

RCON password (rcon_password; leave blank to disable RCON) and cheat commands (sv_cheats; off by default). Keep sv_cheats off on a public server.

Other

Downloads of missing files (sv_allowdownload), a Fast Download URL (sv_downloadurl), uploads such as sprays (sv_allowupload), gravity (sv_gravity, 600 by default in Black Mesa), player statistics (sv_ranked) and LAN mode (sv_lan), which removes the server from the public server list and is intended only for local testing.

The generator appends lines it does not recognize from an imported server.cfg, such as weapon values (sk_…), unchanged to the end of the file. It does not create the mapcycle file (mapcycle.txt).

Guide

How to create your Black Mesa server.cfg

From your first setting to a running server: how to create the config for your Black Mesa server.

  1. 1

    Step 1

    Open generator or import config

    The generator starts with the values from the server.cfg included with the Black Mesa Dedicated Server: Team Deathmatch, a frag limit of 30 and 15 minutes per map. You can see the finished server.cfg immediately in the live preview. If you already have a server.cfg, import it as a .cfg or .txt file up to 2 MB, or paste its contents.

  2. 2

    Step 2

    Choose the “Easy” or “Advanced” mode

    In Easy Mode, describe your server in your own words, such as “Deathmatch for friends with 10 minutes per map and votes.” The AI suggests suitable values and explains each change; only changes you confirm are applied. In Advanced Mode, you set every option yourself in the form.

  3. 3

    Step 3

    Set server basics

    Enter the server name (hostname) and, optionally, a server password (sv_password). Choose one of the twelve Deathmatch maps as the starting map and add server tags (sv_tags) and a region (sv_region) if needed.

  4. 4

    Step 4

    Set game mode and rules

    Choose Team Deathmatch or Deathmatch, set the frag limit and time limit (mp_timelimit is measured in seconds in Black Mesa), and decide on respawn, Friendly Fire, fall damage and enemy health display.

  5. 5

    Step 5

    Communication and administration

    Turn voice chat, All-Talk and votes on or off, set an RCON password and leave sv_cheats disabled.

  6. 6

    Step 6

    Check and save server.cfg

    Check server.cfg in the live preview; the generator flags invalid values. Then copy or download the file, or share a link without passwords.

  7. 7

    Step 7

    Upload and apply

    Save the file on your server as bms/cfg/server.cfg and restart the server, or run “exec server.cfg” in the console. Set the starting map with the +map launch parameter.

Setup

File location & applying changes

Upload the server.cfg to your server yourself. You can pre-order a server from ZAP-Hosting now.

The manual method

Upload yourself

  1. 1

    Download file

    Download the generated server.cfg using the button above.

  2. 2

    Upload via file manager or FTP/SFTP

    Place in bms/cfg/server.cfg (Linux) or bms\cfg\server.cfg (Windows).

  3. 3

    Apply changes

    Restart your server or run “exec server.cfg” in the console.

The ZAP-Hosting way

Pre-order now

Black Mesa is currently available for pre-order at ZAP-Hosting. Your server setup will start automatically as soon as the game is released. You can already download the server.cfg from this page.

  • Flexible Term
  • Cancel anytime
  • Create server.cfg now

More tools

server.cfg generators for other Source games

Server Configuration Generator

Describe your server.cfg to the ZapX AI Agent in your own words or set the options in the form — with a live preview for your CS:Source server.

Built by Florian Galz

Server Configuration Generator

Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Team Fortress 2 server.

Built by Florian Galz

Server Configuration Generator

Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Left 4 Dead 2 server.

Built by Florian Galz

Server Configuration Generator

Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Garry's Mod server.

Built by Florian Galz

View all Black Mesa tools

Was this tool helpful?

Your feedback helps us prioritize and improve content.

FAQ

Frequently asked questions about the Black Mesa server.cfg Generator

File location, time limit in seconds, game mode, starting map, GSLT, passwords and pre-ordering – quick answers.

Where is the Black Mesa server.cfg located?

The server.cfg is in your server’s bms game folder: bms/cfg/server.cfg on Linux or bms\cfg\server.cfg on Windows. The Black Mesa Dedicated Server already includes a short server.cfg there. Downloading from the generator does not transfer anything automatically: replace the file and restart the server, or run “exec server.cfg” in the console.

Why is the time limit 900 instead of 15?

In Black Mesa, mp_timelimit is measured in seconds, not minutes as in Counter-Strike or Team Fortress 2. The included server.cfg sets it to 900, or 15 minutes per map. Setting it to 0 disables the time limit, so a map ends only when the frag limit (mp_fraglimit) is reached.

Team Deathmatch or Deathmatch: what does mp_teamplay control?

mp_teamplay 1 splits players into two teams (Team Deathmatch); mp_teamplay 0 makes it free-for-all (Deathmatch). Friendly Fire (mp_friendlyfire) and the teamkill penalty (mp_teamplay_ff_penalty) apply only in Team Deathmatch. The generator omits both lines in Deathmatch.

Is the Black Mesa server.cfg Generator free, and do I need an account?

The generator is free to use without signing up: the form, Easy Mode, import, copy, download and sharing features all work without an account. The server.cfg is generated directly in your browser. Only in Easy Mode are your description and current values, without passwords, sent to the AI, which suggests changes. Only changes you confirm are applied.

Why aren’t the starting map and player count in server.cfg?

The starting map and player count are launch parameters (+map and +maxplayers), not server.cfg Cvars. The generator therefore does not write the starting map to the file. You can choose from the game’s twelve Deathmatch maps, from dm_boom to dm_undertow. There is no player count field.

Do I need a GSLT for my Black Mesa server?

No. Black Mesa does not require a Game Server Login Token. The server signs in to Steam anonymously without a token and still appears in the server list. That’s why the generator has no GSLT field.

Will my passwords appear in the share link?

No. The server password and RCON password are masked in the form, never saved in share links and never sent to the AI in Easy Mode. A share link contains only the non-secret values you changed.

Can I rent a Black Mesa server from ZAP-Hosting?

Black Mesa is currently available for pre-order at ZAP-Hosting. As soon as the game is released, your server setup will start automatically. You can already use the generator regardless of where your server runs.

Still have questions?

Contact Support
Preorder

Get your Black Mesa server now

Black Mesa is available for pre-order at ZAP-Hosting. Your server will be set up automatically as soon as the game is released.

4.6/5 Google32,000+ Active serversSince 2010
Flexible TermCancel anytime
⚡ Zyber Week: 20% off rental servers and selected Lifetime servers with code ZYBER20. Grab the deal