Left 4 Dead 2 server.cfg Generator

Left 4 Dead 2 hat ein ungewöhnliches Problem: das Spiel selbst setzt viele der Einstellungen zurück, die hier verändert werden.

Visuelle Einstellungen

source Format
Identity

Server name in the browser.

Gameplay

Comma-separated game modes the server offers.

Campaign difficulty. Impossible is Expert.

Both teams hear each other on voice.

Cheat commands. Many pacing and difficulty values are re-applied by the Director once a campaign starts, so they will not stick from this file alone.

Players & Access

Join password.

Network

Game server login token for public listing.

On, players can only arrive through a Steam lobby and direct connections are refused — the usual reason a reachable server rejects friends joining by address.

RCON & Query

Remote console password.

server.cfg

rcon_passwordThis is still the example RCON password. Change it, and keep the RCON port off the public internet.
sv_setsteamaccountWithout a game server login token the server will not appear in the public browser, however your ports are configured.
hostname "Spawnly L4D2"
sv_password ""
rcon_password "changeme"
sv_setsteamaccount 
sv_allow_lobby_connect_only 0
sv_gametypes coop,versus,survival
z_difficulty Normal
sv_alltalk 0
sv_cheats 0

Wie server.cfg Syntax funktioniert

Standard Source Command-Syntax. Die Komplexität liegt in der Schichtung – der Server liest server.cfg, dann gamemodus-spezifische Konfigurationen und der Director wendet seine eigenen Werte für alles an, was Tempo und Schwierigkeit betrifft.

Der Fehler, der Menschen Stunden kostet

Schwierigkeits- und spawnbezogene Einstellungen, die in server.cfg geschrieben werden, werden häufig überschrieben, sobald ein Kampagnenstart beginnt. Wenn ein Wert nicht haften bleibt, muss er in der gamemodus-spezifischen Konfiguration und nicht in der allgemeinen Konfiguration sein, und einige davon können ohne ein Plugin nicht verändert werden.

Support & Hilfe