A badly written server.cfg is the first cause of an unreachable FiveM server. This tool reads your file locally and reports common mistakes with the line number.
How to use the tool
Open your server.cfg and copy all of its content.
Paste it in the text area: the analysis updates as you type.
Fix the errors (red) first, then the warnings (orange).
Copy the generated firewall commands for the detected ports (ufw or Windows).
Restart the server and check that it shows up in the list or answers a direct connection.
What is checked
- endpoint_add_tcp and endpoint_add_udp present on the same port (30120 in the official documentation).
- sv_licenseKey set and different from "changeme".
- sv_maxclients between 1 and 2048; from 32 slots OneSync must be on or legacy, above 64 it must be on.
- No port 40120 for FXServer (reserved for txAdmin), strong RCON, ScriptHook and sv_lan flagged.
Frequently asked questions
- What is the difference between set, setr and sets?
- set defines a server-side convar; setr also replicates it to clients; sets adds it to the server's public info (listing). The official docs do not detail these rules: this tool only flags a mix on the same convar.
- Why open the port for both TCP and UDP?
- The official documentation declares the endpoint in both TCP and UDP on the same port (30120); the firewall must therefore allow both protocols.


