Skip to content
FiveM
Free tool

FiveM server.cfg Checker: Check your configuration online

Check your FiveM server.cfg online for errors: paste the file or select it, and the checker flags missing endpoints, placeholder values for sv_licenseKey and rcon_password, an enabled sv_scriptHookAllowed and onesync lines that do not belong in server.cfg. Each finding identifies the affected line, where applicable. To create a new server.cfg, switch to the Generator above.

Built by Eric Mager

Free, no sign-up required—your server.cfg is checked only in your browser and is not uploaded anywhere.

Based on the official FiveM documentation: docs.fivem.net/docs/server-manual/server-commands

Config checked? Start it on your own FiveM server.

server.cfg

Runs entirely in your browser—nothing is uploaded or stored. Only connection- and security-related commands are checked, not resource-specific Convars.

Result

Error: 0Warnings: 0Notices: 1
No server.cfg pasted yet.

Example result

What the findings look like in the server.cfg Checker

You paste your server.cfg, and the checker lists every connection and security issue with the affected line. The example below is an intentionally insecure sample file; your findings depend on your file.

Example · Example server.cfg with intentional vulnerabilities

Errors: 0 · Warnings: 5 · Notices: 0

Input

server.cfg
endpoint_add_tcp "0.0.0.0:30120"endpoint_add_udp "0.0.0.0:30120" sv_hostname "My Roleplay Server"sv_maxclients 96set onesync on sv_licenseKey "changeme"rcon_password "" sv_scriptHookAllowed true add_ace group.admin command allow ensure mapmanagerensure chat

Output: findings

  • 5 warnings
  • Warning · Line 6onesync doesn't belong in server.cfg: txAdmin comments out the line at startup. Set OneSync in txAdmin under Settings → FXServer; the default is “on”.

  • Warning · Line 8sv_licenseKey looks like a placeholder, not a real key.

  • Warning · Line 9rcon_password is empty or a common placeholder — RCON is therefore insecure or effectively open.

  • Warning · Line 11sv_scriptHookAllowed is enabled — it allows Script Hook V clients and is officially considered a security risk.

  • Warning · Line 13add_ace exists for group.admin, but no SteamID/identifier has been assigned via add_principal.

How it works

How to check your FiveM server.cfg

Paste, review findings, fix: six steps to a checked server.cfg.

Step 1

Paste server.cfg

Paste the contents of your server.cfg into the text field or select the file using “Choose file”. The Checker tab is already active.

Step 2

Optional: Load example

If you want to try the tool first, click “Load example”. The checker will then check an intentionally insecure example file.

Step 3

Read the result

The check runs immediately as you paste or type. The result shows the number of errors, warnings and notices at the top.

Step 4

Review findings

Findings are sorted by severity, with errors first. If a line is affected, its number appears before the finding, for example for an empty rcon_password.

Step 5

Fix the affected lines

Fix the reported lines directly in the text field or in your file, then check again until “No errors or warnings found.” appears.

Step 6

Restart server

Apply the corrected configuration to the server.cfg on your FiveM server and restart it. For a completely new file, switch to the Generator at the top.

Validation rules

What the checker checks in your FiveM server.cfg

The checker specifically checks connection- and security-related commands from the FiveM documentation. It deliberately does not flag unknown commands because each resource can read its own ConVars from server.cfg. It skips comment lines beginning with #, and if a command appears multiple times, the last value takes precedence.

Connection and startup

  • endpoint_add_tcp/endpoint_add_udp is missing or does not use the IP:PORT format (error)
  • TCP and UDP endpoints use different ports (notice)
  • sv_licenseKey is missing (error) or is a placeholder (warning)
  • onesync is in server.cfg; txAdmin comments out the line (warning)
  • sv_maxclients is not an integer or is outside the range 1–2048 (error)

Security

  • rcon_password is empty or a common placeholder (warning)
  • sv_scriptHookAllowed is enabled (warning)
  • add_ace for group.admin without a matching add_principal (warning)

Syntax and notices

  • Unclosed quotation mark on a line (error)
  • steam_webApiKey or steam_webApiDomain set; neither has had any effect since November 4, 2026 (notice)
  • sv_enforceGameBuild specifies a build not on the known build list (warning)
  • No ensure or start, so no resources are started (notice)
  • sv_hostname is not set (notice)
  • Lines using set, setr or seta are recognized like direct commands

OneSync

OneSync in FiveM: Why it does not belong in server.cfg

txAdmin sets OneSync itself, so the checker does not compare sv_maxclients with a onesync line. Valid sv_maxclients values are integers from 1 to 2048.

In txAdmin, not in server.cfg

Set OneSync in txAdmin under Settings → FXServer (enable “Show advanced”). The default is “on”, which works for any slot count.

onesync line in server.cfg

txAdmin comments out every onesync line on startup. The checker therefore flags it as a warning on the relevant line.

From 33 slots

More than 32 players requires OneSync; more than 64 requires “on” mode. If txAdmin is set to “off” or “legacy”, change it there.

