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
- Stop your FiveM server completely via the game control panel (not just via txAdmin).
- Open the server’s directory (e.g.
fivem-<serverID>) in the File Manager. - Edit
config.json. If there is nowebServersection, add one. Then inside it set:
"webServer": {
"disableNuiSourceCheck": true
}
- Save the file and restart the server via the game panel.
- Join the server and test
/txor/txadmin. The admin menu should appear.
For txAdmin v8 and Above
- Stop your server entirely via the game panel.
- Navigate to the
txData/defaultfolder in the File Manager. - Open
config.json. Ensure there is awebServersection (or add it). Then set:
"webServer": {
"disableNuiSourceCheck": true
}
Example of a minimal config showing this in context:
- Save, restart server via game panel
- Join the server and test in-game commands
/txor/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
Thank you!
