If you are locked out of txAdmin because the Master account's login is lost, you can reset it yourself: remove the admins.json file from the txData folder and restart the server. txAdmin then prints a new setup PIN in the console, and you use it to create a fresh Master account. Your resources, database and txAdmin settings are not touched.
What is the txAdmin Master account?
The Master account is the first admin created when txAdmin was set up, linked to the Cfx.re account of whoever entered the setup PIN. It is the only account that always has every permission, and the one that adds other admins under Admin Manager. There is exactly one Master per server.
txAdmin keeps every admin, the Master included, in a single file: txData/admins.json. When that file is missing at startup, txAdmin treats the server as not set up yet and offers a new setup PIN. That is the whole reset.
Do you need a reset at all?
A reset removes every txAdmin admin, so check these first:
- You still have the Cfx.re account that was linked. Use Login with Cfx.re on the txAdmin login page. You do not need the password for that, and once you are in you can set a new one from your account menu.
- Another admin forgot their password. The Master can reset it under Admin Manager. No file changes needed.
- You see "The Cfx.re account is not an admin". The Cfx.re account you signed in with is not linked to any txAdmin admin. Ask the Master to add you under Admin Manager with that Cfx.re account.
- You are not the server owner. Do not reset the Master on a server someone shared with you. It locks the owner and every other admin out. Ask the owner to add you as an admin, and to tick All Permissions if you need the setup and deployer pages.
Reset only when nobody can get into the Master account any more: the Cfx.re account is gone, the server was set up by someone who has left, or the login was never saved.
Step 1: Stop the server
Open your server in the DoomHosting panel and click Stop. txAdmin only reads the admin file when it starts, so the change has to happen across a restart. Removing the file while the server runs does nothing, apart from a repeating Failed to check admins file integrity line in the console.
Step 2: Rename or delete admins.json
Open the Files tab and go into the txData folder. You will see admins.json next to the default folder.

Open the menu at the end of the admins.json row and choose Rename, then call it admins.json.old. Renaming keeps a copy in case you want the old admin list back. Delete works the same way if you do not need it.
Leave the default folder alone. It holds your txAdmin settings, player database and logs, and none of it is part of the admin login.
Step 3: Start the server and copy the PIN
Click Start and open the Console tab. When txAdmin has loaded, it prints a box with the line Use the PIN below to register: and a four-digit PIN under it.

If the box shows the address but no PIN, txAdmin still found an admins.json. Check that the file is really gone from txData and restart again.
Step 4: Create the new Master account
Click Open txAdmin in the panel header. Instead of the login form, the page now says No Cfx.re account linked and asks for the PIN from the terminal.

Type the PIN and click Link Account. txAdmin sends you to Cfx.re to sign in with the account that should own the server from now on, then asks you to choose a backup password. That Cfx.re account is the new Master.
The PIN changes on every start, so if the page rejects it, read the current one from the console again. If you have not opened txAdmin on this server before, how to set up txAdmin on your FiveM server shows where to find its address and port.
Step 5: Add your other admins again
The reset removed every admin, not only the Master. In txAdmin, open Admin Manager and add each person again with their Cfx.re or Discord account and the permissions they need. They get a temporary password and choose their own on first login.
Once you are in and everything works, you can delete admins.json.old from txData.
What a reset does not change
- Your
server.cfg, resources and anything deployed from a recipe. - The database and its login details.
- txAdmin's own settings, scheduled restarts, player history, bans and warnings (they live in
txData/default). - The txAdmin port and your server address.
Only the admin logins start over.
Common issues
- No PIN in the console.
admins.jsonis still intxData, or the server was not restarted after you removed it. Stop the server, check the folder, start it again. - The txAdmin page rejects the PIN. The PIN is from an earlier start. Copy the newest one from the Console tab.
- The txAdmin page does not load. txAdmin has to be enabled and the server started. Click Enable txAdmin in the panel header if the Open txAdmin button is not there.
- You want the old admins back. Stop the server, delete the new
admins.json, renameadmins.json.oldback toadmins.json, and start the server. - There is no
admins.jsonat all. Then txAdmin was never set up on this server. Start it and use the PIN from the console, there is nothing to reset.
