Rust doesn't auto-generate a config file on first install — which trips up every new admin. This is the step-by-step setup: where the file goes, what to put in it, how to save it, and the one console command (writecfg) that lets you tweak settings live and keep them.
server.cfg with checkboxes and sliders. Pick your options, copy the output, paste into the file. No typos, no missing quotes.
Rust looks for the file at one specific path:
/server/<identity>/cfg/server.cfg
Replace <identity> with whatever you set as server.identity in your launch script (or with the default if you never set one). If the cfg folder doesn't exist, create it manually — Rust won't create it for you.
Examples:
C:\rust-server\server\rust_main\cfg\server.cfg/home/rustserver/server/rust_main/cfg/server.cfgnano or vim on Linux. Anything that produces plain text. Don't use Word — it'll silently inject formatting that breaks the parser.
server.hostname, rcon.password, server.identity, and anything else you want changed. Full setting reference is on the Common Rust Server Settings Guide.
server.cfg in the right folder/server/<identity>/cfg/server.cfg. On Windows, watch out for Notepad sneakily adding .txt — set "Save as type" to "All Files" and confirm the filename is exactly server.cfg, not server.cfg.txt. You can verify in Explorer (after enabling visible file extensions) that it ends in .cfg.
server.cfg at startup — settings won't apply until the next launch. Live edits during a running server don't reload automatically.
Working starter config. Replace identifiers and passwords with your own, then drop into /server/<identity>/cfg/server.cfg.
// GamesOMG starter Rust server.cfg server.hostname "GamesOMG Vanilla+ QOL" server.description "Weekly wipe | PvE friendly | Discord.gg/example" server.url "https://gamesomg.com/rust" server.headerimage "https://example.com/banner.png" server.identity "rust_main" server.tags "vanilla,monthly,pve,US" server.maxplayers 75 server.worldsize 3500 server.seed 98765 server.secure true server.saveinterval 300 server.tickrate 30 rcon.password "CHANGE_ME_TO_SOMETHING_STRONG" rcon.port 28017 rcon.web 1 decay.scale 0.75 decay.upkeep_period_minutes 1440 ownerid 76561198042260039 // replace with YOUR SteamID64
For the full setting list — decay brackets, NPC tuning, AI behavior, performance tweaks — see the Common Rust Server Settings Guide.
writecfg trick (test live, save later)You don't have to edit and restart every time you want to change something. Rust has a workflow most new admins miss:
server.maxplayers 60server.writecfg — Rust dumps the current in-memory settings to disk, overwriting server.cfgwritecfg, the change vanisheswritecfg locks it in. The single most useful workflow tip for active Rust admins.
The related command is server.readcfg — it reloads server.cfg from disk without restarting. Useful if you edited the file in a text editor and want the server to pick up the changes without a full restart.
server.identity before first launch. Changing it later wipes your progress.server.cfg before any major tweak — a stray writecfg after a console mistake can overwrite hours of careful tuning.ownerid using SteamID64 (the 17-digit number), not your Steam username. Wrong format and your admin powers won't apply.server.cfg mistakesThe failure modes new Rust admins hit, in roughly the order they hit them.
server.cfg must live in /server/<identity>/cfg/. No cfg folder? Create one. Drop it anywhere else and Rust silently ignores it.
server.cfg on disk won't change running settings. Save, restart, then Rust reads the new values. (For live changes that persist, use the console + writecfg workflow.)
server.cfg. If your server.hostname keeps reverting, check the launch script — odds are it's setting the hostname there and overriding your cfg.
server.hostname GamesOMG Server ❌server.hostname "GamesOMG Server" ✅
28015, RCON 28017 — keep every port distinct from the others (including the Steam query port).
password123, assume you're already compromised. Use a strong unique password.
writecfg after console changesserver.writecfg. If you added admins via console and they're gone after restart — this is why.
server.hostname, server.description, rcon.password (strong!), server.identity, server.maxplayers, and server.worldsize. Once those are dialed in, move to gameplay tuning — decay, NPCs, performance. Full reference: Common Rust Server Settings Guide.
server.writecfg to commit them to disk.
server.writecfg do?server.cfg with the live values (including owner/moderator IDs you added during the session). Without writecfg, console changes vanish on restart.
server.readcfg do?server.cfg from disk without a full server restart. Useful if you edited the file in a text editor and want the server to pick up the changes immediately. Note: some settings still require a true restart to apply (decay-related ones especially).
steamid.io or steamidfinder.com — paste your Steam profile URL or username, get the 17-digit SteamID64. That's the number you use in ownerid, moderatorid, banid, and whitelistid.
server.cfg. Use the cfg for permanent settings; use command-line only for things that change between launches (server identity, port assignments).
server.cfg. Plugins live in oxide/plugins/ with configs in oxide/config/. The server.cfg only handles base Rust commands.