txAdmin is a web panel for managing a FiveM server: it deploys the server from a ready-made recipe, monitors and restarts it, and manages admins, bans and the whitelist. We'll go through the first launch from the PIN to a running server and explain every field of the setup wizard.
What you'll need
- A FiveM server at StormHost (or your own FiveM server)
- A Cfx.re account and a license key (guide)
- For the ESX, QBCore and Qbox frameworks, a database from the Database tab (we'll create it along the way)
- About 20 minutes
How txAdmin works#
txAdmin is part of every FiveM server (FXServer), so there's nothing to download separately. When FXServer starts without the +exec server.cfg parameter, txAdmin starts instead of the game server itself. txAdmin then starts the game server, monitors it and restarts it automatically if it crashes or freezes.
- txAdmin keeps its data (admin accounts, settings, logs, the player and ban database) in the
txDatafolder. - The web interface runs on its own port. The default port is
40120, but on our servers it may be different. - The interface is in English. This guide gives button names exactly as you'll see them.
Opening txAdmin#
In the customer area, open My services, click your FiveM server and go to the Console tab.
If the server isn't running, click Start.
Wait for the box with the text
All ready! Please access:.Outputtext All ready! Please access: http://your-public-ip:40120/ Use the PIN below to register: 1234- The line below
All ready! Please access:is the txAdmin address. What matters is the port (the number after the colon). - Below
Use the PIN below to register:is a four-digit PIN for the first sign-in. It's shown until you create the first admin.
- The line below
Type the address
http://into your browser.<IP_ ADDRESS>: <TXADMIN_ PORT>/ Replace
<IP_ADDRESS>with the IP address from the Network tab (only the part of the Connection address line before the colon, for example203.0.113.10). Replace<TXADMIN_PORT>with the port from the box in the console. The full address then looks likehttp://.203. 0. 113. 10: 40120/ If you see a hatched bar instead of the IP address, streamer mode is on. Click Show details at the top. Streamer mode also hides IP addresses in the console output, including the port after them. You can then read the txAdmin port from the
http://line, or show the details.your-public-ip: <PORT>/ We don't assign the txAdmin port automatically yet. If you don't see it in the Network tab (Connection address or Additional ports), ask us for a txAdmin port (contacts). Without it, txAdmin won't open in your browser.
If the box doesn't appear and the console goes straight to loading resources (Started resource …), txAdmin is turned off. Turn it on in the Settings tab › Variables with the txAdmin variable (1 = on, 0 = off) and restart the server. If you don't see such a variable, contact us (contacts).
txAdmin runs over HTTP
The address starts with http://, not https://. The connection isn't encrypted, so don't sign in from public Wi-Fi and use a strong password. Signing in with the Cfx.re button is safer.
Linking your Cfx.re account and password#
Your first sign-in creates the main admin (Master). This admin has all permissions and is the only one that can't be deleted.
On the No Cfx.re account linked page, enter the PIN from the console (
Type in the PIN from the terminal.).Click Link Account.
Sign in with your Cfx.re account and confirm access with Yes, Allow.
You return to txAdmin, to the registration form.
Fill in the form:
Field What to enter Why Discord ID Optional. Your numeric Discord user ID. Links the admin to Discord (whitelist, txAdmin bot commands). You can add it later. Backup Password A password 6–128 characters long. Use the password generator. A fallback sign-in for when Cfx.re sign-in doesn't work. Confirm Password The same password again. Catches typos. Accept the license terms (Creator PLA) and click Register.
The server setup wizard opens.
Server setup wizard#
Server Name#
A short server name for the txAdmin interface and for messages in chat and on Discord, for example Muj RP server. The field accepts at most 18 characters. This isn't the name in the FiveM server list (that's set in server.cfg). Click Next.
Deployment Type#
| Option | What it does | When to choose it |
|---|---|---|
| Popular Recipes | Offers tested recipes (templates): a basic server, ESX Legacy, QBCore, Qbox and more. | A new server. The recommended option. |
| Existing Server Data | Uses a folder where you already have server.cfg and resources. | You've uploaded finished server data (moving from another host, a backup). |
| Remote URL Template | Downloads a recipe from a URL (a YAML file); you can edit it before running it. | A recipe offered by a framework or script author outside the list. |
| Custom Template | You paste your own recipe manually. | You're writing your own recipe. |
For your first server, choose Popular Recipes and pick a recipe:
- Basic recipe (listed as FiveM Basic Server or CFX Default FiveM, depending on the txAdmin version) – a minimal server without a framework and without a database. Good for trying things out and for freeroam and drift servers.
- ESX Legacy, QBCore Framework, Qbox Framework – roleplay frameworks. They need a database. The differences and how to choose are covered in ESX, QBCore or Qbox?.
Legacy or Enhanced?
FiveM now exists on two platforms: classic FiveM for GTA V Legacy and FiveM for GTAV Enhanced (for the new PC version of the game). Players can only join a server on the same platform. If you're not sure, choose the Legacy recipe, which most servers and scripts run on.
Server data folder#
txAdmin suggests where to deploy the server, typically txData/. Keep the suggested path (We strongly recommend using the path suggested below.) and click Save. server.cfg and resources are stored in this folder.
On the last screen (We are almost there!), click Go to Recipe Deployer. Before you continue, prepare the database (next section).
Preparing the database#
Framework recipes (ESX, QBCore, Qbox) need a database. Before you continue in txAdmin, create it in the customer area. The basic recipe doesn't need a database, so skip this section if you use it.
In the customer area, go to the Database tab.
In the Database name field, type for example
fivem(letters, numbers and underscores only).Leave the Allowed connections from field at
%. The%sign means “from anywhere”, so both the server and your computer can connect to the database.Click Create database.
The list shows Database name, User, Host and Password. Keep the details open; you'll copy them into txAdmin in a moment. Copy the database name exactly from the list, as it may differ from what you typed.
Deploying the recipe (Server Deployer)#
Step 1: Review Recipe#
txAdmin shows the contents of the recipe: what it downloads, where it stores it and which SQL it runs. Only run recipes from trusted sources (Only run Recipes from trusted sources!). Click Next.
Step 2: Input Parameters#
| Field | What to enter | Explanation |
|---|---|---|
| Server Registration Key | The license key from the Cfx.re Portal (starts with cfxk_). | The server won't start without it. txAdmin writes it to server.cfg. |
| Database Host | The part of the Host field in the Database tab before the colon (the IP address). | The address of the database server. Don't enter localhost: the database runs on a separate database server, not in the same place as the game. |
| Database Port | The part of the Host field after the colon, usually 3306. | The database port. |
| Database Username | The User value from the Database tab. | The user the framework connects as. |
| Database Password | The Password value (show it with the eye button, copy it with the icon next to it). | The database user's password. |
| Database Name | The Database name value. | If the field is empty, txAdmin would try to create a new database with its own name. But the user from the Database tab can only work with its own database, so always fill in the name. |
| Delete Database | Make sure the switch is Off. | It's on by default. When you type your own name into Database Name, txAdmin usually turns it off for you, but not when you paste the name with the mouse. When on, it deletes an existing database with the same name, including all its data. It only makes sense when redeploying and you want a clean start. |
| Custom Variables | Leave empty unless the recipe author says otherwise. | Custom recipe variables for advanced users. |
The database fields appear after you click Show/Hide Database options (advanced). Then click Run Recipe.
Delete Database deletes data
If the database already contains player characters, cars or money, the Delete Database option deletes them permanently. Before redeploying, export the database (guide).
Step 3: Run Recipe#
txAdmin downloads files and imports SQL. For large recipes (QBCore, Qbox) this can take several minutes. When it's done, click Next.
Step 4: Configure server.cfg#
You'll see the generated server.cfg. Now check and adjust three things; everything else is explained in server.cfg line by line:
endpoint_add_tcpandendpoint_add_udp– the port after the colon must be the game port from the Connection address line in the Network tab (the number after the colon). If txAdmin didn't get the port from the host, it writes the default30120. If they differ, change it on both lines, otherwise players won't be able to connect.sv_hostnameandsets sv_projectName– the server name in the server list.sets locale "root-AQ"– change it to your players' language, for examplesets locale "en-US"(or"cs-CZ"for Czech), so the server list shows the right language.
Click Save & Run Server. The server starts and txAdmin opens Live Console.
Verification#
- In txAdmin, the Dashboard page shows the server as online, and there are no red errors in Live Console.
- In the game, press F8, type
connect <IP_ADDRESS>:<PORT>(the address from the Connection address line in the Network tab) and connect. - In the game, type
/tx(or/txadmin) in chat: the txAdmin menu opens. It only works for admins who have a Cfx.re or Discord ID filled in in txAdmin. You can set a key for the menu in the game under Game Settings › Key Bindings › FiveM (the (txAdmin) Menu: Open Main Page item).
Managing admins#
Click Admins in the top menu.
Click Add.
Fill in the form:
Field What to enter Username The username for signing in to txAdmin. If you fill in Cfx.re ID, it must match the name on the Cfx.re forum. Cfx.re ID Optional. The username on forum.cfx.re (opens in a new window). Allows signing in with the Cfx.re button and using the /txmenu in the game.Discord ID Optional. The numeric Discord user ID. Permissions Tick only what the person really needs (table below). Save. txAdmin shows a temporary password; send it to the admin. They must change it at their first sign-in.
| Permission | What it allows | Recommendation |
|---|---|---|
all_permissions | Everything, including managing admins and settings. | Only a co-owner of the server. |
players.kick, players.warn, players.ban | Kick, warn and ban players. | Moderators. |
console.view / console.write | Read the console / type commands into it. | Command access only for trusted people; a command can shut down the server or delete data. |
control.server | Start, stop and restart the server. | Head admins. |
commands.resources | Start and stop resources. | Script developers. |
server.cfg.editor | Read and change server.cfg. | Head admins only; the file contains the license key and the database password. |
settings.view / settings.write | View / change txAdmin settings. | Head admins only. |
players.playermode, players.teleport, menu.vehicle | NoClip, God Mode, teleport and cars from the /tx in-game menu. | Depends on your server rules. |
Permissions are stored in the txData/admins.json file. A txAdmin admin isn't automatically an admin in the framework (ESX, QBCore). How to give permissions in the framework is described in ESX, QBCore or Qbox?.
Scheduled restarts#
A regular restart (once or twice a day) frees memory and clears out broken script state. txAdmin warns players in advance.
- Click Settings in the top menu and open the FXServer tab.
- Under Restart Schedule, click the + button. In the Add Restart Time dialog, enter a time, for example
06:00. Instead, you can click a ready-made preset (1x/day,2x/day…). - Save the settings.
The time follows the server time, not your computer's (Make sure your schedule matches your server time and not your local time.). If txAdmin shows a time zone warning, shift the time by the difference.
Useful parts of txAdmin#
| Where | What you'll find there |
|---|---|
| Dashboard | Server status, player count, server performance over time. |
| Live Console | The server console with history and search. This is where you type server commands (ensure, refresh). |
| Resources | The list of resources; start, stop and restart them. |
| Server Log | Player connections and disconnections, kills, chat, explosions. |
| CFG Editor | Edit server.cfg right in the browser; save with Ctrl+S. |
| Players, History | Players, their identifiers (IDs tab), notes, warnings and bans. |
| Allowlist | Whitelist: access only for approved players (Discord roles, approved license, admins only). |
| Settings | txAdmin settings in the General, FXServer, Bans, Whitelist, Discord and Game tabs. |
| System › Diagnostics | Versions, resource usage, a diagnostic report for support. |
Troubleshooting#
The txAdmin page won't load#
- Check that the server is running and the console shows the
All ready! Please access:box. - Use the IP address from the Network tab and the port from the box. The address starts with
http://, nothttps://. - If your browser changes the address to
https://on its own, type it manually includinghttp://. - The txAdmin port must be among the server's ports in the Network tab (Connection address or Additional ports). If you don't see it there, contact us.
The PIN doesn't work#
A new PIN is generated at every startup until you have the first admin. Use the PIN from the latest console output. Once an admin exists, the PIN is no longer shown; sign in with the Cfx.re button or with your password.
I forgot my password#
Sign in with the Cfx.re button. If that doesn't work either and you're the only admin, contact us. Deleting the txData/admins.json file makes txAdmin go back to the PIN, but you lose all admin accounts.
Task Failed: Response code 403 (rate limit exceeded)#
The recipe downloads dozens of repositories from GitHub, and GitHub has temporarily limited the number of downloads. Wait about an hour and run the deployment again.
The recipe fails with a database error (ER_ACCESS_DENIED_ERROR, ECONNREFUSED)#
ER_ACCESS_DENIED_ERROR– wrong user or password. Copy them again from the Database tab, without spaces at the start or end.ECONNREFUSEDor a timeout – wrong address or port. Database Host needs the IP address from the Host field, notlocalhost.ER_BAD_DB_ERROR– the database name doesn't match. Copy it exactly from the list of databases.
Other database errors are covered in Database for FiveM.
The server won't start after deployment#
The most common cause is a missing or wrong license key (Could not authenticate server license key). Fix it in CFG Editor following the license key guide. You'll find other errors in Common FiveM errors.
Players can't connect even though txAdmin says online#
Players connect to the game port from the Connection address line, not to the txAdmin port. In CFG Editor, check the endpoint_add_tcp and endpoint_add_udp lines: both must have the port from the Connection address, not the default 30120 from the recipe (unless that happens to be your port). Restart the server after fixing it. More in the server.cfg guide.
Summary
- txAdmin is part of the FiveM server. The address is
http://; the console prints the port in the<IP_ ADDRESS>: <TXADMIN_ PORT>/ All ready! Please access:box. - You create the first admin with the PIN from the console, the Link Account button and a backup password.
- For a new server, choose Popular Recipes. Frameworks need a database from the Database tab; enter the address from the Host field, not
localhost. Set the Delete Database switch to Off. - In the Configure server.cfg step, check that
endpoint_add_tcpandendpoint_add_udphave the port from the Network tab. - Add admins in Admins with only the permissions they need; set restarts in Settings › FXServer › Restart Schedule.