
How to Connect txAdmin to Discord (2026 Guide)
Goal: Enable txAdmin’s native Discord integration for status embeds and (optional) Discord‑backed whitelisting.
This guide is part of our complete FiveM server management hub, covering everything from initial setup to scaling your community.
Works with any FXServer build that includes txAdmin. No third‑party hosting or bot framework required.
Prerequisites
- A running FiveM server with txAdmin enabled (Settings → Global shows the panel is active).
- Permission to create a Discord application in your Discord Developer Portal.
- Developer Mode enabled in your Discord user settings (so you can copy Server/Channel/Role IDs).
- The Guild (Server) ID and (optionally) a Channel ID where the bot is allowed to post.
Step 1 — Create the Discord Application & Bot
- Open the Discord Developer Portal and click New Application.
- Inside the application, go to Bot → Reset Token and copy the Bot Token. Keep it secret.
- On the same Bot page, enable SERVER MEMBERS INTENT. Save.
Tip: You don’t need the Presence or Message Content intents for txAdmin’s built‑in features.
Step 2 — Invite the Bot to Your Discord Server
- In the Developer Portal, open OAuth2 → URL Generator.
- Scopes: select bot and applications.commands (slash commands).
- Permissions: select View Channels, Send Messages, Embed Links, Read Message History.
- Use the generated URL to invite the bot to your Discord server.
Keep permissions minimal. The bot only needs to read/post and embed.
Step 3 — Wire the Bot in txAdmin
- Open your txAdmin web panel.
- Go to Settings → Discord.
- Toggle Enable Discord Bot.
- Fill the fields:
- Bot Token: paste the token from Step 1.
- Guild ID: your Discord Server ID (right‑click server icon → Copy ID).
- Announcements Channel ID (optional): a channel ID where txAdmin can post status/restart notices.
- Save.
Add the Live Status Embed
- In your chosen Discord channel, type:
/status add - txAdmin will post a persistent embed that auto‑updates with server info.
Customize the Status Embed (optional)
- In txAdmin → Settings → Discord, open Change Embed JSON to edit title, description, fields, thumbnail, buttons/links, etc.
Step 4 — (Optional) Discord‑Backed Whitelist in txAdmin
You can gate server access by Discord membership or role.
- In txAdmin, go to Settings → Player Manager.
- Whitelist Mode: choose one of:
- Discord Member – anyone in your Discord can join.
- Discord Role – only members with specified role IDs can join.
- If using Discord Role, collect role IDs (Server Settings → Roles → right‑click role → Copy ID).
- Add the role IDs to the whitelist settings. Save.
Approve/Manage Requests:
- Go to Player Manager → Whitelist to review requests and approvals.
Prefer role‑based whitelisting for better control. Update your Discord role assignment workflow accordingly.
Troubleshooting
- Saving Discord settings times out → Ensure SERVER MEMBERS INTENT is enabled for your bot in the Discord Developer Portal.
- Slash commands (/status, /info) don’t appear → Re‑invite the bot with the applications.commands scope; make sure it can see the channel.
- Status doesn’t post/update → Verify channel permissions: the bot needs View Channel, Send Messages, Embed Links, Read Message History.
- No messages from txAdmin → Double‑check the Guild ID/Channel ID values and that Developer Mode is enabled when copying IDs.
- Noise in announcements channel → Leave Announcements Channel ID empty in Settings → Discord (txAdmin won’t auto‑post announcements).
Security Notes
- Treat the Bot Token like a password. Rotate it if exposed.
- Avoid granting Administrator or unnecessary permissions.
- Restrict the bot to a single posting channel when possible.
Related Guides & Resources
- txAdmin (official site): https://txadmin.gg/
- How to Set Up a Discord Whitelist for Your FiveM Server (FAXES/DiscordWhitelist) — vertexmods.com: https://vertexmods.com/en/blog/discord-whitelist-fivem
- ESX Admin Tool / Player Manager with Discord Integration (Product) — vertexmods.com: https://vertexmods.com/en/blog
Quick Checklist (Copy/Paste)
- Bot created; SERVER MEMBERS INTENT enabled
- Bot invited with bot + applications.commands scopes
- Permissions: View, Send, Embed, Read History
- Bot Token + Guild ID (and optional Channel ID) saved in txAdmin
/status addrun in the target channel- (Optional) Whitelist Mode set to Discord Member/Role; role IDs saved
Mantente al Día
Recibe los últimos tutoriales de FiveM, lanzamientos de mods y actualizaciones exclusivas en tu correo.
Sin spam. Cancela cuando quieras.