How to enable whitelist using TXAdmin

✅ Requirements

  • Access to The Final Hosting Panel.

  • Admin access to TXAdmin.

  • CFX.re ID or Discord IDs for users you want to whitelist.


Step 1: Log Into TXAdmin

  1. Log in to your Final Hosting Panel.

  2. Click on your FiveM server.

  3. Go to the TXAdmin Port section and copy the port number.

  4. Open your browser and go to:

 
http://<your-server-ip>:<txadmin-port>
  1. Log in using your CFX.re credentials.


Step 2: Access the Whitelist Settings

  1. In the TXAdmin dashboard, click on Settings.

  2. Scroll down and select Whitelist from the settings menu.


Step 3: Add Users to the Whitelist

Option 1: Add by CFX.re ID

  1. Find the CFX.re ID of the player you want to whitelist. You can ask the player to provide their CFX ID by having them type /id in the chat (they will receive a unique ID).

  2. In the Whitelist settings, click on Add CFX.re ID.

  3. Paste the CFX.re ID into the provided field.

  4. Click Save.

Option 2: Add by Discord ID (if using Discord Integration)

  1. Make sure you have Discord Integration enabled. (See optional steps in another guide if needed).

  2. Get the Discord ID of the user you want to whitelist (this can be found in Discord by enabling Developer Mode and right-clicking the user).

  3. In the Whitelist settings, click on Add Discord ID.

  4. Paste the Discord ID into the provided field.

  5. Click Save.


Step 4: Enable the Whitelist

  1. After adding the desired CFX.re or Discord IDs, make sure that the Whitelist feature is enabled.

  2. At the top of the Whitelist settings, there is an option to toggle the Enable Whitelist option. Set this to ON.

  3. Save your changes.


Step 5: Restart Your Server

  1. Go to the Dashboard in TXAdmin.

  2. Click on the Restart Server button to apply the whitelist settings.


✅ Optional: Test the Whitelist

  1. Try connecting to the server using a non-whitelisted account. You should see a message stating that the server is whitelisted and access is restricted.

  2. For whitelisted players, they should be able to connect without any issues.


???? Troubleshooting

Issue Solution
Players can't connect Double-check the CFX.re ID or Discord ID is correct and that the Enable Whitelist option is turned on.
Whitelist settings not saving Ensure you click Save after adding IDs, and that you restart the server for changes to take effect.
Non-whitelisted players connecting Ensure the Enable Whitelist option is toggled on and restart the server to apply the changes.
Was this answer helpful?
0

Related Articles