Skip to content
Black Mesa
Tools for Black Mesa server admins

Create a Black Mesa server: Tools for your server.cfg

Want to create a Black Mesa server? Use the Config Generator to create a server.cfg for Black Mesa Deathmatch with a server name (hostname), server password (sv_password), game mode (mp_teamplay), frag limit (mp_fraglimit), time limit (mp_timelimit), voice chat, voting and RCON password (rcon_password). Use the form or AI Easy Mode. The live preview shows the finished file, which you can copy or download. The server.cfg is created in your browser; only Easy Mode sends your description and current values, without passwords, to the AI.

Free · No sign-up · server.cfg created in your browser

Server Configuration Generator

Describe server.cfg in your own words to ZapX AI Agent, or set the options in the form—with a live preview for your Black Mesa Deathmatch server.

Built by Florian Galz

At a glance

What the Black Mesa tools create for your server

These tools are for Black Mesa Deathmatch server operators who don’t want to write their server.cfg by hand.

Values from the actual server.cfg

The default values come from the server.cfg included with the Black Mesa Dedicated Server; all other Cvars and their limits come from the server itself. Cheat-protected values such as infinite ammo are intentionally excluded because they work only with sv_cheats.

server.cfg and launch parameters are separate

The generator writes Cvars for server basics, gameplay, communication, administration and other settings to server.cfg. You can choose the starting map from twelve Deathmatch maps, but it is not written to the file: the server loads it at startup using +map.

Reuse an existing server.cfg

Import an existing server.cfg as a .cfg or .txt file up to 2 MB, or paste its contents. Recognized settings appear in the form; when you export, the generator appends lines it does not recognize to the end of the file. It does not retain // comment lines or create mapcycle.txt.

How it works

How to create the server.cfg for your Black Mesa server

Six steps from your first setting to the server.cfg on your Black Mesa server.

  1. 1

    Open the server.cfg generator

    Select the Black Mesa config generator on this page. It starts with the values from the included server.cfg (server name “Black Mesa: Deathmatch”, Team Deathmatch, frag limit 30, 900 seconds per map) and immediately shows the file in the live preview.

  2. 2

    Choose a mode or import a config

    In Easy Mode, describe your server in your own words and apply only the AI suggestions you confirm. In Advanced Mode, set each option yourself in the form. You can import an existing server.cfg as a .cfg or .txt file up to 2 MB, or paste its contents.

  3. 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

    Game mode, communication and administration

    Choose Team Deathmatch or Deathmatch, set the frag limit and time limit in seconds, configure voice chat, All-Talk and votes, set an RCON password, and leave sv_cheats disabled.

  5. 5

    Check and save server.cfg

    Check server.cfg in the live preview. Then copy or download the file, or share a link without passwords.

  6. 6

    Upload and apply

    Upload the file to 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.

FAQ

Frequently asked questions

Tools, server setup, file location, time limit, private servers, server list, and pre-orders—quick answers.

What free Black Mesa tools are available here?

One tool is currently available for your Black Mesa server: the Config Generator for server.cfg. It’s free to use, with no sign-up or installation required. The server.cfg is created directly in your browser. Only in Easy Mode are your description and current values, without passwords, sent to the AI for suggested changes. Only changes you confirm are applied. Go to the Black Mesa server.cfg generator

How do I set up my own Black Mesa server?

You can install the Black Mesa Dedicated Server yourself or rent one; the generator handles the configuration. It offers 37 server.cfg settings across five sections, with each Cvar shown in parentheses. The starting map is a launch parameter (+map) and is not written to the file. You can then copy or download the server.cfg. Go to the Black Mesa server.cfg generator

  • Server basics: server name (hostname), server password (sv_password), starting map, server tags (sv_tags), region (sv_region) and contact address (sv_contact)
  • Gameplay: game mode (mp_teamplay), frag limit (mp_fraglimit), time limit in seconds (mp_timelimit), respawn, Friendly Fire, fall damage and spectators
  • Communication: voice chat (sv_voiceenable), All-Talk (sv_alltalk) and voting (sv_allow_votes)
  • Administration & Security: RCON password (rcon_password) and cheat commands (sv_cheats)
  • Other settings: downloads, Fast Download URL (sv_downloadurl), gravity (sv_gravity), player statistics and LAN mode

Where do I edit my Black Mesa server settings?

In the server.cfg in your server’s bms game folder: bms/cfg/server.cfg on Linux or bms\cfg\server.cfg on Windows. Downloading from the generator does not transfer anything automatically. Upload the file yourself and restart the server, or run “exec server.cfg” in the console.

Why is the time limit measured in seconds?

In Black Mesa, mp_timelimit is the time per map in seconds. The included server.cfg sets it to 900, or 15 minutes. If you’re used to Counter-Strike or Team Fortress 2, where the value is measured in minutes, it’s easy to set a much shorter round than intended.

How do I play Black Mesa with friends on a private server?

Set a server password (sv_password) in the generator so only people who know it can join. Leave the field blank for a public server. Use the game mode (mp_teamplay) to choose between Team Deathmatch and free-for-all Deathmatch.

Why doesn’t my Black Mesa server appear in the server list?

Check LAN mode (sv_lan) first: when enabled, it removes the server from the public server list and is intended only for local testing. You don’t need a GSLT for Black Mesa. The generator does not check ports or your firewall; use the Port Checker to see whether a port is open. Go to the Port Checker

Do I need a Black Mesa server from ZAP-Hosting to use this?

No. You can use the server.cfg wherever your server runs, even on your own computer. Black Mesa is currently available for pre-order at ZAP-Hosting. As soon as the game is released, your server setup will start automatically. Pre-order a Black Mesa server

Still have questions?

Contact Support

More tools

More tools for your Black Mesa server

Use the Garry’s Mod Config Generator, check server ports, copy firewall commands, convert SteamIDs, load Workshop content and generate strong passwords.

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

Port Checker

Check whether specific ports are open on an IP or hostname—select a protocol or game instead of scanning all ports at once.

Built by Sebastian Rademacher

Common Ports & firewall commands

Enter a port or service to learn what it does and copy ready-to-use firewall commands for ufw, iptables, nftables, firewalld and Windows. Includes the complete IANA port list and a port check.

Built by Justin Schuessler

Password Generator

Generate strong, random passwords directly in your browser — nothing is stored or transmitted.

Built by Rugile Rutkauskaite

SteamID Converter

Convert between SteamID64, classic SteamID and SteamID3 in either direction, or look up an ID from an account name and vice versa. The format is detected automatically, with a copy button for each format.

Built by Justin Schuessler

Steam Workshop Downloader

New

Paste Workshop links or collections: the tool detects the game and generates a ready-to-use SteamCMD command and script for Linux or Windows to download mods for your Dedicated Server.

Built by Florian Galz

Tool pages for other Source games: Garry’s Mod tools · Team Fortress 2 Tools · No More Room in Hell Tools