txAdmin
Master account

Master account

💡

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

💡

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.

  1. Close the FXServer.exe window in your taskbar.
  2. There are obviously a few ways to do this, my preferred method is pressing Ctrl + Cwhile in the terminal because it's reliable and will kill the process 100% of the times.
  3. this should be the result of doing that.

Locating the admins file

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

Changing the value

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