Skip to content
FIVECRATE

FiveM Whitelist Setup: txAdmin Allowlist and Discord

Set up a FiveM whitelist with the txAdmin allowlist: Discord member and role modes, approved licenses, admin-only mode and the server list padlock convars.

Staff member checking approved player profiles on a tablet at a city entrance while visitors wait
Author: FiveCrate
Published:
Updated:
Read time: 18 min
Applies to
FiveM Legacy and FiveM for GTAV Enhanced servers with txAdmin v8.1.0 or later (v8.1.2, October 23, 2026); padlock convars from the client update of May 28, 2026; qbx_core v1.24.1 (October 30, 2026), esx_core 1.16.4 (October 18, 2026) and qb-core as of August 24, 2026
Last verified

Direct Answer

A FiveM whitelist is called an allowlist in txAdmin since v8.1.0 (June 3, 2026). To set one up, open the txAdmin panel, go to Settings > Allowlist, pick an Allowlist Mode (Discord Server Member, Discord Server Roles, Approved License, Admin-only or External Allowlist Resource), write the Allowlist Instructions players should follow, and click Save Allowlist Settings. The two Discord modes need the txAdmin Discord bot enabled first. Every mode except Disabled also shows a padlock in the server list by setting sv_appearAllowlisted. Without txAdmin, set sv_appearAllowlisted and sv_allowlistInstructions in server.cfg yourself and use a resource that refuses connections.

Whitelist or Allowlist: What Changed in txAdmin v8.1

txAdmin v8.1.0, released on June 3, 2026, renamed “whitelist” to “allowlist” in the web panel and added an option for external allowlist resources. v8.1.1 followed on June 5, 2026 with more renamed strings, and it stopped setting sv_allowlistInstructions in admin-only mode. The current release is v8.1.2, from October 23, 2026. On a txAdmin older than v8.1.0 the same pages still say Whitelist, and the External option is missing.

The rename covers most of what you see, but not every name:

WhereName in txAdmin v8.1.2
Top menu and pageAllowlist, at /allowlist
Settings tabAllowlist, at /settings#allowlist; old #whitelist links are redirected
Discord bot command/allowlist; /whitelist only replies that it “has been renamed to /allowlist”
Admin permissionAllowlist in the panel, players.whitelist internally
Script eventsStill txAdmin:events:whitelistPlayer, whitelistPreApproval and whitelistRequest

txAdmin’s own documentation lags behind the panel. Its events page still says a pre-approval “can be done in the Whitelist Page, or using the /whitelist <member> Discord bot slash command”, while the v8.1.2 code calls them the Allowlist page and /allowlist. Follow the panel.

txAdmin is a component of FXServer, and Development Update #3 says the Cfx Server for FiveM for GTAV Enhanced ships “with txAdmin still embedded so the setup experience remains the same”. The steps below are the same on FiveM Legacy and Enhanced; the Enhanced server setup guide covers what differs in the install.

The FiveM Allowlist Padlock Is a Label, Not a Gate

A FiveM allowlist has two parts, and you set them up separately:

  • The gate refuses connections. The resource that txAdmin runs inside the game server holds each player in the playerConnecting event, asks txAdmin whether the player may join, then lets them in or shows the rejection message. Qbox and QBCore run their own check in the same event.
  • The label warns players before they connect. Since the FiveM and RedM client update of May 28, 2026, players “see a padlock icon next to names in the server list when the server requires you complete an allowlist process before you can play”, and the server details page can show instructions for getting in.

The label comes from two convars on the server-commands reference, which lists them without limiting them to Legacy or Enhanced:

ConvarTypeWhat it does
sv_appearAllowlistedBooleanWhen true, the server appears allowlisted in the server browser with a lock icon
sv_allowlistInstructionsStringInstructions on how to get allowlisted, shown in the server browser; works only when sv_appearAllowlisted is true

Both descriptions cover only what the server browser shows, and the announcement adds: “It is up to the server owner to confirm whether their server has an allowlisting process or not.” The padlock does not block anyone by itself. txAdmin’s External mode makes this visible: it turns the padlock on while skipping txAdmin’s own allowlist check, because another resource is expected to do the refusing.

txAdmin Allowlist Modes Compared

The Allowlist Mode setting has six options. The panel sidebar shows the active one in a badge next to Allowlist:.

