Understanding Rust server.cfg and Server Identity
In Rust, server.identity selects the internal data folder, while server.cfg contains settings loaded from that identity at startup. Check the active identity before editing a file.
In Rust, server.identity and server.cfg serve different purposes: the identity determines the internal folder where the server stores its data. server.cfg contains settings that Rust loads from that identity at startup. If the same value is also set as a launch argument, Facepunch says the matching line in server.cfg takes precedence. Check the active identity before editing a file. Facepunch: Creating a server
Keep identity, launch arguments and configuration separate
+server.identity "main" is an example of a launch argument. main is an example name, not a public server name. Facepunch describes the identity as an internal name that Rust uses to create a data folder for server files. This lets multiple Rust servers use separate data folders from the same installation. If you change the identity, startup points to a different data location. The instance then loads that other location and may start without the previous world or configuration. Back up the previous state and confirm the active identity before changing it.
Many Rust parameters begin with +, for example +server.seed or +server.worldsize. They appear in the startup line or in the relevant management tool’s configuration. According to Facepunch, server.cfg is located at rust/server/<server.identity>/cfg/server.cfg. In the file, write the ConVar without the preceding +, for example:
server.hostname "Beispielserver"
server.description "Konfiguration zum Prüfen"
The entries are read at startup. Facepunch documents that values from server.cfg take precedence over the same launch parameters. This explains why a change to the startup line can appear to have no effect: a value for the same setting may still be present in the loaded file. According to the Wiki, ports and remote management settings typically belong in the launch parameters. Never put credentials such as an RCON password in public screenshots, logs or support messages. Facepunch: Starting the server and server.cfg
Safely change one setting
- Open the current startup configuration and note the value of
server.identity. Do not rely on a similar display name. If the panel generates the startup line, use its displayed configuration and documented file paths. - Stop the server cleanly and wait until the process has ended. Back up the active identity, including
cfgand the world files. Verify the backup and test a copy separately before applying changes to the live instance. Checking a game server backup with a test restore explains a safe test run. - Open only the
server.cfgunder the active identity. Change one setting and leave every other line unchanged. Use the same format as in the Facepunch example: name, space, value; without+. - Check whether the same value is also set in the launch arguments. If the value appears in the loaded
server.cfg, it takes precedence over the launch argument. If the launch parameter should instead be authoritative, remove only the matching entry fromserver.cfg; changing the launch value will not override it. Keep credentials out of shared output. - Save the file and restart the server. Facepunch says Rust reads
server.cfgat startup. Check the startup console until it reportsServer startup complete, then verify the changed value through the relevant in-game or server-list display. If the old value remains, first check the identity, the loaded file path and any duplicate entries.
What changing identity does
Do not use a different server.identity name to change the display name or reset a world. The server then loads a different data location; settings and world data from the previous identity are not copied to the new folder. The instance may therefore run without the expected world state or with different settings. Change the identity only for a deliberately separate instance, and back up the previous state first.
Rust also uses companion.id to connect with Rust+. This file is not the same as the text value server.identity. Facepunch notes that companion.id should remain with the server and its backups and must not be deleted accidentally. If you lose it, Rust+ may create a new identity and players may have to pair again. Facepunch: Rust+ Server
Common reasons a change has no effect
- Wrong folder:
server.cfgis under a different identity from the running server. Read the startup line actually in use before changing more files. - Duplicate value: The value appears in both
server.cfgand the launch arguments. Facepunch says the loaded file takes precedence. - No restart after the change: The file is read at startup. Saving it does not reload it.
- The panel manages the startup line: The Facepunch instructions describe a direct server launch. A hosting panel may have its own fields and procedures. Check its current documentation rather than applying a local example path to another file layout.
- Wrong identity: A new folder can look like a fresh server. Stop, check the backup, and if needed restore the previous identity using a tested procedure.
If you are planning a wipe through a setting, explicitly distinguish the world from blueprints. See Distinguishing a Rust map wipe from a blueprint wipe. If you are unsure about the current management interface, the appropriate next step is to contact AeonHost; this guide does not confirm a tested panel feature.
Sources
Did this guide help? We are happy to help personally.