Skip to content
FIVECRATE

txAdmin Recipes Explained: Deploy Qbox, ESX or Default

How a txAdmin recipe builds a FiveM server: the current Popular Recipes list, each deployer step, database options, custom URLs and the QBCore deprecation.

A server operator views a wordless deployment workflow beside a working city preview, with server racks glowing nearby
Author: FiveCrate
Published:
Updated:
Read time: 13 min
Applies to
FiveM (Legacy) and FiveM for GTAV Enhanced, txAdmin v8 (v8.1.2), recipe engine 3
Last verified

Direct Answer

A txAdmin recipe is a YAML file that tells txAdmin’s built-in Server Deployer how to build a server folder: which resources to download, which files to move or edit, which SQL to import and which server.cfg to write. To use one, open the txAdmin setup page, choose Popular Recipes (or Remote URL Template for a recipe link), then run the Recipe Deployer, which asks for your Cfx Portal registration key and, for recipes that need one, your database details. On 2026-11-19 the FiveM entries were FiveM Basic Server, ESX Legacy, Qbox, vMenu, StreetKings and WarfareTacticsV; the QBCore recipe was deprecated on 2026-10-29.

Applies to: FiveM (Legacy) and FiveM for GTAV Enhanced servers running txAdmin v8 (latest GitHub release: v8.1.2, 2026-10-23). Lists and labels were checked against txAdmin’s source on 2026-11-19.

How a recipe works

txAdmin is part of FXServer, so the deployer ships with every server artifact. A recipe is read only during deployment and is “jailed” to its target folder, so it cannot touch files such as txAdmin’s admins.json. After the last task, txAdmin checks that the folder contains a server.cfg and a resources folder.

The top of a recipe holds its name, version, author and description, plus optional engine fields: $engine (the recipe engine version), $minFxVersion (the minimum FXServer version) and $onesync (off, legacy or on, applied after deployment). The current deployer runs engine version 3.

Recipe tasks

Tasks run in order, and the first failure stops the deployment. Any task can set timeoutSeconds to allow more time than its default.

TaskWhat it does
download_githubDownloads a repository, optionally at a branch, tag or commit (ref) or just a subfolder (subpath)
download_fileDownloads one file
unzipExtracts a ZIP archive (not tar)
move_path, copy_pathMove or copy a file or folder
remove_pathDeletes a file or folder; silently skips a missing path
ensure_dirCreates a folder if it is missing
write_fileWrites or appends text to a file
replace_stringReplaces text in files, including {{variable}} placeholders
connect_databaseConnects to MySQL or MariaDB and prepares the database
query_databaseRuns SQL from a file or a string, after connect_database
load_varsLoads variables from a JSON file

The official FiveM Basic Server recipe for Legacy has just three tasks: fetch the default Cfx resources, delete the old chat resource and download a prepared server.cfg.

$engine: 3
$onesync: on
name: FiveM Basic Server
description: Recipe for the base resources required to run a minimal FiveM server.

tasks:
  # Download default resources
  - action: download_github
    src: https://github.com/citizenfx/cfx-server-data
    ref: master
    subpath: resources
    dest: ./resources

  # Remove the old chat resource
  - action: remove_path
    path: ./resources/[gameplay]/chat

  # Download default server.cfg for FiveM
  - action: download_file
    url: https://raw.githubusercontent.com/citizenfx/txAdmin-recipes/refs/heads/main/default-fivem/server.cfg
    path: ./server.cfg

Placeholders the deployer fills in

Recipes write {{name}} placeholders into their files, and once the tasks finish, txAdmin replaces every placeholder left in server.cfg.

PlaceholderReplaced with
{{svLicense}}The Server Registration Key entered in the deployer
{{dbConnectionString}}A mysql:// connection string built from the database fields
{{maxClients}}48 slots, unless the host sets TXHOST_MAX_SLOTS
{{serverEndpoints}}TCP and UDP endpoints on 0.0.0.0:30120, unless the host sets TXHOST_INTERFACE or TXHOST_FXS_PORT
{{addPrincipalsMaster}}add_principal lines that add the txAdmin master account’s identifiers to group.admin

The server.cfg files of the ESX Legacy and Qbox recipes, for example, both contain this block:

sv_licenseKey "{{svLicense}}"
sv_maxclients {{maxClients}}
set mysql_connection_string "{{dbConnectionString}}"
{{serverEndpoints}}

The setup page downloads the list from the txAdmin-recipes repository each time. txAdmin’s standard master branch loads indexv4.json; its enhanced branch loads indexv5.json, which the repository added “for enhanced servers”. The table shows both files on 2026-11-19.

