Enable and configure txAdmin
This complete guide explains how to enable and configure txAdmin on your FiveM server.
What is txAdmin?
txAdmin is a complete administration panel for FiveM that allows you to:
- Manage your server (start, stop, restart)
- Moderate players with an integrated administration menu
- View logs in real-time
- Manage bans and permissions
- Install template bases (ESX, QBCore, etc.)
Step 1: Enable txAdmin
For YorkHost Game servers
- Go to the client area: clients.yorkhost.fr
- Select the service on which you want to enable txAdmin
- Click the Quick Action button, then click Enable txAdmin
After clicking, wait a maximum of 2 minutes. Your port will be added and your server will restart automatically. If not, open a ticket.
When ordering a Game plan on yorkhost.fr, the txAdmin enabled option is available and checked by default. If you did not uncheck this option when placing your order, txAdmin is already enabled on your server and you can skip directly to Step 2.
You can also request txAdmin activation through our AI chatbot available at the bottom right of the client area.
For Pterodactyl resellers
- Add an allocation (a port) to the server in question
- In Startup, set
txAdminto1 - Enter the port you just added in
txAdmin Port
Step 2: Configure startup parameters
In the game panel, configure the following variables:
| Variable | Value |
|---|---|
| txAdmin Port | The allocated port for txAdmin |
| Enable txAdmin | 1 |
Step 3: Get the txAdmin link
- Start your server
- In the console, a link will appear (example:
http://83.150.218.66:40100/) - Click on this link or copy it into your browser
Look in the console under "Your public IP" to find the access link.
txAdmin Configuration
First connection
When opening txAdmin for the first time:
- Enter the Master PIN Code displayed in your console
- Link your CFX account (Cfx.re)
- Choose your configuration type
Two options are available:
- Existing Server Data: Use your own base or the one installed by default
- Popular Recipes: Install a template base (ESX, QBCore, etc.)
Option A: Configuration with your own base
1. Server name
Configure your server name that will appear in txAdmin.
2. Select "Existing Server Data"
Choose this option if you already have server files.
3. Configure locations
The server root is /home/container/. Enter this path for your data.
4. Start the server
Click Save & Run Server to start.
Option B: Configuration with a template base
This option allows you to install a base like ESX Legacy, QBCore, etc.
Preparation
Before starting, delete the default server that was installed on the panel (files in /home/container/).
1. Server name
Configure your server name.
2. Select "Popular Recipes"
Choose this option to install a template.
3. Choose the template
Select the desired base (example: ESX Legacy, QBCore, vRP, etc.).
4. Location
Leave the default location for now. We will move the files later.
5. Configure parameters (Input Parameters)
Server Registration Key (CFX Key)
Enter your CFX key in the format cfxk_.... You can:
- Use your own key
- Use the default one (in startup parameters)
Database configuration
Expand the "database" section and configure it.
6. Create the database
Return to the game panel:
- Go to the Databases tab
- Click New Database
- Give it a name (no spaces or special characters, example:
base)
Do not modify the "Connected from" field!
You will get the connection information:
- Host
- Port
- Database name
- Username
- Password
7. Finalize configuration in txAdmin
Return to txAdmin and enter the database information.
Make sure the Delete Database option is set to OFF!
8. Execute the Recipe
Click Run Recipe and wait during the installation.
9. Configure server.cfg
After installation, you can modify the server.cfg file.
Important: Modify the endpoint port to match your server port.
Example: If your server IP is 83.150.218.66:30100, the port is 30100.
endpoint_add_tcp "0.0.0.0:30100"
endpoint_add_udp "0.0.0.0:30100"
Click Save & Run Server.
Move files (template bases)
After the first launch with a template, you need to move the files:
1. Stop the server
Completely stop the server from the panel.
2. Locate the files
Go to /txData/ then to your base folder (example: ESXLegacy_839419.base).
3. Move essential files
Move these files/folders to the root (/home/container/):
| File/Folder | Move to |
|---|---|
resources | /resources |
server.cfg | /server.cfg |
To move: click on the 3 dots → Rename/Move → modify the path.
4. Delete the old folder
Once the files are moved, delete the base folder in /txData/.
5. Modify txAdmin configuration
Edit the file /txData/default/config.json:
{
"dataPath": "/home/container/"
}
6. Restart
Restart your server. You can now connect!
Tips
Reconfigure txAdmin
If you want to reconfigure txAdmin from scratch:
- Delete the
txDatafolder - Restart the server
- Configuration will start from the beginning
Configuration error
If you see an error indicating that txAdmin is already configured:
- Delete the
txDatafolder - Start the configuration again
Common problems
| Problem | Solution |
|---|---|
| txAdmin port not accessible | Check that the port is allocated in the panel |
| Database error | Check credentials and that the DB exists |
| Server won't start | Check the logs in txAdmin |
| Invalid Master PIN | Restart the server to get a new PIN |
If you encounter a problem, open a ticket on clients.yorkhost.fr with your server logs.