Mode in SettingsWho can joinIdentifier txAdmin checksSidebar badgePadlockInstructions shown
DisabledEveryone; txAdmin only checks bans, if bans are enabledNoneDISABLEDOffNo
Admin-only (maintenance mode)Players whose identifiers are attached to a txAdmin administratorfivem: or discord:ADMINOnNo
Discord Server MemberMembers of the Discord server set in the Discord tabdiscord:MEMBEROnYes
Discord Server RolesMembers of that server with at least one listed rolediscord:ROLESOnYes
Approved LicensePlayers an admin approvedlicense:, or the identifier of a pre-approvalLICENSEOnYes
External Allowlist ResourceWhoever your other resource lets in; txAdmin does not checkUp to that resourceEXTERNALOnYes

Two modes fit an application process: Discord Server Roles, where staff hand out a role in Discord, and Approved License, where staff approve each request inside txAdmin.

How to Set Up the txAdmin Whitelist (Allowlist)

  1. Open the settings. In the txAdmin panel, click Settings in the top menu, then the Allowlist tab. The menu item is greyed out for accounts without permission to view settings, and the page stays read-only without the Settings: Change permission.
  2. Choose the Allowlist Mode. Click one of the six options. The two Discord options stay disabled with “The Discord bot must be enabled in the Discord tab to use this option.” until you enable the bot (see the next section).
  3. Write the Allowlist Instructions. Explain how to apply: which Discord server to join, which form to fill in, any requirements. txAdmin shows this text on the in-game server page and sends it to players who try to connect without being allowlisted. The field is required for every mode except Disabled and Admin-only, and it takes at most 512 characters. The default text is “Please join http://discord.gg/example and request to be allowlisted.”, so replace the example link with your own.
  4. Add role IDs for Discord Server Roles. Paste the ID of every role that may join into Allowlisted Discord Roles, separated by commas. txAdmin accepts only numeric IDs of 17 to 20 digits and will not save this mode without at least one role.
  5. Click Save Allowlist Settings. No restart is needed. When the allowlist settings change, txAdmin re-sends its convars to the running server, setting sv_appearAllowlisted and sv_allowlistInstructions for the new mode, and its join check reads the current mode on every new connection. Players already on the server stay connected, since the check runs only while a player connects.
  6. Check the result. The sidebar badge next to Allowlist: shows the new mode. Connect with an account that is not approved and read the rejection message.

Discord Whitelist for FiveM: Member and Role Modes

The Discord modes compare the player’s discord: identifier with the members of one Discord server, using the txAdmin Discord bot:

  1. Create the bot and invite it to your Discord server. The Token field in Settings > Discord links to the guides “Setting up a bot application” and “Adding your bot to servers”. Give txAdmin a bot of its own; the panel notes: “Do not reuse the same token for another bot.” Do not give the bot admin or moderation rights: txAdmin disables a bot that holds Administrator, BanMembers, KickMembers, ManageRoles or another permission on its list of dangerous ones, and its own invite link asks for no permissions (permissions=0).
  2. Turn on the Server Members intent. In the Discord Developer Portal, open Bot > Privileged Gateway Intents, enable the Server Members (GUILD_MEMBERS) intent and save. txAdmin requires it; without it, the bot fails to start with “This bot does not have a required privileged intent.”
  3. Copy the server ID. In Discord, open User Settings > Advanced and turn on Developer Mode, then right-click the server icon and choose Copy Server ID.
  4. Enable the bot in txAdmin. In Settings > Discord, switch Discord Bot to Enabled, paste the Token and the Guild/Server ID, and click Save Discord Settings. “Discord bot could not resolve guild/server ID” means, in txAdmin’s words, a wrong server ID, a bot that is not in the server, or the token of another bot.
  5. Select the mode. In the Allowlist tab, choose Discord Server Member or Discord Server Roles, add the instructions (and the role IDs), and click Save Allowlist Settings.

Players must connect with the Discord desktop app open, not the web app, or they have no discord: identifier and are refused. txAdmin reads members and roles from the bot’s copy of the member list; when a connecting player is not in it, txAdmin fetches the list again, but no more than once every 60 seconds.

How to Whitelist a Player in txAdmin (Approved License)

Approved License is the only mode with a request queue:

  1. The player connects and is refused. txAdmin answers “You are not allowlisted to join this server.”, shows a Request ID such as R1234 and adds your Allowlist Instructions. The attempt appears under Allowlist Requests on the Allowlist page (“Players that tried to join the server but were not allowlisted.”) with its ID, name, Discord name and Join Time, which shows the latest attempt.
  2. An admin approves the request. On the Allowlist page, click the check mark (Approve) or the cross (Deny) next to it. From Discord, run /allowlist request with the ID. The approval is saved for the player’s license: identifier and moves to Approved Allowlists Pending Join.
  3. The player reconnects and gets in. txAdmin marks the player as allowlisted in its player database and removes the approval and the player’s requests.

Ask applicants to send you the Request ID from their rejection screen: an R followed by four characters, the format the Discord command expects.

