Before you start
- You can sign in to txAdmin as an admin who may change settings. Click Open txAdmin next to your server’s IP. See how to set up txAdmin.
- You manage the Discord server and can create roles.
Which txAdmin allowlist mode should I use?
txAdmin calls its whitelist the allowlist. You find it under Settings > Whitelist > Allowlist Mode.
When an allowlist is on, the server list shows a lock icon next to your server name.
How to connect a Discord bot to txAdmin
1
Create the bot
In the Discord Developer Portal, create an application and add a bot. Copy its token. Don’t use the same token for another bot.
2
Turn on the Server Members intent
On the bot’s page, switch on Server Members Intent. txAdmin needs it to see who is in your server.
3
Invite the bot
Invite the bot to your Discord server. Give it only the permissions it needs, not Administrator.
4
Copy your server ID
In Discord, turn on Developer Mode in the settings, then right-click your server icon and click Copy ID.
5
Fill in txAdmin
In txAdmin, go to Settings > Discord. Switch Discord Bot on, paste the Token and the Guild/Server ID, and save. Warnings Channel ID is optional.
How to whitelist by Discord role
1
Create the role
In Discord, create a role for allowed players, for example
Whitelisted, and give it to the people who may join.2
Copy the role ID
With Developer Mode on, open Server Settings > Roles, right-click the role and copy its ID.
3
Choose Discord Server Roles
In txAdmin, go to Settings > Whitelist and set Allowlist Mode to Discord Server Roles.
4
Add the roles
Paste the ID into Allowlisted Discord Roles. For several roles, separate them with commas.
5
Write the instructions
Fill in Allowlist Instructions (up to 512 characters), for example where to apply. Players see it on the server page and when they are refused. Save.
Can I give in-game permissions by Discord role?
txAdmin’s allowlist only decides who may join. To give permissions by Discord role, for example admin rights in vMenu, you need a separate resource that turns Discord roles into ace groups. A common choice is DiscordAcePerms, which uses Badger_Discord_API. You map each role ID to a group such asgroup.admin. Follow their documentation, and see how to install vMenu for how ace groups work.
How to approve players without Discord
1
Choose Approved License
In txAdmin, go to Settings > Whitelist, set Allowlist Mode to Approved License and fill in Allowlist Instructions. Save.
2
Let the player try to join
The player is refused and sees your instructions. txAdmin records the request.
3
Approve them
Open the Allowlist page in txAdmin and approve the player. They can join on their next try.
How to test your whitelist
- Set the mode and save.
- Join with an account that doesn’t have the role. You should be refused with your Allowlist Instructions.
- Give that account the role in Discord and join again. You should get in.
- If both fail, check the bot: it must be in your server, enabled in txAdmin and have Server Members Intent on.
fivem: or discord: identifier saved, you can always switch the mode back in txAdmin.
Frequently asked questions
Why are players refused even though they have the role?
FiveM needs their Discord identifier. txAdmin tells them to open the Discord desktop app and try again; the web app doesn’t work. Also check that the bot is in your server and Server Members Intent is on.Do I need a FiveM whitelist script?
No. txAdmin’s allowlist covers Discord member, Discord role, approved licence and admin-only modes. Use External Allowlist Resource only if you prefer another script.How do I let only staff join during maintenance?
Set Allowlist Mode to Admin-only (maintenance mode). Only txAdmin admins with a matchingfivem: or discord: identifier can join.
Where do I find a Discord role ID?
Turn on Developer Mode in Discord’s settings, then right-click the role in Server Settings > Roles and copy the ID.Can I whitelist players without Discord?
Yes. Choose Approved License and approve players on txAdmin’s Allowlist page.Related guides
FiveM server guide
Every FiveM guide in one place.
Set up txAdmin
Open txAdmin and add admins.
Install vMenu
Ace permissions and admin groups.
Console commands
add_ace, add_principal and more.
Checked by the FREAKHOSTING team against the official txAdmin source and documentation on 29 October 2026. Details may change when FiveM or the resource is updated.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: October 2026