Skip to main content
Pillar guideDay 0 · idea to first boot

How to Start a FiveM Server in 2026

From empty VPS to a bootable city: hosting, txAdmin, framework, database, and the order to do it in.

Quick answer

Start with txAdmin on a VPS (4+ cores, 8GB+ RAM, NVMe), pick your framework before buying a single script, set up MariaDB with oxmysql, and launch with fewer than 80 resources. The order matters more than the tools: framework first, core systems second, content last. How long it takes to build a FiveM server depends on scope: a one-click managed host boots in about 15 minutes, a self-hosted txAdmin base takes 2 to 4 hours, and a full custom roleplay city is a 2 to 6 month build.

What a FiveM server needs before launch

Five things, in this order: a Cfx.re license key (free from the Cfx.re Portal at portal.cfx.re, which replaced the old Keymaster in late 2025; required even for a local test server), somewhere to run (local for testing, VPS for real players), txAdmin as your control panel (ships bundled inside the FXServer artifact since 2020 and launches automatically on first boot), a framework decision (ESX, QBCore, or Qbox), and a database (MariaDB + oxmysql is the 2026 standard).

What you do not need before launch: a custom MLO pack, 40 paid scripts, or a full custom UI. Every week spent on content before the core loop works is a week your launch slips.

Local test vs VPS vs managed hosting

Run locally while you learn, it costs nothing and restarts are instant. Move to a VPS when friends start joining: you want 4+ dedicated cores (FiveM's main thread is single-core sensitive, so clock speed beats core count), 8–16GB RAM, and NVMe storage. Managed game hosting trades control for convenience; it is fine for a first server but you will outgrow the file-manager workflow once you debug seriously.

Location matters: put the box near your players. 40ms vs 120ms is the difference between clean driving and rubber-banding complaints on day one.

txAdmin basics

txAdmin is the panel that runs your server process: start/stop, live console, player list, bans, scheduled restarts, and recipe deployments. Three settings to get right immediately:

  • Scheduled restarts twice a day. FiveM servers accumulate memory; restarts are hygiene, not failure.
  • Server profile + backups before you touch anything.
  • The recipe deployer can bootstrap an ESX or QBCore base in one click, use it for your first build instead of hand-assembling resources.

The framework decision

Your framework decides your script market, your hiring pool, and 80% of your future debugging. QBCore has the biggest beginner ecosystem, ESX the longest history and deepest catalog, Qbox the most modern engineering on a QBCore-compatible API. Decide before buying scripts, cross-framework migrations are weekend-eating work.

We keep a full decision guide with migration notes in the framework comparison.

Database and resources

Use MariaDB (not MySQL 5.7, not SQLite) and connect through oxmysql. Two rules save you from the classic day-30 meltdown: index every column you look up players by (identifier, citizenid, license), and never run queries inside a per-frame loop.

Resource discipline from day one: keep your resources/ folder organized by bracket ([core], [jobs], [vehicles]), start resources explicitly in server.cfg in dependency order, and keep the count under ~80 at launch. Every resource is tick budget and another thing that can break.

Common beginner mistakes

The five we see in nearly every audit: buying scripts before picking a framework, copying a 200-resource 'starter pack' and never reading what is in it, skipping ensure order so dependencies race on boot, leaving default passwords on the database while port 3306 is open to the world, and launching with streamed asset packs so heavy that new players time out on join. When you are within two weeks of opening, run the free 14-day launch checklist to catch these before players do.

The checklist
  • Cfx.re key created and stored somewhere safe
  • VPS provisioned (4+ cores, 8GB+ RAM, NVMe) near your player base
  • txAdmin running with scheduled restarts + backups
  • Framework chosen and base deployed (recipe is fine)
  • MariaDB + oxmysql connected, identifier columns indexed
  • Resource count under 80, organized by bracket, explicit ensure order
  • Test joins from a clean machine: under 2 minutes to spawn
  • Discord set up with join instructions and a bug-report channel
Path Cost Control Best for
Local machine Free Total Learning, solo dev
VPS (self-managed) $15–60/mo Total Serious launches
Managed game host $20–80/mo Limited First server, no Linux skills
Common mistakes

Buying content before the framework decision. Launching a 200-resource template city you cannot debug. No scheduled restarts. Unindexed player lookups that stall joins at 20 CCU. Open database ports with default credentials.

The Quasar recommendation

Start smaller than feels comfortable. A 60-resource city that runs clean beats a 250-resource city that hitches, players forgive missing features, they do not forgive lag and broken jobs. Get the loop working: join, work a job, earn, buy, log off, come back. Everything else is iteration. And if you would rather skip the build entirely, the done-for-you server packages hand you a working city instead.

Latest in this cluster

How much does it cost to run a FiveM server?
A serious starter setup runs $15–60/month for the VPS. Scripts are where budgets explode, a curated starter stack lands around $100–300 one-time, while uncurated buying easily passes $1,000 with worse results.
Do I need to know Lua to start?
No, txAdmin recipes and framework defaults get you to a bootable city without code. You will want basic Lua reading skills within the first month to configure scripts and read errors.
Windows or Linux for hosting?
Both work; Linux is the de-facto standard for production FiveM and what most guides, panels, and developers assume. If you rent a VPS, take Ubuntu or Debian.
Can I run a private FiveM server just for friends?
Yes. Run it locally or on a small VPS, keep it unlisted from the public server browser, and have friends join by IP or direct connect. A free Cfx.re license key is still required, even for a local test server.

Want this handled with you, not alone?

Get a concrete plan for your server, or have us look at what you have built so far.

Maintained by
FiveM Coach by Quasar · reviewed by Kishi
Updated as the ecosystem changes. From the team behind Quasar Store.

Keep going

Take the next step for your server.Get My Server Plan