Rust server.cfg gerador

Rust's server.cfg é uma lista de comandos da consola em vez de um ficheiro de definições, o que confunde quem espera o formato chave=valor que todos os outros jogos usam.

Começar com um preset

Definições Visuais

Formato source
Identity

Name in the server browser. Quote it if it contains spaces — this format separates command and value with a space, not an equals sign.

Shown when a player selects your server. Use \n for line breaks.

Direct URL to a banner image for the server browser. Must be a direct image link.

Website shown alongside your server in the browser.

Game port players connect on.

Query port. This is the one server lists read — forwarding only the game port is why a working Rust server never appears in the browser.

Gameplay

Disables player damage entirely. Note this is a blunt switch, not a full PvE ruleset.

Off restricts chat to nearby players, which changes the social feel of a server considerably.

Radiation in monuments. Turning it off removes most of the reason to build hazmat gear.

World

Map size in metres. This decides your memory requirement far more than player count does, and changing it regenerates the world.

World generation seed. Together with worldsize it defines the map — change either and everything players built is on a map that no longer matches.

Seconds between world saves. Shorter means less lost on a crash and more frequent save stutter.

Whether tool cupboards consume upkeep resources. Off means bases never decay.

Players & Access

Slot limit. Rust scales far better with slots than with map size.

Performance

Server updates per second. Raising it increases CPU load sharply for a modest smoothness gain.

Entity updates sent per player per second.

server.cfg

server.hostname "Spawnly Rust Server"
server.description "Welcome!"
server.headerimage 
server.url 
server.port 28015
server.queryport 28017
server.maxplayers 50
server.pve 0
server.globalchat 1
server.radiation 1
server.worldsize 4000
server.seed 123456
server.saveinterval 600
decay.upkeep 1
server.tickrate 10
server.entitymaxrate 50

Como funciona a sintaxe do server.cfg

Cada linha é um comando e o seu argumento separados por um espaço, não por um sinal de igual: server.hostname "Meu Servidor" em vez de server.hostname="Meu Servidor". Escrevê-lo com um sinal de igual não é um erro - a consola simplesmente não reconhece o comando e passa para o seguinte. Os booleanos são 1 e 0 em vez de verdadeiro e falso. Os valores que contêm espaços precisam de citações; os números plain não precisam.

O erro que custa horas às pessoas

server.seed e server.worldsize juntos definem o vosso mapa, e alterar qualquer um deles gera um mundo completamente diferente na próxima reinicialização. Tudo o que os jogadores construíram ainda está no ficheiro de guardados mas agora está no sítio errado num mapa que já não coincide. Decida ambos antes do vosso primeiro wipe e deixe-os em paz até pretendermos fazer o wipe.

Suporte e Ajuda