FiveM in 2026: how it all fits together
Most beginners start by buying scripts. That is the expensive way. Before any of that, you need the map: a FiveM server is just four layers stacked together. Learn the layers once and every tutorial, every script, every error message starts making sense. This lesson hands you that map and the official links to bookmark.
Watch: install and configure a server
Here is the full walkthrough that installs a server and configures it end to end. Watch it once for the big picture, then follow the written steps across this track at your own pace.
The 2026 stack
This is the platform itself: the thing your players connect to, and the panel you run it from. Both are made by Cfx.re and both are free.
This is the language and the libraries. Your server logic is written in Lua. In 2026 almost every modern resource also leans on Overextended's libraries.
This is where your data lives. The database is a separate program from FiveM; your scripts reach it through the oxmysql resource.
Build it
You are building your bearings, not a resource yet. Each step ends with something concrete: a bookmark or a sentence you can say out loud.
Name the platform layer
FiveM is the multiplayer platform built on top of GTA V by Cfx.re. txAdmin is the web panel that ships inside FXServer, the FiveM server process itself, and lets you start, stop, and watch it from your browser. You do not install txAdmin separately; it is already there the moment you run FXServer. Your free server license key comes from the Cfx.re Portal, not from any "keymaster" page or Discord link.
Bookmark the portal now. You will need a free key before your server will boot.
Name the language layer
Every resource is written in Lua 5.4. You do not need to memorize functions. You need to know how to look up the built-in game functions, called natives. Bookmark the official docs and the natives reference; you will live in these.
If something went wrong
| Symptom | Fix |
|---|---|
I already bought scripts before I had a server | Stop installing them. Stand up a base server with a framework first (next steps), then add one paid script at a time and test each restart. |
I cannot tell a framework from a library | You install exactly one framework (ESX or Qbox). You install many libraries and resources on top of it. ox_lib is a library, not a framework. |
A guide says 'get a key from the keymaster' | That page is retired. Generate your free key at portal.cfx.re instead. Same key, current home. |
I do not know which track to start | Want to host and run a server -> Track A. Want to write code -> Track B. Want to build the game world -> Track C after Track B basics. |
What you can do now
- Describe a FiveM server as four layers: platform, language, framework, data.
- Name what FiveM, txAdmin, and the Cfx.re Portal each do.
- Choose ESX Legacy or Qbox as a 2026 starting framework, and explain why not QBCore.
- Explain the difference between a framework, a library (ox_lib), and a single resource.
- Point to the database (MariaDB), the viewer (HeidiSQL), and the connector (oxmysql).
- Open the official docs and natives reference instead of guessing from videos.