To approve someone before they ever connect, click Add Approval and type one identifier. The dialog accepts discord, fivem, license, license2, live, steam and xbl identifiers, with discord:272800190639898628 as its example. The Discord command /allowlist member does the same for a Discord member by saving their discord: identifier. A pre-approval works when any identifier of the connecting player matches it:

  • discord: approvals only match players who connect with Discord open.
  • steam: approvals only match players who have the steam: identifier, which comes from a Steam account linked to their Cfx account. steam_webApiKey has had no effect since November 4, 2026; sv_enforceSteamAuth replaces it.

Deny All clears the request list. Its confirmation warns: “Players will still be able to try to join again, and will receive a new request ID.”

Approving needs a txAdmin account with the Allowlist permission. For the Discord commands, the admin’s Discord ID must also be saved on their txAdmin account. The Allowlist page works in any mode, but outside Approved License it shows “Warning: The server is not in the “Approved License” allowlist mode.”: approvals made there let nobody in until you switch to that mode.

How to Remove a Player From the Allowlist

  • One player: open the player from the Players page. On the Info tab, the ID Allowlisted row shows the approval date and a Remove button (Allow when the player is not allowlisted).
  • A pending approval: click the cross next to it in Approved Allowlists Pending Join.
  • Inactive players in bulk: open System > Master Actions > Revoke Allowlists and choose players that have not joined in 30, 15 or 7 days, or REVOKE ALL ALLOWLISTS, then click Revoke From Allowlist. Only the Master Admin can run it, and it “only applies to license allowlist, and not Discord member or Discord role allowlist.”
  • Discord modes: remove the member from your Discord server or take away the role. txAdmin checks membership on each connection, so there is no approval to revoke.

Before a bulk change, Backup Database on the General tab of Master Actions downloads playersDB.json, which holds the players, bans, warns and join requests.

Admin-Only (Maintenance) Mode

Admin-only lets in only players whose fivem: or discord: identifier is saved on a txAdmin administrator. Everyone else sees “Your identifiers are not assigned to any txAdmin administrator.” A player with neither identifier is told that at least one is required. If your own connection is refused, save your identifiers on your txAdmin account as described in the txAdmin login guide.

The padlock stays on in this mode, but since v8.1.1 txAdmin leaves sv_allowlistInstructions empty. The Allowlist Instructions field is greyed out with “This field requires the Allowlist Mode to be enabled and not in Admin-only mode.”

Set the Padlock in server.cfg With sv_appearAllowlisted

FXServer (Cfx Server on Enhanced) starts txAdmin automatically when it runs without a +exec server.cfg launch argument. If you start FXServer yourself with that argument, so txAdmin is not in charge, add both convars to server.cfg:

sets sv_appearAllowlisted true
sets sv_allowlistInstructions "Please join http://discord.gg/example and request to be allowlisted."

Replace the example text with your real instructions. These lines only add the label; the resource that refuses connections is still yours to provide.

On a txAdmin server, set the padlock through the Allowlist Mode instead:

  • txAdmin sets both convars itself. It passes them on the FXServer command line before it runs +exec with your server.cfg, and sends them again whenever the allowlist settings change. A server.cfg line can win at startup and be overwritten later.
  • Disabled turns the padlock off. In that mode txAdmin sets sv_appearAllowlisted to false and the instructions to an empty string.
  • External keeps the padlock without txAdmin’s check. If another resource is your gate, choose External Allowlist Resource. txAdmin then sets the padlock and the instructions but does not check allowlists, while it still checks bans if bans are enabled.

If the server does not appear in the list at all, the cause is elsewhere; see why a FiveM server is not in the server list.

Qbox, QBCore and ESX: Framework Whitelists

Qbox and QBCore have their own whitelist, separate from txAdmin. This is the block in Qbox’s config/server.lua (qbx_core v1.24.1, October 30, 2026), shortened to the access settings:

server = {
    closed = false, -- Set server closed (no one can join except people with ace permission 'qbadmin.join')
    closedReason = 'Server Closed', -- Reason message to display when people can't join the server
    whitelist = false, -- Enable or disable whitelist on the server
    whitelistPermission = 'admin', -- Permission that's able to enter the server when the whitelist is on
}
  • whitelist = true runs an ACE check on each connecting player. Only players allowed the ACE named in whitelistPermission (admin by default) get in; the rest see “You’re not whitelisted for this server”.
  • closed = true does the same with the qbadmin.join ACE and shows closedReason.
  • qb-core (repository as of August 24, 2026) has the same settings in its config.lua: QBCore.Config.Server.Whitelist and QBCore.Config.Server.WhitelistPermission, also checked as an ACE, plus Closed and ClosedReason. Its rejection reads “[QBCORE] - You’re not whitelisted for this server”.

