FiveM server.cfg Generator
The fastest way to generate a clean, modern configuration file for your FiveM server. Optimized for build 3095+.
# FiveM Server Configuration Generator # Created via gta5modsconvertor.com/tools/server-cfg-generator ## [ Core Settings ] endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" ## [ Resources ] ensure mapmanager ensure chat ensure spawnmanager ensure sessionmanager ensure basic-gamemode ensure hardcap ## [ Branding ] sv_hostname "My New FiveM Server" sets sv_projectName "My New FiveM Server" sets sv_projectDesc "A cool FiveM roleplay server" sets tags "roleplay, cars, custom" load_server_icon my_logo.png sv_maxclients 32 ## [ Technical ] set onesync on set sv_enforceGameBuild 3095 sv_scriptHookAllowed 0 ## [ Keys ] # Get your license key at https://keymaster.fivem.net set sv_licenseKey "CHANGEME" # Get your Steam API key at https://steamcommunity.com/dev/apikey set steam_webApiKey "CHANGEME" ## [ Permissions ] add_ace group.admin command allow add_ace group.admin command.quit deny add_principal identifier.fivem:1 group.admin
New to Server Setup?
Check out our guide on how many cars you can realistically put on your server without hitting resource limits.
Read GuideWhat the server.cfg generator does
server.cfg is the file a FiveM server reads at start. It sets the network endpoints, the name shown in the server list, the slot count, the license key and the list of resources to start. A typo in it is one of the most common reasons a new server does not appear in the list or refuses connections.
This generator produces a complete starting file. You enter the hostname, a project description, the maximum number of players, the game build to enforce, your Cfx.re license key and a Steam Web API key. Everything else is filled in with sensible defaults: TCP and UDP endpoints on port 30120, the stock resources (mapmanager, chat, spawnmanager, sessionmanager, basic-gamemode, hardcap), OneSync on, ScriptHook disallowed, default tags and a basic admin permission block. It is meant for new servers and for people who want a clean reference to compare an old config against.
How to use it, step by step
- 1Type the server name and description. The hostname is also used as the project name in the server list.
- 2Set the slot count and choose the game build. Pick the build your add-on vehicles and maps were made for.
- 3Paste your license key and Steam Web API key, or leave the placeholders and fill them in later in a text editor.
- 4Press Copy server.cfg and save the text as server.cfg in the server data folder.
- 5Add an ensure line for each of your own resources under the Resources heading, then start the server.
What to change after copying
The generated file is a template, and a few lines need your attention. The keys read CHANGEME until you replace them; the server will not start without a valid license key. The line load_server_icon points at my_logo.png, so either put a PNG with that name next to server.cfg or remove the line. The admin line uses the placeholder identifier fivem:1, which you replace with your own identifier.
Your vehicle resources are not in the file yet. Add one ensure line per resource, or a single line for a pack built with the Car Pack Builder, which gives you the exact line to paste. To judge whether the hardware matches your slot count and mod list, use the Server Spec Calculator.
The keys you type are only used to build the text on this page in your browser. Treat the finished file as a secret anyway and do not post it in support channels with the keys in it.
Common mistakes
- Leaving CHANGEME as the license key.
- Enforcing a game build older than the one your vehicles need, which leaves newer cars without parts or unable to load.
- Setting more slots than your key or hardware allows.
- Writing ensure lines with a different spelling or case than the resource folder name.
- Keeping the load_server_icon line without supplying the image.
Frequently asked questions
Which game builds can I choose?
3095 (Bottom Dollar Bounties), 2944 (San Andreas Mercenaries), 2802 (Los Santos Drug Wars) and 2699 (The Criminal Enterprises). The choice is written as sv_enforceGameBuild. Any other build can be set by editing that number in the copied file.
Where do I add my car resources?
Under the Resources heading, one ensure line per resource folder, after the stock resources. The name must match the folder name exactly.
Is it safe to type my license key here?
The form works entirely in your browser and the key is only inserted into the text you copy. If you prefer, leave the placeholder and add the key in your editor.
Does this work with txAdmin?
Yes. The output is a normal server.cfg. With txAdmin you paste it into the CFG editor or save it in the server data folder your profile points at. To add a vehicle resource from the panel afterwards, follow the txAdmin car install walkthrough.
Does the generator set OneSync?
Yes, the file contains set onesync on. Remove or change the line if your framework asks for something else.
More answers about conversions, limits and plans are in the general FAQ.
Related guides
Related tools
- Server Spec CalculatorFiveM server requirements by slot count: OneSync rules and the RAM and CPU hosts publish.
- Car Pack BuilderMerge many cars into one resource with a single manifest, deduped textures and conflict checks.
- FXManifest GeneratorValid fxmanifest.lua for vehicles, scripts and UI resources.
Have a gta5-mods.com link ready?
Paste it into the converter and download a FiveM resource with the stream folder, meta files and fxmanifest.lua in place.
- 3 conversions free, no account needed
- 2 more free if you leave an email
- After that: $15 once for unlimited conversions and the Pro tools. No subscription, 14-day refund policy