How to Connect txAdmin to Discord on Your FiveM Server
Set up the txAdmin Discord bot for server status embeds, restart notifications, and player count updates.
txAdmin has a built-in Discord bot that posts server status, player counts, and restart notifications to a Discord channel.
Set Up the Discord Bot
Create a Discord Application
Go to discord.com/developers/applications. Click New Application and name it (e.g., "My Server Status").
Get the Bot Token
In the left sidebar, click Bot. Click Reset Token and copy it. Under Privileged Gateway Intents, enable Server Members Intent.
Invite the bot to your Discord
Use this URL, replacing YOUR_APP_ID with your Application ID (found on the General Information page):
https://discordapp.com/oauth2/authorize?&client_id=YOUR_APP_ID&scope=bot&permissions=18432Select your Discord server and authorize.
Get your Discord server and channel IDs
In Discord, enable Developer Mode (User Settings → Advanced). Then:
- Right-click your server icon → Copy Server ID
- Right-click the channel where you want status updates → Copy Channel ID
Configure in txAdmin
Open txAdmin. Go to Settings → Discord. Enter:
- Bot Token — from step 2
- Server ID — from step 4
- Status Channel ID — from step 4
Save the settings.
Add the status embed
In the Discord channel you configured, type:
/status addAn auto-updating embed appears showing player count and server status.
What the Bot Does
- Auto-updating server status embed (online/offline, player count)
- Restart notifications with countdown
- Admin action logs (kicks, bans)
- Announcement forwarding from txAdmin to Discord
Related Guides
How is this guide?