You grant these ACEs with add_ace and add_principal, as the ACE permissions guide explains.

ESX Legacy has no server whitelist of its own. In es_extended as shipped in the esx_core 1.16.4 release (October 18, 2026), the only “whitelisted” value belongs to job definitions, so on ESX the gate is txAdmin’s allowlist or an external resource.

If you gate with the Qbox or QBCore whitelist, set txAdmin to External Allowlist Resource so the server list still shows the padlock and your instructions. Keep one gate, so players have one process to follow.

txAdmin Allowlist Events for Scripts

A resource that reacts to allowlist changes, for example to log them, can listen for three txAdmin events. They keep the old names:

EventWhen it firesData
txAdmin:events:whitelistPlayerA registered player is allowlisted or loses the statusaction (added/removed), license, playerName, adminName
txAdmin:events:whitelistPreApprovalAn identifier is added to or removed from the pre-approvalsaction, identifier, playerName, adminName
txAdmin:events:whitelistRequestA request is created, approved or denied, or all are deniedaction (requested/approved/denied/deniedAll), playerName, requestId, license, adminName

txAdmin warns not to rely on these events where consistency matters, because an admin can change the allowlist while the server is offline.

Troubleshooting

“You do not have the discord identifier” when connecting

The player connected without a discord: identifier, which both Discord modes require. The message continues: “Please open the Discord Desktop app and try again (the Web app won’t work).”

“You are required to join our Discord server to connect.” after joining the Discord

  • Wrong server ID: the rejection names the server txAdmin checks (“Please join the guild … then try again.” in Member mode, “Please join …, get one of the required roles, then try again.” in Roles mode). If that is not your server, fix Guild/Server ID in Settings > Discord.
  • Joined moments ago: txAdmin fetches its member list at most once every 60 seconds, so a brand-new member may need to wait a minute and reconnect.

“You do not have a allowlisted role required to join.”

The player is in the Discord server but holds none of the roles in Allowlisted Discord Roles. Check that the IDs there are role IDs from that server and that the player has one of those roles.

“Error validating Discord Role Allowlist status:”

txAdmin could not ask Discord; Member mode shows the same error for “Discord Server Member Allowlist status”. The text after it names the cause: discord bot is disabled, discord bot not ready yet or guild not resolved. Check the Discord Bot: status in the sidebar, the token, the Server Members intent and the server ID.

“This bot (…) has Administrator permission and for your safety the bot has been disabled.”

txAdmin refuses to run a bot with admin or moderation permissions; with other risky permissions the message lists them (“has dangerous permissions”). In your Discord server’s role settings, remove those permissions from every role the bot has, including @everyone, then save the Discord settings in txAdmin again.

“You do not have the license identifier, which means the server has sv_lan enabled.”

Approved License needs the license: identifier, and sv_lan true makes the server LAN-only, skips license key checks and keeps it off the public list. Set sv_lan to false in server.cfg and restart the server. With any txAdmin join check active, a player with one identifier or none is refused before any mode check with “This server has bans or whitelisting enabled, which requires every player to have at least one identifier, but you have none.”, followed by the same sv_lan hint.

“[txAdmin] Failed to validate your banlist/whitelist status. Try again in a few minutes.”

txAdmin’s resource on the game server asked txAdmin five times, 30 seconds apart, while the player saw “Checking banlist/whitelist…” with a counter, and never got a valid answer. A failed attempt prints “Checking banlist/whitelist failed with code” or “Checking banlist/whitelist failed with invalid response:” and the details in the server console, so look there to see why txAdmin did not respond.

An approved player still cannot join

  • Wrong mode: approvals only count in Approved License mode; the Allowlist page warns when another mode is active.
  • Identifier not sent: a discord: approval does not match a player who connects without Discord open. Approve their Request ID instead, which uses the license: identifier.

The padlock does not show, or shows on a public server

  • On txAdmin: the padlock follows the mode, off in Disabled and on in every other mode, Admin-only included. A server.cfg line is overwritten when txAdmin re-sends its convars.
  • Without txAdmin: check that sets sv_appearAllowlisted true is in server.cfg; the instructions need it.

“Your account does not have txAdmin access.” from the Discord bot

The bot found no txAdmin account with your Discord ID. Save the ID on your account in the Admin Manager. An account without the Allowlist permission gets “Your txAdmin account does not have the “Allowlist” permissions required for this action.” instead.

“The /whitelist command has been renamed to /allowlist.”

Use /allowlist member or /allowlist request instead.

Next Steps

Browse FiveCrate assets

Original FiveM assets made in-house, with free updates and a multi-server license.

Browse assets →

Official documentation and repository references