Skip to content

FiveM Enhanced: Server Configuration

Learn how to set your FiveM Enhanced server name and license key, which values ZapX sets at every startup, and which settings to add to `server.cfg`.

26 November 20265 min read1 Views0 helpful

Introduction

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.

How configuration works

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.cfg every 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 resources folder. If there’s no server.cfg there 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.cfg from the recipe’s profile folder, such as Qbox_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 parameters at a glance

Startup parameterDescription
Server nameYour 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 keyYour 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.

Important

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.

What ZapX sets every time the server starts

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.

ValueSet from
endpoint_add_tcp and endpoint_add_udpYour server’s port, in all of your server’s server.cfg files
sv_hostname and sets sv_projectNameThe Server name startup parameter
sv_licenseKeyThe Cfx.re license key startup parameter
sv_maxclientsYour 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.

Important settings in server.cfg

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.

SettingDescription
set onesync onOneSync, required for more than 32 players. FiveM Enhanced only supports on and off; onesync legacy is no longer available.
sv_syncTickRateSynchronization 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_devModeDeveloper 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_enforceSteamAuthWhen enabled, only players with a linked Steam account can join.
sv_endpointprivacySet this to 1 to hide players’ IP addresses.
Info

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.

Warning

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.

Info

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.

Starting resources

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.

Admin permissions with ACE

FiveM manages permissions through ACE. ZapX’s default server.cfg already includes two lines for the group.admin group:

Code
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.

The Configurator

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.

Tip

Create a backup before making major changes to your server.cfg. That way, you can always return to the last working version.

Conclusion

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! 🙂

Free tools

FiveM Enhanced Tools

View all

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.