
- ESX
By Luke

Install a FiveM server template into an isolated server-data directory and a new database, following the documentation for that exact package. Confirm the core player flow before importing existing player data or opening the server publicly.
Setting up your first server? Follow our step-by-step guide on how to create a FiveM server.
Download the authorized package from your order’s download location and keep the original archive and installation notes. Record the framework version, required database engine, artifact requirements, dependencies and account-bound licenses.
For a RPScripts purchase, use your account downloads. The package’s own instructions determine its archive layout and update procedure. If those are missing, request them before guessing at SQL or startup settings.
For the first import, use an isolated database instance when a package's SQL contains a fixed database name or destructive statements. Check DROP DATABASE, CREATE DATABASE and USE statements before execution. Selecting a new database in a graphical client is not sufficient when the file itself selects or recreates another schema.
The current QBCore V5 setup notes identify QBV5/[sql]/fivemstore.sql and warn that it drops and recreates fivemstorev5. Keep existing databases outside the test instance, inspect the statement, import there, then check the actual fivemstorev5 schema and import log. Configure the package against the database you verified using an appropriately limited account.
The separate September 8 package audit checked archive integrity and an isolated SQL import. It did not verify a live FXServer start. Treat those as separate stages: continue with the runtime and player-session checks below rather than assuming a successful import proves the server works.
If package instructions or dependencies are unclear, send the exact product URL, environment and first error to RPScripts support, with credentials removed. This example establishes the behavior of that V5 file; it does not establish that other packages use the same database name or import procedure.
Set the database connection in the server-side location used by the actual adapter. Do not invent Config.MySQLConnection or put passwords in shared Lua files. Preserve the template’s dependency order until its documentation explains a change.
Use the owner’s current Cfx.re Portal server key in sv_licenseKey. Keep it private. Set the actual TCP/UDP endpoints, supported slot limit and public description using the server-command reference. Steam API keys, if required by a resource, are secrets and must not be published with sets.
Use the txAdmin profile or documented launcher that points to this server-data configuration. A relative +exec server.cfg resolves in the launch context; starting from the wrong directory can load no configuration or the wrong one.
Read the first startup error. Check missing resources, database authentication, version requirements and entitlements before adding more resources. Restrict administration ports separately from the public game endpoint.
Share the package version, environment, first complete error and steps already tried with the package’s support contact. Remove credentials and personal data from logs. A nil value alone does not prove that a SQL table is missing.





