Do you want your FiveM Enhanced game server to have its own name, look great in the server list, and run exactly the way your project needs? In this guide, we’ll show you which settings to configure in ZapX, which values belong in server.cfg, and what ZapX automatically sets for you every time the server starts.
With FiveM Enhanced, you configure your server in two places:
- Startup parameters in the Configuration tab: server name and Cfx.re license key. ZapX writes these values to
server.cfgevery time the server starts. - server.cfg: all other settings, such as OneSync, resources, or permissions. Edit this file in the Files tab or in txAdmin using the CFG Editor.
Which server.cfg your server uses depends on how you set it up:
- If you’re not using a txAdmin recipe, the file is in your server’s main folder, next to the
resourcesfolder. If there’s noserver.cfgthere yet, ZapX creates a default file when the server starts. - If you set up your server using a txAdmin recipe, for example through Popular Recipes, it uses the
server.cfgfrom the recipe’s profile folder, such asQbox_XXXXXX.base/server.cfg.
After you save the startup parameters, ZapX will offer to restart the server right away. Changes to server.cfg also take effect only after a restart.
| Startup parameter | Description |
|---|---|
| Server name | Your server’s name. ZapX writes it as sv_hostname and sets sv_projectName to server.cfg. Manage the name shown in the server list in the Cfx Portal; see below. Default: ZapX FiveM Enhanced Server |
| Cfx.re license key | Your free license key from the Cfx.re Portal. ZapX writes it as sv_licenseKey to server.cfg. Your server won’t start without a key. |
ZAP-Hosting does not provide a license key. For instructions on creating your own, see the guide Add your own license key.
Quotation marks ", backslashes \\, and line breaks are not allowed in server.cfg. When the server starts, ZapX removes them from Server name and Cfx.re license key, and writes a notice containing removed quotes/backslashes/line breaks to the Console.
To keep your server reachable and aligned with your settings, ZapX resets some values every time the server starts. If you change them directly in the file, those changes will be lost the next time the server restarts.
| Value | Set from |
|---|---|
endpoint_add_tcp and endpoint_add_udp | Your server’s port, in all of your server’s server.cfg files |
sv_hostname and sets sv_projectName | The Server name startup parameter |
sv_licenseKey | The Cfx.re license key startup parameter |
sv_maxclients | Your server’s slots |
ZapX writes the server name, license key, and slots to the server.cfg in the main folder. If your server uses the server.cfg from a recipe profile, also update the server name and license key in txAdmin using the CFG Editor, then restart your server.
Add these settings to server.cfg yourself, each on a separate line. The Configurator can also generate the exact syntax for your server; see below.
| Setting | Description |
|---|---|
set onesync on | OneSync, required for more than 32 players. FiveM Enhanced only supports on and off; onesync legacy is no longer available. |
sv_syncTickRate | Synchronization tick rate, default 60. Higher values can reduce latency, but use more CPU per player. |
sv_enforceGameBuild <Build> | Without this line, your server loads the latest game build with all DLC content. 1 forces the base game without DLC. |
sv_devMode | Developer mode for the client’s Dev Tools. It must be enabled on the server for Enhanced. The old startup parameter +set moo 31337 no longer works. |
sv_enforceSteamAuth | When enabled, only players with a linked Steam account can join. |
sv_endpointprivacy | Set this to 1 to hide players’ IP addresses. |
You can’t configure a Pure Mode like the one in FiveM Legacy in Enhanced: according to Cfx.re, it’s always active. Therefore, a sv_pureLevel line has no effect. Build numbers from FiveM Legacy, such as sv_enforceGameBuild 3258, aren’t compatible here.
sv_scriptHookAllowed allows single-player mods through ScriptHook. This opens the door to trainers and cheat mods. We don’t recommend enabling it on public servers.
Manage your name, description, tags, and language in the Cfx Portal
Since October 21, 2026, you can manage your server’s name, description, tags, language, and images in the server list through the Cfx.re Portal. sv_projectName, sv_projectDesc, tags, and locale in server.cfg no longer change the server list. To see how your listing currently looks, open the Overview tab in the Server lists card under Cfx.re server list (in-game). Learn more in Customize server details.
Specify which resources your server loads using ensure lines in server.cfg, for example ensure my-script. The name must exactly match the resource’s folder name. For instructions on uploading resources, see Install resources.
To start a resource without restarting the server, use ensure <resource> or restart <resource> in txAdmin’s Live Console. After uploading new resources, run refresh to reload the list of available resources.
FiveM manages permissions through ACE. ZapX’s default server.cfg already includes two lines for the group.admin group:
add_ace group.admin command allow
add_ace group.admin command.quit deny
Members of this group can run all commands except ending the server with quit. Use add_principal <player identifier> group.admin to add a player to the group. Use list_aces and list_principals in txAdmin’s Live Console to check which permissions have been granted. Many frameworks, such as ESX, QBCore, and Qbox, also include their own admin systems.
You’ll find the FiveM Enhanced Configurator under Tools. There, you can set the options in this guide using a form or describe in your own words how you want your server to run, then see the corresponding server.cfg in the preview. Server name, license key, and player count are locked because ZapX sets them using the startup parameters and your slots.
Create a backup before making major changes to your server.cfg. That way, you can always return to the last working version.
You now know all the important settings for your FiveM Enhanced server. The Dashboard overview shows you where to find each feature in ZapX. If something isn’t working as expected, our Common issues guide can help. If you have any other questions, our support team is available every day! 🙂