You decide which services we may enable for analytics, personalization, and external content.
We use cookies and similar technologies on our website to personalize content, embed external media, and better understand how individual areas are used.
Necessary cookies
These entries support essential functions such as security, stability, and form processing.
Optional sections
AnalyticsMarketingPersonalizationExternal media
Your data may be processed with your consent or on the basis of legitimate interests. In the cookie settings, you can reject or explicitly allow each optional category.
Some services process personal data in third countries. By consenting, you also agree to this transfer. You can find more information in our Privacy Policy.
You can reopen and change your selection at any time. · 1.0.2
Learn how to integrate and use the Discord bot with your txAdmin server for better FiveM server management → Find out more
10 November 20263 min read1 Views0 helpful
Introduction
The txAdmin panel comes with many features for your FiveM game server, including a Discord bot integration.
In this guide, we'll show you how to set up and use the Discord bot.
FAQ
Frequently asked questions
A configured txAdmin installation and a newly created Discord application in the Discord Developer Portal.
A bot is created automatically when you create the Discord application. Click 'Reset Token' to get the token.
Enable the 'Server Members Intent' option in the Discord Developer Portal.
No. The token is like a secret key and must never be shared, as sharing it could create security vulnerabilities.
Feedback
Was this article helpful?
Your feedback helps us prioritize and improve content.
0 of 0 Users found this article helpful.
Personal support
Need more help than the guide provides?
Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.
Navigation
FiveM
Before you begin
To set up the Discord bot for your txAdmin server, you first need to log in to your txAdmin panel.
You can find the login details on your server's overview page, as shown here:
Info
This guide assumes that txAdmin is already set up. For instructions, see our FiveM: txAdmin Setup guide.
Setup
Create a Discord application
To connect the bot to txAdmin, you need to create a Discord application. Your bot will be assigned to this application and act under its name. To create an application, open the Discord Developer Portal.
Now create a new application by clicking New Application and entering a name, as shown below:
Then create the application by clicking Create. Make a note of the Application ID for the next steps:
Configure the bot and get a token
A bot is created automatically when you create the application. You can get the token by clicking Reset Token. You'll then receive a user token, which you should also make a note of:
Warning
Never share the bot token. This helps keep your bot running smoothly and prevents security vulnerabilities. The token is like a secret key and must not be shared.
On the same page, scroll down and enable the "Server Members Intent" option, then save your changes:
Invite the bot to your Discord server
To invite the bot, enter the Client ID you noted earlier in the appropriate place in the link below. Then open the link in your browser and add the bot to your Discord server. The link should look like this:
For the bot to work properly with txAdmin, you need the ID of the server where the bot should be active.
To find it, right-click the server icon in Discord and select Copy Server ID. Make a note of this ID.
Here's an example:
You can also choose a channel where status updates, such as restart schedules, will be posted. Copy the channel ID in the same way.
Make sure the bot has permission to read and send messages in that channel.
Info
If you don't see the option to copy the server or channel ID, first enable Developer Mode in your Discord user settings:
Adjust settings in txAdmin
You can now enable the Discord bot in txAdmin and enter all the IDs and tokens you noted earlier:
Optional: Send a status message
You can optionally send a one-time status message that continually updates with the current server status, player count, and more.
To do this, go to the desired Discord channel and enter /status add. Make sure the bot has permission to send messages in that channel.
This should create a message like this:
You can customize everything in this message on the Discord settings page in txAdmin.
Conclusion
With the txAdmin Discord bot, you can easily display your FiveM game server's status and other information directly in your Discord server. If you have any questions or run into problems, our support team is available every day—just get in touch! 🙂
Server hosting from €2.49 / month, online instantly, DDoS protection included.