Why server.cfg Changes Don't Apply in FiveM
Most server.cfg edits need a full server restart, not a resource restart. Learn which change needs which action and how to find the file that is really loaded.
Short answer
Your edit is usually fine. The server simply has not read the new server.cfg yet. A full server restart is what applies changes to server.cfg, according to community guidance. A restart or ensure command only acts on one resource. If the change still does nothing after a full restart, the server is probably reading a different file, or another tool (txAdmin or a hosting panel) is setting the same value.
For the command basics, see FiveM server.cfg explained.
Which change needs which action
| Change you made | Action | Why |
|---|---|---|
A new or changed line in server.cfg | Full server restart | server.cfg is run at launch. Community guidance says a resource restart does not re-read it. |
A changed ensure line for a resource | Full server restart | ensure only restarts or starts the named resource. It does not re-run server.cfg. |
| Files inside an existing resource folder | restart <resource> | The docs define restart as restarting the resource if it was started. |
| A new resource folder | refresh, then ensure <resource> | The docs say refresh rescans the resources folder. Add the ensure line to server.cfg and restart to keep it after a reboot. |
Checklist: which file is really loaded
- Check the server profile. The txAdmin docs say the
serverProfileconvar picks the profile, withdefaultas the default. Profiles are stored in thetxDatafolder. - Check your start command. The txAdmin docs say txAdmin must be launched from inside FXServer in monitor mode, without any
+execarguments. If your start command uses+exec server.cfg, confirm which setup you actually run. - Look for a second copy. Search your server folders for other
server.cfgfiles, such as backups or a copy inside a profile folder. Edit only the file your start command points to. - Check a hosting panel. If your host runs the server, check whether its panel rewrites config files on start. Community forum posts report this.
- Read the startup console. Look for errors on
server.cfglines and confirm the lines you changed were loaded.
Common causes
- Only the resource was restarted. A resource restart does not re-read
server.cfg. - The
ensureline changed without a restart. Editing the line does nothing until the server starts again. - A second
server.cfgis being edited. The server reads one file, and the other copy has no effect. - A convar set in txAdmin may override the file. This is unverified. The txAdmin docs do not say which value wins, and a forum thread titled "Txadmin overriding server.cfg" exists, but I did not read it in full.
- A syntax error stops the config. Unverified in the docs. Check the startup console for errors on the lines you changed.
- A host panel overwrites the file. Community posts report panels that reset config files on each start.
Fix steps
- Save
server.cfg, then do a full restart. Use the txAdmin restart or stop and start FXServer. - Read the startup console for errors on the changed lines.
- Run through the checklist to confirm which file is loaded.
- If the value still resets, check txAdmin's settings for the same convar and set it in one place only.
- Avoid
exec server.cfgas a live reload. A forum user reported that it re-bound port 30120 and failed with an address-in-use error. A forum reply suggests keeping admin and helper settings in a separate file for this reason.
When to ask for help
Ask for help after you have worked through the checklist and a full restart. Post the startup console lines around the error and the relevant server.cfg lines. Remove your license key and any passwords first.
FAQ
Do I need to restart the whole server after editing server.cfg?
In most cases, yes. Community guidance says a resource restart only covers the resource's own files. The official docs do not state this rule directly.
Why does restart work but ensure does not?
ensure acts on one resource. It starts the resource if it is stopped, or restarts it if it is running. It does not re-read server.cfg.
Can txAdmin settings override server.cfg?
The official docs do not say. Check txAdmin's settings for the same convar, and check the startup console to see which value the server used.
Is exec server.cfg a safe way to reload?
Not for network settings. A forum user reported a port conflict on 30120 after running it, so use a full restart instead.
Sources
- FiveM server commands: official definitions of
start,stop,ensure,restart,refreshandexec. - FiveM txAdmin resource docs:
serverProfile, monitor mode and the+execnote. - forum.cfx.re: Reload SERVER.CFG?: community thread on
execand the port 30120 conflict. - forum.cfx.re: Txadmin overriding server.cfg: community thread seen in search results, not read in full.
Last checked: 30 November 2026. Note: community claims are labelled above. The official docs do not explain server.cfg reload rules, so check again after FiveM or txAdmin updates.
FiveM.tools was founded with sponsorship from Nyru.