Fix errors

Common errors in the FiveM server.cfg and how to fix them

These findings are common reasons why a FiveM server fails to start, is unreachable or runs insecurely. Each includes a suggested fix, sometimes with an example line.

No endpoint set

Without endpoint_add_tcp and endpoint_add_udp, the server is unreachable. Add both in IP:PORT format, usually using port 30120.

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

sv_licenseKey is missing or is a placeholder

The server will not start without a valid key from portal.cfx.re. Replace placeholders such as changeme with your real license key.

rcon_password is empty or insecure

An empty or common password makes RCON insecure or effectively open. Set your own long password.

sv_scriptHookAllowed is enabled

This allows Script Hook V clients, which is officially considered a security risk. Set the value to 0.

sv_scriptHookAllowed 0

add_ace for group.admin without add_principal

Permissions for group.admin have no effect unless someone is assigned to the group. Assign your identifier using add_principal.

add_principal identifier.license:xxxx group.admin

Explore more

More FiveM tools for server.cfg and resources

Server Configuration Generator

Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your FiveM server.

Built by Florian Galz

fxmanifest.lua Generator

Configure directives in a form and get a valid fxmanifest.lua instantly.

Built by Eric Mager

FiveM Resource Installer

Check a FiveM resource ZIP archive for the destination folder, ensure line, dependencies, escrow, and SQL. In the panel, the tool installs the resource directly on your server.

Built by Fabian Groß

fxmanifest.lua Checker

Find missing quotation marks, unknown directives, invalid values, and outdated entries.

Built by Eric Mager

server.cfg Generator

Configure network, license, admin permissions and resources using a form.

Built by Eric Mager

Was this tool helpful?

Your feedback helps us prioritize and improve content.

FAQ

Frequently asked questions

Quick answers about checking your FiveM server.cfg.

What does the FiveM server.cfg Checker check?

Connection and security-related commands: missing or incorrectly formatted endpoint_add_tcp/endpoint_add_udp (IP:PORT), a missing or placeholder sv_licenseKey, an empty or placeholder rcon_password, an enabled sv_scriptHookAllowed, a onesync line (which txAdmin comments out), sv_maxclients outside 1–2048, add_ace for group.admin without add_principal, a steam_webApiKey or steam_webApiDomain that has had no effect since 4 November 2026 (reported as a notice), missing ensure/start, a missing sv_hostname, an unknown sv_enforceGameBuild and unclosed quotation marks. It recognises lines using set, setr or seta as well as direct commands.

Is my server.cfg uploaded or saved?

No. The check runs entirely in your browser, and a selected file is read only locally. Nothing is uploaded or saved, including your license key or RCON password.

Why won’t my FiveM server start, or why is it unreachable?

The checker reports common server.cfg problems as errors: the server will not start without sv_licenseKey containing a valid key from portal.cfx.re, and it cannot be reached without endpoint_add_tcp/endpoint_add_udp. An endpoint without the IP:PORT format, invalid sv_maxclients values and unclosed quotation marks are also errors. The tool does not check causes outside server.cfg, such as problems in resources.

How many Slots require OneSync?

FiveM requires OneSync from 33 slots and “on” mode from 65 slots. Set OneSync in txAdmin under Settings → FXServer, not in server.cfg; the default is “on”. txAdmin comments out any onesync line in server.cfg on startup, so the checker flags it as a warning. Valid sv_maxclients values are integers from 1 to 2048.

Which values does the checker flag as placeholders?

An empty value, or changeme, change_me, password, 123456, admin, yourpassword, yourlicensekeyhere, yourkeyhere, or xxx through xxxxx, regardless of case. This applies to sv_licenseKey and rcon_password. The checker does not verify whether a license key is valid with Cfx.re. You can create a real key at portal.cfx.re.

What do errors, warnings, and notices mean?

Errors are findings that prevent the server from starting or being reached, or indicate an invalid value or syntax, such as a missing sv_licenseKey or endpoint. Warnings indicate security or configuration risks, such as an insecure rcon_password or a onesync line that txAdmin comments out. Notices provide information, such as a missing sv_hostname, no started resources or different TCP and UDP ports.

Does the checker also check my resources’ ConVars or fxmanifest.lua?

No. It checks only connection- and security-related server.cfg commands. It deliberately ignores unknown commands and resource-specific ConVars to avoid false alarms. You can check your resources’ fxmanifest.lua with the fxmanifest Checker. Go to FiveM fxmanifest Checker

Can I create a new server.cfg with this tool?

Yes. Switch to the Generator tab at the top of the tool and build the file using the form. Go to FiveM server.cfg Generator

Still have questions?

Contact Support
FiveM server listRoleplay, Freeroam, Racing, and more—with live player counts and vote rankings.
Your own server?

Rent your own FiveM server in 60 seconds

DDoS protection included, full control over server.cfg and resources, cancel anytime.

4.6/5 Google32,000+ Active serversSince 2010

No setup. No risk. Online in 60 seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all FiveM tools