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 beta client area: beta.yorkhost.fr
- Select the service on which you want to enable txAdmin
- 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.
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:
- game.yorkhost.fr for standard servers
- manager-game.yorkhost.fr for Ryzen servers
| 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:
- game.yorkhost.fr for standard servers
- manager-game.yorkhost.fr for Ryzen servers
- 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 beta.yorkhost.fr with your server logs.