Rust server.cfg explained: the settings that actually matter
server.cfg is a plain text file in rust/server/<identity>/cfg/ that Rust reads on every start. Each line is a console variable without the + prefix, and it overrides the same value passed on the command line.
Most of a Rust server’s personality lives in one small text file. If you rent a server, your host’s panel usually writes to it for you; if you self-host, you edit it yourself. Either way, knowing how server.cfg works saves you from settings that silently revert or never apply.
Quick answer
- Location:
rust/server/<identity>/cfg/server.cfg - Format: one convar per line, no
+prefix —server.maxplayers 100 - Priority: values here win over the same values passed as launch parameters
- Applies: on server start. Many convars can also be changed live via RCON, but they are lost on restart unless they are in the file.
Where the file lives
Every Rust server has an identity: the folder name set with +server.identity "myserver". Rust creates rust/server/myserver/ and keeps the map save, player data and a cfg folder inside it. The two files you will edit most are:
| File | What it holds |
|---|---|
cfg/server.cfg | Server settings (convars) loaded at startup |
cfg/users.cfg | Owner and moderator entries (ownerid / moderatorid) |
If you run more than one server from the same install, give each its own identity. That keeps configs, saves and admin lists separate. See how to make yourself admin for the users.cfg side.
Launch parameters vs server.cfg
Facepunch’s own example starts the server with a long command line: port, level, seed, world size, hostname, RCON settings and so on. That works, but it gets messy, and the wiki itself recommends putting most settings in server.cfg instead.
A practical split that keeps things clear:
Keep on the launch line (things your host or startup script controls):
./RustDedicated -batchmode \
+server.identity "myserver" \
+server.port 28015 \
+rcon.port 28016 \
+rcon.password "your-strong-password" \
+rcon.web 1 \
+server.level "Procedural Map" \
+server.seed 1234 \
+server.worldsize 4000 \
-logfile server.log
Put in server.cfg (things you tune over time): hostname, description, URL, header image, tags, max players, decay, save interval, PvE.
Because server.cfg wins on conflicts, never set the same convar in both places with different values — you will spend an evening wondering why your change “does nothing”.
A sensible starter server.cfg
server.hostname "My Server | EU | Monthly | Vanilla"
server.description "Monthly wipe on forced wipe day.\nRules: no cheating, no racism, max team 4.\nDiscord: discord.gg/yourinvite"
server.url "https://yourcommunity.example"
server.headerimage "https://yourcommunity.example/header.png"
server.tags "monthly,vanilla,EU"
server.maxplayers 100
server.saveinterval 600
decay.scale 1
server.pve false
Use \n inside server.description to break lines in the server browser panel.
The settings worth understanding
Identity and listing
server.hostname— the name in the browser. Players filter by wipe cadence and region, so many owners put both in the name.server.description— the text players read before joining. Put rules, team limit, wipe schedule and your Discord here.server.url— the link button on your server’s browser entry.server.headerimage— URL to the banner image shown in the browser. Host it somewhere stable over HTTPS.server.tags— browser filter tags. Facepunch accepts a fixed list and shows up to four. Three groups are mutually exclusive: wipe schedule (monthly,biweekly,weekly), difficulty (vanilla,hardcore,softcore) and region (NA,SA,EU,WA,EA,OC,AF). Others includepve,roleplay,creative,minigame,training,battlefield,broyale,builds. Pick one from each group at most.
Wrong or missing tags are one of the most common reasons a server gets no traffic; check the tips for new owners for the other usual suspects.
Capacity and world
server.maxplayers— slot count. Match it to your hardware and map size, not your ambitions.server.seedandserver.worldsize— the procedural map. Seed accepts 0–2147483647; world size is typically 1000–6000. Changing either generates a new map, which is effectively a map wipe. Plan these on wipe day, not mid-wipe.
Gameplay and persistence
decay.scale— multiplier for building decay.1is vanilla, lower values slow decay,0disables it. Disabling decay on a busy server lets abandoned bases pile up and hurts performance.server.saveinterval— seconds between world saves. Shorter means less progress lost on a crash but more frequent save spikes.server.pve— turns on PvE damage rules and adds the PvE browser tag automatically.
Finding any other convar
Rust has hundreds of convars and they change with updates. Instead of trusting an old list, ask the server:
find decay
find server.
find prints matching commands and variables with descriptions for the exact build you are running. Note that a few values — Facepunch mentions the weather chance variables — must be set after the server is up, so they belong in a startup script or plugin rather than the config.
Changing settings live
You can set most convars from RCON without restarting:
server.maxplayers 150
decay.scale 0.5
That change lives in memory only. If you want it to survive the next restart, also write it into server.cfg. A common mistake is tuning a value live, liking it, and losing it on the next update day. The RCON command cheat sheet covers the commands you will use alongside these settings.
Troubleshooting checklist
- Change not applied? Confirm you edited the file inside the right identity folder.
- Value reverts? Search your launch line, host panel and plugin configs for the same convar.
- Quotes broken? Values with spaces need double quotes; avoid smart quotes copied from documents.
- Typo? Rust ignores unknown convars quietly. Check the console output on startup or run the convar name alone to print its current value.
Keep a copy of your server.cfg in version control or at least a dated backup before every wipe. When something feels off after an update, diffing two config files is far faster than guessing.
Frequently asked questions
Where is server.cfg on a Rust server?
In rust/server/<identity>/cfg/server.cfg, where <identity> is the value of +server.identity. If the file does not exist yet, create it; Rust reads it on the next start.
Does server.cfg override launch parameters?
Yes. Facepunch's documentation says server.cfg is read at startup and takes priority over anything set on the command line, so a value in both places ends up with the server.cfg value.
Do I need a + before each setting in server.cfg?
No. Launch parameters use + (for example +server.maxplayers 100), but inside server.cfg you write the convar name and value only: server.maxplayers 100.
How do I find every available convar?
Run find followed by a search term in the server console or over RCON, for example find decay. It lists matching commands and variables with a short description.
Why does a setting keep reverting after restart?
Usually because the same convar is set somewhere else that loads later or wins priority, such as a host panel field, a plugin, or a second config file. Search all of them for the convar name.
Sources
Use RustCommander as a Rust server panel for RCON, player history, maps, plugins, VIPs, chat logs, PvP context, and team admin workflows.