Orders are paused while we move to a new game panel. Tell me when they reopen
  1. Home
  2. Guides
  3. Rust

Rust guide

Rust server settings: world size, seed, player slots and RCON

Short answer. Rust takes server.seed, server.worldsize (the page recommends 1000 to 6000), server.maxplayers and server.hostname either on the command line or in server.cfg. The game port defaults to 28015 over UDP.

Command line or server.cfg

Rust reads its settings from the start command and from server.cfg. Facepunch's wiki says the file lives in rust/server/server.identity/cfg/ and that settings in it take priority over anything set on the command line. For a group server, the simplest habit is to keep the options in one place and not set the same one in both.

The settings, one by one

SettingWhat it does
server.identityThe internal name of the server. It decides the folder where your server files are kept, for example a server1 folder.
server.hostnameThe name players see in the server list.
server.seedThe map generation seed. Any value from 0 to 2147483647.
server.worldsizeMap size. The wiki suggests 1000 to 6000, and warns that larger maps need more disk space and memory.
server.maxplayersThe most players that can be on at once.

On the command line the wiki shows these written with a plus sign, for example +server.seed 1234 and +server.worldsize 4000.

Choosing a map size for a group

It is tempting to go big. Resist it for a small group: the wiki is clear that larger maps cost more disk space and memory, and a huge map with eight friends on it means a lot of empty ground between bases. A mid-range value inside the recommended 1000 to 6000 band is a sensible start. You can use a seed your group has agreed on so everyone gets the same map each time you generate one.

Ports

  • Game port: server.port defaults to 28015, over UDP.
  • Query port: if server.queryport is not set, it defaults to one more than server.port or rcon.port, whichever is greater. It must not equal server.port.
  • RCON: uses TCP, and the default RCON port is equal to server.port.

Whatever sits in front of your server needs those ports open. If you change one, change the matching rule too.

RCON, the remote console

RCON lets you run server commands from a tool instead of the game console. It takes +rcon.port (the wiki example uses 28016), +rcon.password, and +rcon.web 1, which the wiki suggests. The wiki's example password is something obvious, and the page itself says to change it. Treat your RCON password like a key to the whole server: anyone with it can run admin commands. Do not share it with the group; share it with nobody.

Logging

-logfile <name> sends the console output to a file. The wiki suggests putting the date and time in the file name so each run gets its own log, which makes it much easier to find what happened before a crash.

A starting block

+server.identity "friends"
+server.hostname "Our Rust Server"
+server.seed 1234
+server.worldsize 3000
+server.maxplayers 10
+rcon.password "choose-your-own"

Change every value to your own. Remember that a different seed or size gives a different map, so decide before you start building.

Changing your mind later

The settings above shape the map at generation time. The Facepunch page does not describe wipe or save procedures, so this guide does not either; before you change the seed or size on a map your group has been playing on, make a copy of the identity folder and read the current Rust documentation for your game version.

Quick answers

What size should a Rust map be?

The Facepunch wiki recommends server.worldsize between 1000 and 6000 and notes larger maps need more disk space and memory.

What port does a Rust server use?

server.port defaults to 28015 over UDP. RCON uses TCP and its default port equals server.port.

Where is server.cfg?

In rust/server/server.identity/cfg/. Settings in it take priority over the command line.