RecipeFiveM Legacy listEnhanced listIndex tagsWhat it sets up
FiveM Basic ServerYes, as “FiveM Basic Server (CFX Default)”Yes, as “FiveM Basic Server (Enhanced)”fivemMinimal server without a framework
ESX LegacyYesYesfivem, roleplayThe ESX framework’s official recipe
QboxYesYesfivem, roleplayQbox framework, described as compatible with QBCore resources
vMenuYesYesfivem, freeroamServer-side trainer and menu with permission support
StreetKingsYesYesfivem, racingRacing game mode with missions and daily events
WarfareTacticsV (Real-Time Strategy)YesYesfivem, rtsStandalone real-time strategy game mode
RedM Basic Server (CFX Default)YesNoredmMinimal RedM server
VORP CoreYesNoredm, roleplayRedM roleplay framework

The tags show which kind of server a recipe builds: ESX Legacy and Qbox are tagged roleplay, vMenu freeroam, StreetKings racing and WarfareTacticsV rts, while the Basic Server recipes carry only the game tag and are described as “A minimal server, without framework”. The Enhanced index uses the same tags.

Three details trip up new owners:

  • Cards carry tags such as FIVEM or REDM. Unless the host sets TXHOST_GAME_NAME, a Legacy server also lists the two RedM recipes; skip them on FiveM.
  • The Popular Recipes button still says the list includes “QBCore, ESX and a Default template”. That is fixed page text; the list comes from the index, which no longer has QBCore.
  • Cards marked INCOMPATIBLE use a different recipe engine, and the page asks you to update txAdmin, which means updating the FXServer artifact.

Deploy a recipe in txAdmin v8, step by step

Downloading the artifact, entering the PIN and linking your Cfx account are covered in how to make a FiveM server. The steps below start on the setup page, use the labels from txAdmin’s source and the official getting-started guide, and require the txAdmin master account.

On the setup page

  1. Server Name: enter 1 to 18 characters and click Next. txAdmin uses this name in its own interface and in chat and Discord messages; the public server-list name is set in the Cfx Portal.
  2. Deployment Type: click Popular Recipes. The alternatives are Existing Server Data (for a folder that already has a server.cfg and a resources folder), Remote URL Template and Custom Template; the last two are covered below.
  3. Select Template: click the recipe you want.
  4. Data Location: keep the suggested path and click Save. It points to a new folder inside txData, named after the recipe plus a short timestamp code.
  5. Click Go to Recipe Deployer.

In the Recipe Deployer

  1. Step 1: Review Recipe. The recipe opens in an editor. Read the tasks, edit them if needed, and click Next.
  2. Step 2: Input Parameters. Paste your Server Registration Key (formerly the License Key) from the Cfx.re Portal, which the field links to; the server license key guide covers creating it. Recipes with database tasks also show database options (next section). Click Run Recipe.
  3. Step 3: Run Recipe. A log lists each task while the progress bar fills. When it reads DONE, click Next. On Windows, the new server folder opens in File Explorer; you can close it.
  4. Step 4: Configure server.cfg. Check the generated file and click Save & Run Server. txAdmin validates the file, records the folder and server.cfg as your server’s configuration, and starts the server.

Each deployer step also offers Cancel and Return to Setup. The official recipes’ server.cfg files note that listing convars such as sv_hostname and sv_projectName can no longer be set there; that data now lives in the Portal (see fixing “Missing server data”).

Two official docs pages disagree on labels: the older “Setting up a server using txAdmin” page says “CFX Default FiveM” and “Before you begin”, while the getting-started guide and the current interface say “FiveM Basic Server (CFX Default)” and “Step 2: Input Parameters”.

The database step: recipes that need a database

The deployer adds database fields only when a recipe contains a database task (connect_database or query_database). In the current list that covers ESX Legacy, Qbox, StreetKings, WarfareTacticsV and VORP Core. The fields are folded away under Show/Hide Database options (advanced), so the defaults apply unless you open that panel.

FieldDefaultWhat to know
Database HostlocalhostDatabase server address
Database Port3306Must be a whole number
Database UsernamerootAccount txAdmin logs in with
Database PasswordEmptyNeeded if the account has one
Database NameThe deployment IDUsed if it exists, created if not
Delete DatabaseOnDrops an existing database with that name first

Game hosts can pre-fill these fields and the key through TXHOST_DEFAULT_* variables, in which case the deployer advises against editing them.

When you click Run Recipe, txAdmin first tests the connection and stops with “Database connection failed:” plus the reason if it cannot log in. During the run, connect_database drops the database when Delete Database is on, creates it if it is missing and switches to it; each query_database task then imports the recipe’s SQL. txAdmin also assembles {{dbConnectionString}} as mysql://user:password@host/database?charset=utf8mb4, adding the port to the host only when it is not 3306.

