Livecounts.nl
Illustration of a server tower cabled to a config file card with a gear, a download arrow and a city skyline

FiveM server.cfg generator

Build a server.cfg for FiveM, FiveM for GTAV Enhanced or RedM with a live preview, or import your own to update it and find the lines that no longer do anything.

server.cfg generator

Build your server.cfg

Stays in your browser
Server for

Have a server.cfg already? Import it to edit and check it. Lines the generator doesn't know stay exactly as they are.

Connection

0.0.0.0 listens on every network interface. The docs' advice: only change the IP if your server has more than one, otherwise change the port only. TCP and UDP get the same address.

Who can join

Players and OneSync
OneSync

Players get a steam: identifier when they've linked Steam to their Cfx.re account. The old steam_webApiKey setting stopped working on 4 November 2026.

License, build and RCON

Leave it empty to get the placeholder changeme and fill it in on the server. What you type stays in this tab: it isn't uploaded or saved.

Server list and Cfx Portal

Since 21 October 2026 the server list takes your name, description, tags, language and images from the Cfx Portal, not from server.cfg. Fill them in here, then copy them into the Portal with the buttons at the end of this section.

A name, not a list of keywords or tags. That was the docs' rule for sv_projectName, where names that broke it were cut off in the server list.

Written as a sentence.

    73:8 wide: 2560 × 280 pixels recommended, at least 1825 × 200. It shows on your server's details page and while players connect. Add it in the Portal too.

    For the Cfx Portal

    Copy each one into your server's page at portal.cfx.re.

    Name
    Description
    Tags
    • Banner 2560 × 280 px recommended, at least 1825 × 200
    • Profile image 512 × 512 px recommended, at least 256 × 256
    • Discord a link to your Discord can be added there too
    Resources
    Default resources as in the docs' example server.cfg

    Each becomes an ensure line. A name in square brackets, like [cars], starts a whole folder of resources.

    Admins and permissions

    Use fivem:, steam:, license:, license2:, discord: or ip:. A SteamID64, STEAM_0 or [U:1:…] ID is turned into the steam: hex for you; more formats in the Steam ID finder. Text after # becomes a comment.

      Security and sync

      server.cfg

      Copy and Download include everything. Copy share-safe hides your license key, passwords, secrets, database connection strings and IP identifiers, for when you ask for help on a forum or Discord.

      Checks

        
                    
                    

        Your settings are saved in this browser, except the license key, the RCON password and imported files.

        Checks follow the Cfx.re docs as of 21 November 2026; they can't see your resources, host or Portal settings. Livecounts.nl is not affiliated with Cfx.re or Rockstar Games.

        How to make and use your server.cfg

        1. Pick FiveM, FiveM Enhanced or RedM, then go through the seven sections. The preview and the checks update as you type, and every fix button changes the file for you.
        2. Paste your license key from portal.cfx.re, or keep the changeme placeholder and fill it in on the server.
        3. Select Download and put server.cfg in your server-data folder. On a game host, open server.cfg in its file manager and paste the copied text instead.
        4. Start the server from that folder, for example with FXServer.exe +exec server.cfg on Windows, cfx-server.exe +exec server.cfg for FiveM Enhanced, or bash ~/FXServer/server/run.sh +exec server.cfg on Linux.
        5. Fill in your name, description, tags and images in the Cfx Portal, with the copy buttons at the end of section 4.

        Advertisement

        server.cfg lines that changed in 2026

        Changes by Cfx.re in October and November 2026 turned common server.cfg lines into dead weight. Import your file above and the checks point them out, with a button to remove them.

        server.cfg lines that stopped working or moved in 2026
        LineWhat changed and what to use
        sv_hostname, sv_projectName, sv_projectDesc, tags, locale, load_server_iconFrom 21 October 2026 the server list takes the name, description, tags, language and images from the Cfx Portal. Servers can show up to five unique tags.
        steam_webApiKey, steam_webApiDomainNo effect since 4 November 2026. Players who linked Steam to their Cfx.re account still get a steam: identifier; set sv_enforceSteamAuth true makes that link required.
        banner_connectingNo longer has any effect. sets banner_detail now shows on the details page and while connecting.
        onesync_enabledFXServer warns that it is deprecated. Use set onesync on or legacy.

        FiveM Enhanced and RedM

        FiveM for GTAV Enhanced, still in early access, reads the same kind of server.cfg with a few differences: endpoint_add_tcp and endpoint_add_udp take one endpoint each, P2P sync and OneSync's non-big mode are gone, and only the newest game build, The Kortz Center Heist, is supported, or sv_enforceGameBuild 1 for the base game without DLC. Pure mode is always on, and sv_syncTickRate (1 to 120, default 60) replaces sv_useAccurateSends. Choose FiveM Enhanced above and the generator follows these rules.

        RedM runs on the same FXServer: add set gamename rdr3, which the generator does when you choose RedM. The docs list one RedM game build to enforce, 1491, the September 2022 update.

        Player slots and OneSync

        sv_maxclients goes from 1 to 2048. From 32 slots you need OneSync on or legacy, and above 64 OneSync on. How many slots you may use also depends on your Cfx.re subscription, which fivem.net lists like this for FiveM:

        FiveM player slots, the OneSync mode they need and the subscription fivem.net lists for them
        SlotsOneSyncSubscription
        1 to 31Any, off works tooNone
        32 to 48On or legacyNone: 48 is the default
        49 to 64On or legacyElement Club Argentum or higher
        65 to 128OnAurum or Platinum
        129 to 2048OnPlatinum

        Your server.cfg stays in your browser

        The generator, the checks and the import all run on your device. An imported file is read by this page and never uploaded, and nothing you type is sent to Livecounts.nl or Cfx.re. Your choices are saved in this browser so they're still there next time, except the license key, the RCON password and imported files; Reset everything removes them.

        Sources, checked 21 November 2026: Cfx.re Docs, Server Commands (every directive, default and limit used here), Setting Up a Vanilla FXServer (example server.cfg, start commands, RedM), What's Changed in FiveM for GTAV Enhanced and GetPlayerIdentifiers (identifier types); Cfx.re Forum, Portal Update: Server Metadata Management (14 October 2026); FiveM, Server hosting (slots per subscription); citizenfx/fivem on GitHub, ServerGameState.cpp (the onesync_enabled warning).

        Frequently asked questions

        Why does my server say "Missing server data" in the server list?

        Since 21 October 2026 the server list takes your name, description, tags, language and images from the Cfx Portal instead of server.cfg. Cfx.re copied over recent details where it had them; otherwise the fields are empty and the list shows Missing server data (must be configured in Portal). Fill them in on portal.cfx.re.

        What is the maximum sv_maxclients?

        2048. From 32 slots the server needs OneSync on or legacy, and above 64 OneSync on. FiveM servers get 48 slots by default; fivem.net lists up to 64 with Element Club Argentum, 128 with Aurum and 2048 with Platinum, the last two with OneSync on.

        Does steam_webApiKey still work?

        No. Since 4 November 2026 it has no effect. Players who have linked Steam to their Cfx.re account still get a steam: identifier. If your admin lines or resources depend on it, add set sv_enforceSteamAuth true (server version 38004 or later) so every player needs that link.

        How do I make myself admin on my server?

        Add your identifier under Admins, for example fivem:123456 or your SteamID64, which becomes a steam: hex. The generator writes add_principal identifier.fivem:123456 group.admin plus two add_ace lines that allow every command except quit. Restart the server afterwards.

        Is my license key sent anywhere?

        No. The key only goes into the text on your screen and the file you download. It isn't uploaded or saved in your browser, and the share-safe copy replaces it with changeme. Still keep it out of screenshots and shared files.

        More free tools

        FiveM server list Every public server ranked by players onlineFiveM player count Live players of any server by name or cfx.re codeSteam ID finder SteamID64 to the steam: hex FiveM usesDiscord timestamp Restart times that show in every player's time zoneRedM player count Live players on every RedM serverAll free tools Every tool on Livecounts.nl

        Advertisement