How to Create a server.cfg for Rust (with Example File)

How to create a server.cfg for Rust

Replace identity with your chosen server identity (whatever you launched the server with). If the cfg folder doesn’t exist, create it manually.


  1. Open Notepad (or any text editor).
  2. Paste in your desired settings (see example below).
  3. Save the file as server.cfg inside /server/identity/cfg/
  4. Restart your server.

Rust will now load these settings on startup.


// Rust server.cfg example
hostname "My Rust Server"
description "Welcome to my Rust server!"
server.url "https://example.com"
server.headerimage "https://example.com/banner.png"
server.identity "my_server"
rcon.port 28016
rcon.password "changeme"
rcon.web 1
save.interval 300
server.maxplayers 50
server.worldsize 3500
server.seed 12345
server.level "Procedural Map"
server.pve false

  • Change your RCON password immediately.
  • Restart after edits – changes only apply on reboot.
  • Adjust world settings (worldsize, seed) to customize your map.
  • Keep backups – configs can get overwritten if you’re not careful.

You don’t have to type everything into server.cfg manually. You can test commands in the console, then save them permanently:

  1. Enter your command in the console, e.g.: server.maxplayers 60 server.hostname “My Updated Rust Server”
  2. Once you’re happy, type: writecfg This saves all your current settings into the server.cfg file automatically.

This is a lifesaver for tweaking settings on the fly. Test in console → lock them in with writecfg


  • Why doesn’t Rust create one by default?
    Rust prefers admins to customize from scratch, instead of forcing a preset.
  • What settings should I add?
    Start with hostname, description, RCON, and map settings. For more, see our guide on Common Rust Server Settings.
  • Can I edit server.cfg while the server is running?
    Yes, but you must restart to apply changes.

1. Putting the file in the wrong spot
The server.cfg must live in /server/identity/cfg/. If you don’t have a cfg folder, make one. Dropping it in the wrong directory = server ignores it.

2. Forgetting to restart
Editing a live server.cfg won’t magically change running settings. Save it, restart your server, and only then will Rust read the new values.

–Here’s how it actually works:

server.writecfg → that command tells Rust to dump the current in-memory config values back into your server.cfg file on disk. That’s how you “make live changes stick” without restarting.

Editing the file on disk while the server is running → the server won’t reload those changes live. You’d have to restart for it to pick them up.

Changing settings through the server console (or RCON) → those changes do apply immediately in memory. But they’re temporary — they vanish on restart unless you save them. (writecfg)

3. Command line overrides
Anything you set in the startup command line takes priority over the cfg. If your server.hostname keeps reverting, check your launch parameters.

4. Missing quotes around text
Strings like server.hostname and server.description need quotes. Without them, your server name can break or truncate.
server.hostname GamesOMG Server
server.hostname "GamesOMG Server"

5. Wrong SteamID format for ownerid/moderatorid
Use the full SteamID64 (17 digits), not your username. Without it, your admin powers won’t stick.

6. Mixing up ports
RCON port, query port, and game port must all be unique. If they overlap, you’ll get connection issues and hair-pulling confusion.

7. Leaving RCON password blank
Don’t. Just don’t. Bots will sniff it out faster than you can say “wipe day.” Always set a strong password in rcon.password.

8. Forgetting to save after editing in console
If you change things live via console, run server.writecfg to commit them. Otherwise, they vanish on restart.

9. Editing the wrong identity
If you run multiple servers, make sure you’re editing the cfg under the correct server.identity. Nothing’s worse than tweaking the wrong one for an hour.

10. Copy-pasting junk configs
Grabbing a random cfg from the internet can leave in outdated or broken settings. Always check your values against an updated list. the Rust Wiki in the best source for this.

Learning how to create a server.cfg for Rust is one of the first steps for any new server owner. It’s just a text file, but it controls your hostname, description, map, and admin access. Use our Rust server.cfg example as a starter, tweak in the console, and save with writecfg to lock everything in. With this, you’ve got the foundation for a stable Rust server—and a path to expand into advanced settings later.

GamesOMG runs on caffeine, curse words, and weirdly persistent nostalgia. If you like what we’re doing: