Articles on: FiveM

TxAdmin /tx command not working in-game

Problem

Players report that typing /tx or /txadmin in chat does nothing — the in-game admin menu does not appear. This happens when hosting a FiveM server on platforms with multiple network interfaces (such as Hyper Layer nodes). The root cause: txAdmin fails to select the correct network interface for its Native User Interface (NUI), because FiveM’s default interface binding (0.0.0.0) is incompatible in this multi-interface context.


Which Versions Are Affected

  • FiveM Legacy servers using txAdmin.
  • txAdmin v8 and newer (on any FiveM version), when run on hosts with multiple NICs / network interfaces.


Solution: Enable disableNuiSourceCheck in txAdmin

You can fix the issue by editing txAdmin’s config.json to bypass the interface/NUI source check. The instructions differ slightly depending on your version.

For FiveM Legacy / older txAdmin setups

  1. Stop your FiveM server completely via the game control panel (not just via txAdmin).
  2. Open the server’s directory (e.g. fivem-<serverID>) in the File Manager.
  3. Edit config.json. If there is no webServer section, add one. Then inside it set:
"webServer": {
"disableNuiSourceCheck": true
}
  1. Save the file and restart the server via the game panel.
  2. Join the server and test /tx or /txadmin. The admin menu should appear.


For txAdmin v8 and Above

  1. Stop your server entirely via the game panel.
  2. Navigate to the txData/default folder in the File Manager.
  3. Open config.json. Ensure there is a webServer section (or add it). Then set:


"webServer": {
"disableNuiSourceCheck": true
}


Example of a minimal config showing this in context:


  1. Save, restart server via game panel
  2. Join the server and test in-game commands /tx or /txadmin. They should now work.


What This Change Does

By setting disableNuiSourceCheck to true, you instruct txAdmin to skip its internal check that validates the source interface for NUI requests. This circumvents the problem where txAdmin fails to detect the correct interface on multi-NIC hosts. Essentially, txAdmin will accept NUI requests regardless of their source IP/interface - restoring functionality of /tx and /txadmin commands.

Updated on: 01/12/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!