Deploy a QBCore test server with txAdmin
This independent guide uses the project-maintained QBCore txAdmin recipeΒ . The recipe downloads qb-core, oxmysql, voice, map, and qb-* dependencies in a tested order and imports its qbcore.sql database schema. Read the official project documentationΒ alongside this guide.
Do not run a new recipe over an existing production server. Back up the server directory and database, then deploy to a separate txAdmin profile.
Prerequisites
- A current FiveM server artifact with txAdmin
- A FiveM license key from the Cfx.re portal
- An empty MySQL or MariaDB database reachable by txAdmin
- Enough disk space for the server artifacts and recipe resources
- Administrative access to the host and database
Deployment
Open the txAdmin recipe deployer
Create a new txAdmin profile, open Recipe Deployer, and choose the QBCore recipe. If you enter a recipe URL manually, use:
https://github.com/qbcore-framework/txAdminRecipeConfigure the deployment
Provide the FiveM license key and the connection details for an empty development database. Keep credentials in txAdmin or environment configuration; do not commit them to a repository.
Review before running
Confirm that the recipe source is qbcore-framework/txAdminRecipe and its ref is main. The current recipe imports qbcore.sql, downloads qb-core, installs oxmysql, and then installs the declared standalone and qb-* resources.
Run the recipe
Start deployment and keep the complete txAdmin log. If a download or database task fails, stop and resolve that first instead of manually skipping it.
Start the server
After every recipe task succeeds, start the new profile from txAdmin. Watch the console until all ensured resources have started.
First-boot smoke test
Verify each boundary before customizing the server:
- The console has no missing-resource or database connection errors.
- A client can connect and reach character selection.
- A new character persists after disconnecting and reconnecting.
- Inventory, spawn, and one basic job flow load without script errors.
- txAdmin can stop and restart the profile cleanly.
Follow the project-maintained permissions guideΒ . Add only your own development identifiers and do not copy identifiers from examples.
What the recipe version means
The version field in txAdminRecipe/qbcore.yaml versions the deployment recipe. It is not a semantic release number for qb-core. Record the Git commit of every customized resource when you need a reproducible server build.
Updating later
Do not rerun the recipe over a customized installation. Instead:
- Record the current commit of every changed repository.
- Back up files and database, and verify that the backup restores.
- Compare your commit with upstream
main. - Apply changes on staging and run the smoke test again.
- Keep a rollback commit and database snapshot for production rollout.
Continue with the full installation overview, permission guide, and txAdmin troubleshooting flow.