Rust Server Configuration Generator
Configure your Rust server online with the Rust server config generator, without writing server.cfg by hand. Set the server name, map, seed, map size, player count, PvE, decay and RCON in the form, or describe your server to the AI in Easy Mode. The live preview shows the finished server.cfg for you to copy or download. Free, no account required, and runs directly in your browser.
Built by Florian Galz
Example result
Example: the generated server.cfg
You set the options using a form or AI Easy Mode, and the generator creates the finished server.cfg for Rust live. Below are the first lines of the default configuration; your file contains your values and all other settings.
Example · Default configuration
Output
// Rust — generated with the ZAP-Hosting Game Config Generator// zap-hosting.com/tools/rust/config-generator // Server identityserver.hostname "ZAP Rust Server"server.description "A Rust server hosted with ZAP-Hosting"server.url ""server.headerimage ""server.tags "" // World & capacityserver.level "Procedural Map"server.levelurl ""server.seed 1337server.worldsize 3500- +16 rowsYou can copy or download the complete file in the generator; the sample lines here only show the beginning.
Settings
What you can configure in your Rust server's server.cfg
The Rust server configuration is divided into five sections. The convar used for each value in server.cfg is shown in parentheses.
Server identity
Server name (server.hostname), description (server.description), website or Discord link (server.url), header image (server.headerimage) and tags (server.tags) that players can filter by in the server browser.
World & capacity
Map type (server.level: Procedural Map, Barren, Hapis Island, Savas Island), custom map download URL (server.levelurl), seed (server.seed), map size (server.worldsize, 1000–6000, default 3500) and maximum player count (server.maxplayers, 1–500, default 100).
Gameplay
PvE mode (server.pve), decay rate of unprotected structures (decay.scale, 0–5, default 1.0) and maximum team size (relationshipmanager.maxteamsize, 0–20, default 8; 0 disables teams).
Administration & security
RCON password (rcon.password), RCON port (rcon.port, prefilled with 28017 in the generator), WebRCON (rcon.web), Easy Anti-Cheat (server.secure, on by default) and the port for the Rust+ companion app (app.port, default 28082).
Other
How often the server automatically saves the world (server.saveinterval, 60–3600 seconds, default 300).
The generator covers a selection of the most important server.cfg settings; plugins and modding frameworks such as Oxide or Carbon are not included. Additional startup parameters from the “Other” section are not written to server.cfg. Changing server.seed or server.worldsize creates a new map on the next restart.
Guide
How to create server.cfg for your Rust server
From your first setting to a running server: here's how to get server.cfg onto your Rust server.
- 1
Step 1
Open generator
The generator starts with a default Rust server.cfg, which you can see immediately in the live preview. If you already have a server.cfg, paste it into the import tool or upload the file. Recognized values appear in the form; unknown lines are preserved.
- 2
Step 2
Choose Easy Mode or the form
In Easy Mode, describe your server in your own words, for example, “small PvE community server with slow decay.” The AI suggests suitable values and explains each change; only the suggestions you select are applied. In advanced mode, you set every option yourself.
- 3
Step 3
Set server identity
Enter the server name, description, website or Discord link, header image and tags so your server appears in the server browser.
- 4
Step 4
Configure world and gameplay
Choose the map type, seed, map size and maximum player count, then set PvE mode, decay.scale and maximum team size. Note: Changing the seed or map size creates a new map on the next restart.
- 5
Step 5
Set up RCON and security
Set a long, random RCON password, check the RCON port and WebRCON, leave Easy Anti-Cheat on, and adjust the Rust+ app port and save interval if needed.
- 6
Step 6
Check and save server.cfg
Check server.cfg in the live preview. The generator flags invalid values. Then copy or download the file, or share a link without the RCON password.
- 7
Step 7
Upload and restart
Upload server.cfg to server/<identity>/cfg/, for example using the file manager, and restart your Rust server. It reads the file on startup.
Setup
File location & usage
Two ways to get the config onto a server: upload it yourself or apply it directly in our panel.
The manual method
Upload yourself
- 1
Download file
Download the generated server.cfg using the button above.
- 2
Upload via file manager or FTP/SFTP
Place in
server/<identity>/cfg/server.cfg(Linux) orserver\<identity>\cfg\server.cfg(Windows). - 3
Apply changes
Restart your server to reload server.cfg.
The ZAP-Hosting way
Apply in the panel, no FTP needed
Rent a Rust server from us: download the file, place it in the file manager, and restart. All in your browser.
- File Manager directly in your browser
- No FTP client required
- Online in 60 seconds
More tools
More tools for your Rust server
Base Calculator
Recreate your own base in the builder and instantly see raid costs, decay time, and upkeep requirements.
Built by Moritz
Item Calculator
Look up and compare crafting, research, and recycling values for Rust items.
Built by Moritz
Password Generator
Generate strong, random passwords directly in your browser — nothing is stored or transmitted.
Built by Rugile Rutkauskaite
FAQ
Frequently asked questions
File location, map wipes, PvE, RCON, import and Easy Mode—quick answers.
The server.cfg is in your server's identity folder at server/<identity>/cfg/server.cfg on both Linux and Windows. On a ZAP-Hosting server, the path is server/rust/cfg/server.cfg, accessible through the file manager in the Customer Panel. Downloading the file does not apply it automatically: upload it and restart the server, which reads server.cfg on startup.
The seed and map size together determine the procedural map: the same combination always produces the same map. Changing either value creates a new map on the next restart—effectively a map wipe. Map size ranges from 1000 to 6000 (default 3500). At 4500 and above, RAM and CPU usage increase significantly, especially with many players.
Set PvE mode to “On.” The generator then writes server.pve "true" to the file, because Rust expects true or false rather than 1 or 0. The quotes don't matter; Rust reads the value the same way. Players can no longer damage each other, and raids between players are disabled.
Set a long, random RCON password and leave WebRCON (rcon.web 1) on. This makes RCON use the WebSocket protocol required by virtually all modern RCON tools and web panels. The generator suggests port 28017. Facepunch's server guide uses 28016; if you don't set it, rcon.port uses the same number as server.port. The password is masked in the form, never saved in a shared link and not sent to the AI in Easy Mode.
Yes. Use the import tool to paste the contents of your server.cfg or upload the file (up to 2 MB). Recognized values appear in the form. Lines the generator does not recognize are preserved at the end of the new file.
Describe the server you want in your own words, for example, “public PvP server with a fresh procedural map and WebRCON.” The AI suggests suitable settings and explains each change. You choose which suggestions to apply; nothing changes without your confirmation.
No plugins: the generator only covers the settings in server.cfg. It does not change whether you use Oxide or Carbon or how your plugins are configured. For a custom map, you can select the map type and enter the map's download URL (server.levelurl); the generator does not upload the map file itself.
The generator is free and requires no account: the form, Easy Mode, import, copy, download and sharing all work without one. Your server.cfg is created directly in your browser. Only when you request Easy Mode suggestions are your description and current values sent to the AI, without the RCON password.
Any more questions?
Contact SupportGet your Rust server online today
Rent your Rust server now and apply this config directly in the panel.
No setup. No risk. Online in seconds.
