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.
- Close the
FXServer.exewindow in your taskbar. - 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. thisshould be the result of doing that.
Locating the admins file
- The
admins.jsonfile is always located inside yourtxDatafolder. - 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
- 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
},- Where it says
"master": true, change that tofalseand applytrueto the user that you want to be the master account. - Start the server back up again and see if the change has completed successfully.