{"id":193123,"date":"2025-08-17T19:54:41","date_gmt":"2025-08-17T17:54:41","guid":{"rendered":"https:\/\/fivemx.com\/?p=193123"},"modified":"2026-06-24T17:40:38","modified_gmt":"2026-06-24T15:40:38","slug":"txadmin-discord-setup","status":"publish","type":"post","link":"https:\/\/fivemx.com\/pl\/txadmin-discord-setup\/","title":{"rendered":"How to Connect txAdmin to Discord (2025 Guide)"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>Bramka:<\/strong> Enable txAdmin\u2019s native Discord integration for status embeds and (optional) Discord\u2011backed whitelisting.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Works with any FXServer build that includes <a href=\"https:\/\/txadmin.gg\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/txadmin.gg\/\" rel=\"noreferrer noopener\">txAdmin<\/a>. No third\u2011party hosting or bot framework required.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Wymagania wst\u0119pne<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A running FiveM server with <strong>txAdmin<\/strong> enabled (Settings \u2192 Global shows the panel is active).<\/li>\n\n\n\n<li>Permission to create a Discord application in your <strong>Discord Developer Portal<\/strong>.<\/li>\n\n\n\n<li><strong>Developer Mode<\/strong> enabled in your Discord user settings (so you can copy Server\/Channel\/Role IDs).<\/li>\n\n\n\n<li>The <strong>Guild (Server) ID<\/strong> and (optionally) a <strong>Channel ID<\/strong> where the bot is allowed to post.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 \u2014 Create the Discord Application &amp; Bot<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the <strong>Discord Developer Portal<\/strong> and click <strong>New Application<\/strong>.<\/li>\n\n\n\n<li>Inside the application, go to <strong>Bot<\/strong> \u2192 <strong>Reset Token<\/strong> and copy the <strong>Bot Token<\/strong>. Keep it secret.<\/li>\n\n\n\n<li>On the same <strong>Bot<\/strong> page, enable <strong>SERVER MEMBERS INTENT<\/strong>. Save.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Tip: You don\u2019t need the Presence or Message Content intents for txAdmin\u2019s built\u2011in features.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 \u2014 Invite the Bot to Your Discord Server<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the Developer Portal, open <strong>OAuth2 \u2192 URL Generator<\/strong>.<\/li>\n\n\n\n<li>Scopes: select <strong>bot<\/strong> I <strong>applications.commands<\/strong> (slash commands).<\/li>\n\n\n\n<li>Permissions: select <strong>View Channels<\/strong>, <strong>Send Messages<\/strong>, <strong>Embed Links<\/strong>, <strong>Read Message History<\/strong>.<\/li>\n\n\n\n<li>Use the generated URL to invite the bot to your Discord server.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Keep permissions minimal. The bot only needs to read\/post and embed.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 \u2014 Wire the Bot in txAdmin<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open your <strong>txAdmin<\/strong> web panel.<\/li>\n\n\n\n<li>Go to <strong>Settings \u2192 Discord<\/strong>.<\/li>\n\n\n\n<li>Toggle <strong>Enable Discord Bot<\/strong>.<\/li>\n\n\n\n<li>Fill the fields:\n<ul class=\"wp-block-list\">\n<li><strong>Bot Token:<\/strong> paste the token from Step 1.<\/li>\n\n\n\n<li><strong>Guild ID:<\/strong> your Discord Server ID (right\u2011click server icon \u2192 Copy ID).<\/li>\n\n\n\n<li><strong>Announcements Channel ID (optional):<\/strong> a channel ID where txAdmin can post status\/restart notices.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Add the Live Status Embed<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In your chosen Discord channel, type: <code>\/status add<\/code><\/li>\n\n\n\n<li>txAdmin will post a <strong>persistent embed<\/strong> that auto\u2011updates with server info.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Customize the Status Embed (optional)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In txAdmin \u2192 <strong>Settings \u2192 Discord<\/strong>, open <strong>Change Embed JSON<\/strong> to edit title, description, fields, thumbnail, buttons\/links, etc.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 \u2014 (Optional) Discord\u2011Backed Whitelist in txAdmin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can gate server access by Discord membership or role.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In txAdmin, go to <strong>Settings \u2192 Player Manager<\/strong>.<\/li>\n\n\n\n<li><strong>Whitelist Mode:<\/strong> choose one of:\n<ul class=\"wp-block-list\">\n<li><strong>Discord Member<\/strong> \u2013 anyone in your Discord can join.<\/li>\n\n\n\n<li><strong>Discord Role<\/strong> \u2013 only members with specified role IDs can join.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If using <strong>Discord Role<\/strong>, collect role IDs (Server Settings \u2192 Roles \u2192 right\u2011click role \u2192 <strong>Copy ID<\/strong>).<\/li>\n\n\n\n<li>Add the role IDs to the whitelist settings. <strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Approve\/Manage Requests:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <strong>Player Manager \u2192 Whitelist<\/strong> to review requests and approvals.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Prefer role\u2011based whitelisting for better control. Update your Discord role assignment workflow accordingly.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Saving Discord settings times out<\/strong> \u2192 Ensure <strong>SERVER MEMBERS INTENT<\/strong> is enabled for your bot in the Discord Developer Portal.<\/li>\n\n\n\n<li><strong>Slash commands (\/status, \/info) don\u2019t appear<\/strong> \u2192 Re\u2011invite the bot with the <strong>applications.commands<\/strong> scope; make sure it can see the channel.<\/li>\n\n\n\n<li><strong>Status doesn\u2019t post\/update<\/strong> \u2192 Verify channel permissions: the bot needs <strong>View Channel<\/strong>, <strong>Send Messages<\/strong>, <strong>Embed Links<\/strong>, <strong>Read Message History<\/strong>.<\/li>\n\n\n\n<li><strong>No messages from txAdmin<\/strong> \u2192 Double\u2011check the <strong>Guild ID\/Channel ID<\/strong> values and that Developer Mode is enabled when copying IDs.<\/li>\n\n\n\n<li><strong>Noise in announcements channel<\/strong> \u2192 Leave <strong>Announcements Channel ID<\/strong> empty in Settings \u2192 Discord (txAdmin won\u2019t auto\u2011post announcements).<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Security Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Treat the <strong>Bot Token<\/strong> like a password. Rotate it if exposed.<\/li>\n\n\n\n<li>Avoid granting Administrator or unnecessary permissions.<\/li>\n\n\n\n<li>Restrict the bot to a single posting channel when possible.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Related Guides &amp; Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>txAdmin (official site):<\/strong> <a href=\"https:\/\/txadmin.gg\/\" target=\"_blank\" rel=\"noopener\">https:\/\/txadmin.gg\/<\/a><\/li>\n\n\n\n<li><strong>How to Set Up a Discord Whitelist for Your FiveM Server (FAXES\/DiscordWhitelist)<\/strong> \u2014 fivemx.com: <a href=\"https:\/\/fivemx.com\/pl\/discord-whitelist-fivem\/\">https:\/\/fivemx.com\/discord-whitelist-fivem\/<\/a><\/li>\n\n\n\n<li><strong>ESX Admin Tool \/ Player Manager with Discord Integration (Product)<\/strong> \u2014 fivemx.com: <a href=\"https:\/\/fivemx.com\/pl\/esx-admin-tool-player-manager-discord-integration\/\">https:\/\/fivemx.com\/esx-admin-tool-player-manager-discord-integration\/<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Quick Checklist (Copy\/Paste)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Bot created; <strong>SERVER MEMBERS INTENT<\/strong> enabled<\/li>\n\n\n\n<li>Bot invited with <strong>bot + applications.commands<\/strong> scopes<\/li>\n\n\n\n<li>Permissions: View, Send, Embed, Read History<\/li>\n\n\n\n<li><strong>Bot Token<\/strong> + <strong>Guild ID<\/strong> (and optional <strong>Channel ID<\/strong>) saved in txAdmin<\/li>\n\n\n\n<li><code>\/status add<\/code> run in the target channel<\/li>\n\n\n\n<li>(Optional) <strong>Whitelist Mode<\/strong> set to Discord Member\/Role; role IDs saved<\/li>\n<\/ul>\n\n\n<!-- fivemx-quality-enrichment-v2 -->\n<h2>Practical checklist<\/h2><p>Use this guide as a staging checklist before changing a live FiveM server. Confirm the current server artifact version, framework version, resource dependencies, database changes, and any client-side files before you apply the change.<\/p><ul><li>Back up the affected configuration files and database tables.<\/li><li>Apply the change on a test server first.<\/li><li>Watch the server console and client F8 console for errors.<\/li><li>Check whether the change affects jobs, inventory, vehicles, maps, voice, permissions, or player data.<\/li><li>Document the exact file, command, or setting you changed so it can be reverted quickly.<\/li><\/ul><h2>Testing before production<\/h2><p>After the first test, join with a normal player account and repeat the flow from the player perspective. If the topic involves performance, measure before and after with the same player count, route, and resource set. If it involves admin tools or permissions, verify both allowed and denied users.<\/p><h2>Common mistakes<\/h2><p>Most FiveM issues come from missing dependencies, stale cache, wrong folder names, framework mismatch, or configuration copied from another server. Avoid changing multiple systems at once; make one change, test it, and then continue.<\/p><h2>Related resources<\/h2><p>For production-ready assets, compare paid resources in the <a href=\"https:\/\/fivemx.com\/pl\/sklep\/\">FiveMX shop<\/a>. For free resources, browse <a href=\"https:\/\/fivemx.com\/pl\/free-fivem-scripts\/\">free FiveM scripts<\/a> and test each resource before using it publicly.<\/p>\n\n<!-- fivemx-quality-depth-v3 -->\n<h2>Production rollout notes<\/h2><p>Before using this guidance on a live FiveM server, define the exact outcome you expect from the change. For How to Connect txAdmin to Discord (2025 Guide), that means checking which resource, setting, command, or workflow is affected and confirming that the change fits your current framework, artifact version, and server rules. Keep the rollout small enough that you can reverse it quickly if players report errors.<\/p><p>Use a staging server with the same framework, database schema, resource order, and key dependencies as production. If the topic changes gameplay, permissions, visuals, voice, vehicles, maps, inventory, or economy behavior, test with at least one admin account and one normal player account. Watch server console output, client F8 logs, and resource timing while repeating the exact player flow that will happen on the live server.<\/p><h2>Rollback checklist<\/h2><ul><li>Save the previous configuration file, resource folder, and database state before changing anything.<\/li><li>Record the resource version, commit, download page, or setting value you tested.<\/li><li>Restart only the affected resource first when possible, then restart the full server if dependencies require it.<\/li><li>If errors appear, revert the single changed resource or setting before testing another fix.<\/li><\/ul><h2>Maintenance guidance<\/h2><p>Review this setup again after FiveM artifact updates, framework updates, or major resource changes. A configuration that works today can break after dependency updates, renamed exports, changed events, or database migrations. Keep notes with your server documentation so future admins understand what was changed, why it was changed, and how to verify it again.<\/p>\n\n<!-- fivemx-quality-depth-v4 -->\n<h2>Ongoing review<\/h2><p>Recheck How to Connect txAdmin to Discord (2025 Guide) after major FiveM artifact updates, framework changes, or resource migrations. Confirm that the advice still matches current server behavior, that any linked source remains available, and that installation steps still match the files a server owner will actually download or configure.<\/p><p>For public servers, keep a short changelog beside your server documentation. Note what was tested, what changed, which accounts were used for verification, and how to roll back. This makes future maintenance faster and prevents old setup notes from becoming unclear or unsafe for players.<\/p>","protected":false},"excerpt":{"rendered":"<p>Goal: Enable txAdmin\u2019s native Discord integration for status embeds and (optional) Discord\u2011backed whitelisting. Works with any FXServer build that includes txAdmin. No third\u2011party hosting or bot framework required. Prerequisites Step 1 \u2014 Create the Discord Application &amp; Bot Tip: You don\u2019t need the Presence or Message Content intents for txAdmin\u2019s built\u2011in features. Step 2 \u2014 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":193124,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2885],"tags":[],"class_list":["post-193123","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-discord-guides"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/posts\/193123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/comments?post=193123"}],"version-history":[{"count":1,"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/posts\/193123\/revisions"}],"predecessor-version":[{"id":208575,"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/posts\/193123\/revisions\/208575"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/media\/193124"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/media?parent=193123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/categories?post=193123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/pl\/wp-json\/wp\/v2\/tags?post=193123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}