How to Connect txAdmin to Discord (2026 Guide)
Running txAdmin without Discord integration means your community has no way to see server status, scheduled restarts, or player counts without launching the game.

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.
Running txAdmin without Discord integration means your community has no way to see server status, scheduled restarts, or player counts without launching the game. Connecting txAdmin to Discord takes about 15 minutes and gives you a live embed that updates every few seconds — a visible sign of server health that builds trust with your player base before they even connect.
This guide covers the full setup from bot creation to whitelist configuration, plus advanced embed customization and common mistakes that trip up most server owners on the first attempt.
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
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:
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).
Step 5 — Advanced Embed Customization
The default txAdmin status embed is functional, but you can make it significantly more informative and on-brand by editing the embed JSON directly.
In txAdmin → Settings → Discord, click Change Embed JSON. The JSON controls every visual aspect of the embed: title, description, fields, footer, thumbnail, and action buttons. Here is a fully commented example you can paste and adapt:
{
"title": "🎮 MyServer — Live Status",
"description": "Connect: `connect myserver.com`\nDiscord: discord.gg/myserver",
"color": 3066993,
"thumbnail": {
"url": "https://cdn.discordapp.com/icons/YOUR_SERVER_ID/YOUR_ICON_HASH.png"
},
"fields": [
{
"name": "🟢 Status",
"value": "{server_status}",
"inline": true
},
{
"name": "👥 Players",
"value": "{players_current}/{players_max}",
"inline": true
},
{
"name": "⏱️ Uptime",
"value": "{uptime}",
"inline": true
},
{
"name": "🗺️ Current Time",
"value": "{server_time}",
"inline": true
}
],
"footer": {
"text": "Last updated"
},
"timestamp": true
}
Available embed variables (txAdmin replaces these at render time):
| Variable | Output | |
Häufig gestellte Fragen
What do I need for Connect txAdmin to Discord ( )?
* 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).
What is Connect txAdmin to Discord ( )?
Goal: Enable txAdmin’s native Discord integration for status embeds and (optional) Discord‑backed whitelisting.










