Build a complete, correctly ordered server.cfg for FiveM Legacy or FiveM for GTAV Enhanced. Every convar name and game build here comes from the Cfx.re server command reference.
Enhanced entered early access in July 2026. A Legacy client cannot join an Enhanced server, and the other way round.
The server name shown in the FiveM server list. Colour codes like ^2 work here.
Short name used by txAdmin and some UI resources.
Server region code, for example en-US or fr-FR.
One line describing your server.
Shown as a link in the server info panel.
Shown in the server browser next to your name.
Shown in the server browser. Los Santos unless you run a custom map.
Helps players find your server. Press Enter after each tag.
1 to 2048. From 32 slots OneSync must be on or legacy, above 64 it must be on.
TCP and UDP port. Must be forwarded on your router or firewall.
Legacy only. Enhanced dropped non-big mode, so there it is always on.
Locks the DLC level. Every build includes the content of the ones before it.
Hides player IP addresses from public reports the server prints.
Keeps the server off the public list and skips the licence key check.
From portal.cfx.re. Never share this key or commit it to git.
Optional. Enables the steam: identifier for your scripts.
Adds the framework's resources to the load order automatically.
Extra resources to ensure, in load order. Press Enter after each one.