Skip to main content

Master Account

info

This document is created for educational purposes and is not officially endorsed by txAdmin.

In this guide I will be explaining how to change your master account.

Shutting down the server

info

The first thing you should always do when making changes to the admin file is making sure that the server is not running at that moment.

  • Close the FXServer.exe window in your taskbar.
  • There are obviously a few ways to do this, my preferred method is pressing Ctrl + C while in the terminal because it's reliable and will kill the process 100% of the times.

Locating the admins file

  • The admins.json file is always located inside your txData folder.
  • Maybe for you it does not say .json, this is because I have my file extension names enabled.

Changing the value

  • Open the file, you should now see something like this:
 {
"name": "User1337",
"master": true,
"password_hash": "",
"providers": {
"citizenfx": {
"id": "User1337",
"identifier": "",
"data": {
"name": "User1337",
"profile": "",
"nameid": "",
"picture": ""
}
},
"discord": {
"id": "",
"identifier": "",
"data": {}
}
},
"permissions": [],
"$schema": 1
},
  • Where it says "master": true, change that to false and apply true to the user that you want to be the master account.
  • Start the server back up again and see if the change has completed successfully.