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.

- 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.
| Task | What it does |
|---|---|
download_github | Downloads a repository, optionally at a branch, tag or commit (ref) or just a subfolder (subpath) |
download_file | Downloads one file |
unzip | Extracts a ZIP archive (not tar) |
move_path, copy_path | Move or copy a file or folder |
remove_path | Deletes a file or folder; silently skips a missing path |
ensure_dir | Creates a folder if it is missing |
write_file | Writes or appends text to a file |
replace_string | Replaces text in files, including {{variable}} placeholders |
connect_database | Connects to MySQL or MariaDB and prepares the database |
query_database | Runs SQL from a file or a string, after connect_database |
load_vars | Loads 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.
| Placeholder | Replaced 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 Popular Recipes list in 2026
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.
| Recipe | FiveM Legacy list | Enhanced list | Index tags | What it sets up |
|---|---|---|---|---|
| FiveM Basic Server | Yes, as “FiveM Basic Server (CFX Default)” | Yes, as “FiveM Basic Server (Enhanced)” | fivem | Minimal server without a framework |
| ESX Legacy | Yes | Yes | fivem, roleplay | The ESX framework’s official recipe |
| Qbox | Yes | Yes | fivem, roleplay | Qbox framework, described as compatible with QBCore resources |
| vMenu | Yes | Yes | fivem, freeroam | Server-side trainer and menu with permission support |
| StreetKings | Yes | Yes | fivem, racing | Racing game mode with missions and daily events |
| WarfareTacticsV (Real-Time Strategy) | Yes | Yes | fivem, rts | Standalone real-time strategy game mode |
| RedM Basic Server (CFX Default) | Yes | No | redm | Minimal RedM server |
| VORP Core | Yes | No | redm, roleplay | RedM 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
- 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.
- Deployment Type: click Popular Recipes. The alternatives are Existing Server Data (for a folder that already has a
server.cfgand aresourcesfolder), Remote URL Template and Custom Template; the last two are covered below. - Select Template: click the recipe you want.
- 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.
- Click Go to Recipe Deployer.
In the Recipe Deployer
- Step 1: Review Recipe. The recipe opens in an editor. Read the tasks, edit them if needed, and click Next.
- 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.
- 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.
- Step 4: Configure server.cfg. Check the generated file and click Save & Run Server. txAdmin validates the file, records the folder and
server.cfgas 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.
| Field | Default | What to know |
|---|---|---|
| Database Host | localhost | Database server address |
| Database Port | 3306 | Must be a whole number |
| Database Username | root | Account txAdmin logs in with |
| Database Password | Empty | Needed if the account has one |
| Database Name | The deployment ID | Used if it exists, created if not |
| Delete Database | On | Drops 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-fivemorganization, and declares$engine: 3, the engine version the current deployer runs. It can be loaded through Remote URL Template withhttps://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) | Cause | Fix |
|---|---|---|
| “Failed to load recipe list.” | The browser could not fetch the index from GitHub | Click Back and retry; check that the browser can reach raw.githubusercontent.com |
| A card tagged INCOMPATIBLE | Different recipe engine version | Update FXServer, which updates txAdmin (artifact guide) |
| “This folder already exists and is not empty!” | Data Location has files in it | Keep 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 writable | Use a location inside an existing, writable folder |
| “The Server License does not appear to be valid.” | Key incomplete or mistyped | Copy the full cfxk_ key from the Portal again |
| “Database connection failed:” with ECONNREFUSED | Nothing listening on that host and port | Start the database server, then check host and port |
| “Your database does not accept the required authentication method.” | Database server too old | Update MySQL or MariaDB, as the message says |
| “Deploy validation error: this recipe didn’t create a ‘resources’ folder.” | The recipe is incomplete | Report it to the recipe’s author |
“Cannot save server.cfg due to error(s) in your config file(s)” | Error in the edited file | Fix 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.
- Read the failed task’s error. Download tasks, for example, stop with
timed out after 180s.when they hit their default limit;connect_databaseallows 30 seconds andquery_database90, unless the recipe setstimeoutSeconds. - A 401 or 403 on a
download_githubtask 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. - 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
- Continue with the rest of the setup in how to make a FiveM server.
- Fix registration-key problems with the FiveM server license key guide.
- Fill in your server-list details with fixing “Missing server data”.
- Once the server runs, browse the FiveCrate scripts catalogue.
FiveM scripts from FiveCrate
Listed in the FiveCrate catalogue now.
Official documentation and repository references
- txAdmin docs: Recipe Files (recipe.md)
- txAdmin-recipes: indexv4.json (Popular Recipes for FiveM Legacy)
- txAdmin-recipes: indexv5.json (Popular Recipes for Enhanced)
- txAdmin-recipes commit 5d7f7b36af: deprecated qbcore recipe
- Cfx.re Docs: Setting up a FiveM Server
- txAdmin source: Recipe Deployer page (deployer.ejs)
Related guides
FiveM Server License Key: Portal Setup and Fixes
Get a FiveM server license key from the Cfx Portal, add it with sv_licenseKey or the txAdmin deployer, keep it secret, and fix the common license key errors.
Fix FiveM 'Missing Server Data' in the Cfx Portal
Missing server data in the FiveM server list means your Cfx Portal listing is blank. Fill in name, tagline, tags and images, and remove old server.cfg lines.
How to Make a FiveM Server in 2026 (txAdmin + Portal)
How to make a FiveM server in 2026: download FXServer, finish txAdmin setup, deploy a recipe, add a Cfx Portal key, set listing details and open port 30120.
How to Update FiveM Server Artifacts and Fix EOL Errors
Update FiveM server artifacts on Windows or Linux without losing txData: pick Recommended or Latest, then fix end-of-life, outdated and native errors.


