No More Room in Hell Updated May 11, 2026

NMRiH server.cfg Reference

A complete NMRiH server.cfg with all essential cvars, their locations, and notes on sv_lan, GSLT, and autoexec.cfg.

No More Room in HellNMRiHserver.cfgconfigurationcvarsGSLTsv_lan

NMRiH server.cfg

server.cfg is the main configuration file for your NMRiH server. It executes automatically on every map change. The file is not created automatically — you must create it manually.

File Location

nmrih/cfg/server.cfg

Path is relative to your server install directory (wherever you pointed SteamCMD's force_install_dir).

Creating the File

On Linux:

mkdir -p /home/steam/nmrih-server/nmrih/cfg
nano /home/steam/nmrih-server/nmrih/cfg/server.cfg

On Windows, create server.cfg in C:\nmrih-server\nmrih\cfg\ using any text editor.

Complete server.cfg Template

// ── Identity ──────────────────────────────────────────────
hostname "My NMRiH Server"
sv_password ""

// ── Network ───────────────────────────────────────────────
sv_lan 0
sv_region -1

// ── Security ──────────────────────────────────────────────
rcon_password ""
sv_cheats 0

// ── Players ───────────────────────────────────────────────
maxplayers 8
sv_voiceenable 1
sv_alltalk 1

// ── Gameplay ──────────────────────────────────────────────
mp_timelimit 45
mapcyclefile "mapcycle.txt"

// ── Downloads ─────────────────────────────────────────────
sv_allowupload 1
sv_allowdownload 1
net_maxfilesize 64

// ── Rates ─────────────────────────────────────────────────
sv_minrate 0
sv_maxrate 60000
sv_minupdaterate 0
sv_maxupdaterate 66
sv_timeout 30

// ── Logging ───────────────────────────────────────────────
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1

Cvar Notes

sv_lan 0 — critical for internet-facing servers. Setting this to 1 makes the server invisible to the public Steam server browser and registers it as a LAN-only server.

sv_password "" — blank means no password and the server is open to anyone. Set a password to make the server private: sv_password "secretpass".

rcon_password "" — blank disables RCON entirely. Set a value only if you need remote console access. See the security warning in the port forwarding guide.

sv_region -1 — -1 means "world" (no region filter). Set to a region code if you want region-specific filtering: 0 = US East, 1 = US West, 2 = South America, 3 = Europe, 4 = Asia, 5 = Australia, 6 = Middle East, 7 = Africa.

mp_timelimit 45 — map time limit in minutes. After 45 minutes the server cycles to the next map in mapcycle.txt.

GSLT in server.cfg

You can place your Game Server Login Token directly in server.cfg:

sv_setsteamaccount YOUR_TOKEN_HERE

Alternatively, pass it on the command line with +sv_setsteamaccount YOUR_TOKEN. Either works; putting it in server.cfg makes it easier to manage.

autoexec.cfg

nmrih/cfg/autoexec.cfg executes once when the server starts, before server.cfg. It's a good place to put your sv_setsteamaccount line so it runs early in the startup sequence:

// autoexec.cfg
sv_setsteamaccount YOUR_TOKEN_HERE

Applying Changes

Changes to server.cfg take effect on the next map change (it re-executes automatically). To apply without changing maps, run in the server console:

exec server.cfg