Warning: Delete Database is on by default, and the deployer’s own label says all data will be lost. Keep the suggested database name or type a new, unused one, and never point a fresh deployment at the database of a server you already run.

Qbox’s installation page requires MariaDB 10.9.0 or newer and rules out MySQL and XAMPP, and ESX’s install guide also says to use MariaDB, not XAMPP. txAdmin’s connection error on Windows still suggests XAMPP, so the sources disagree; follow the framework’s requirement.

Deploy from a custom recipe URL

Remote URL Template takes the address of a recipe file. txAdmin downloads whatever that address returns and parses it as a recipe, so paste a link to the raw YAML (the field’s example is a raw.githubusercontent.com link), not a page describing the recipe. The help text mentions forum threads, but only an address that returns the YAML itself passes. Failures show “Recipe error:” plus a reason such as invalid yaml or no tasks array found.

The rest of the flow matches Popular Recipes, except that a pasted URL does not count as a trusted source, so Step 1 shows “Warning: Only run Recipes from trusted sources!”. A recipe can pull files from any repository or web address, so read every download_github and download_file source before clicking Next.

Custom Template is for writing your own recipe: the deployer starts from a placeholder, refuses to continue while the placeholder comment remains, and rejects recipes under 256 characters. Authors should also read the guidelines in the txAdmin-recipes README, which ask, among other things, that recipes pin third-party download_github tasks with ref, preferably to a commit, because tags can change.

What happened to the QBCore recipe

On 2026-10-29, a txAdmin-recipes commit titled “deprecated qbcore recipe” removed QBCore from all three index files (indexv3.json, indexv4.json and indexv5.json), and the repository README now lists “QBCore Framework” as deprecated. The commit gives no reason. Separately, QBCore’s own documentation states that QBCore “has withdrawn from other platforms” and keeps its FiveM pages online as a reference.

What that means for server owners:

  • Existing QBCore servers keep running. A recipe is only read during deployment. After Save & Run Server, txAdmin runs the server from its data folder and server.cfg, so removing a list entry changes nothing on a server that is already deployed.
  • The recipe file is still published. It lives in the QBCore repository, now under the qbcore-fivem organization, and declares $engine: 3, the engine version the current deployer runs. It can be loaded through Remote URL Template with https://raw.githubusercontent.com/qbcore-fivem/txAdminRecipe/main/qbcore.yaml.
  • It is no longer a curated choice. Loaded by URL, it counts as an untrusted source, so review its task list before running it.

Troubleshooting failed deployments

Symptom (exact text)CauseFix
“Failed to load recipe list.”The browser could not fetch the index from GitHubClick Back and retry; check that the browser can reach raw.githubusercontent.com
A card tagged INCOMPATIBLEDifferent recipe engine versionUpdate FXServer, which updates txAdmin (artifact guide)
“This folder already exists and is not empty!”Data Location has files in itKeep the suggested path or pick a new folder name
“Path is not writable due to missing permissions or invalid path.”Parent folder missing or not writableUse a location inside an existing, writable folder
“The Server License does not appear to be valid.”Key incomplete or mistypedCopy the full cfxk_ key from the Portal again
“Database connection failed:” with ECONNREFUSEDNothing listening on that host and portStart the database server, then check host and port
“Your database does not accept the required authentication method.”Database server too oldUpdate MySQL or MariaDB, as the message says
“Deploy validation error: this recipe didn’t create a ‘resources’ folder.”The recipe is incompleteReport it to the recipe’s author
“Cannot save server.cfg due to error(s) in your config file(s)”Error in the edited fileFix the reported line and save again

“Task Failed” in the deployer log

Each task appears in the Step 3 log as a line such as Running [task3:download_file]..., followed by a tick or a cross. When one fails, the log prints Task Failed: with the error and the task’s options, the progress bar switches to FAILED, and txAdmin writes a file named _DEPLOY_FAILED_DO_NOT_USE into the folder. Do not run a server from that folder.

  1. Read the failed task’s error. Download tasks, for example, stop with timed out after 180s. when they hit their default limit; connect_database allows 30 seconds and query_database 90, unless the recipe sets timeoutSeconds.
  2. A 401 or 403 on a download_github task points to GitHub request limits: the recipe docs tie these errors to recipes with more than 30 GitHub downloads, and the guidelines note that too many requests in a short time return 403. Wait before retrying.
  3. Click Cancel and Return to Setup and deploy again. The setup page suggests a new folder each time, so the failed folder does not block the retry; delete it once the new deployment works.

Next steps

Official documentation and repository references