Team Fortress 2 server.cfg gerador

Team Fortress 2 lê server.cfg no início, mas as alterações do mapa são onde os ajustes silenciosamente voltam aos valores predefinidos.

Definições Visuais

Formato source
Identity

Server name in the browser.

Gameplay

Minutes per map. 0 disables it.

Round wins before a map change. 0 disables it.

Team damage.

Random critical hits. Turning them off is the most common change on community servers.

Both teams hear each other on voice.

How strictly client files must match the server. Higher blocks custom content.

Cheat commands. Several values here reset on map change unless a per-map config reapplies them.

Players & Access

Join password.

Network

Game server login token. Required for public listing, separate from reachability.

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 TF2"
sv_password ""
rcon_password "changeme"
sv_setsteamaccount 
mp_timelimit 30
mp_winlimit 0
mp_friendlyfire 0
tf_weapon_criticals 1
sv_alltalk 0
sv_pure 0
sv_cheats 0

Como funciona a sintaxe do server.cfg

Sintaxe Source padrão: comando, espaço, valor. Aspas para valores com espaços, 1 e 0 para booleanos. Muitos cvars de jogo são prefixados com tf_ e fazem efeito imediatamente quando definidos.

O erro que custa horas às pessoas

Alguns cvars são redefinidos quando se muda de mapa a não ser que sejam reaplicados, e o servidor executa ficheiros de configuração por mapa e por modo de jogo após server.cfg. Um ajuste que funciona no primeiro mapa e depois reverte está a ser sobrescrito por um deles, não ignorado.

Suporte e Ajuda