
How to Make a FiveM Server in 2026
Set up a FiveM (GTA V RP) server in 2026: Cfx.re key, txAdmin, QBCore vs ESX, RAM, cost and easy managed hosting.
FiveM is the multiplayer modification for Grand Theft Auto V that powers the entire GTA roleplay scene: built by Cfx.re, it lets you run custom servers with your own scripts, jobs, economy and rules instead of Rockstar's official online mode. If you want to build a roleplay (RP) community, run custom scripts, or host dozens of players in your own version of Los Santos, you need your own FiveM server. This guide walks you through the full setup with txAdmin, compares the main RP frameworks (QBCore, ESX, vRP), and shows you the simplest way to get online without fighting a VPS.
What FiveM is (and who needs a server)
FiveM is to GTA V what RedM is to Red Dead Redemption 2: a Cfx.re multiplayer platform that runs custom servers outside the official game. Instead of GTA Online, players connect to community-run servers that load Lua and JavaScript resources for everything from police and ambulance jobs to a full economy. Server management runs through txAdmin, the same web panel used across the Cfx.re ecosystem.
You need your own FiveM server if you want to:
Run a roleplay (RP) community
Run custom scripts and mods
Host dozens of players 24/7
You need a Cfx.re key and GTA V
How to make a FiveM server step by step
The process is the same whether you self-host on a VPS or use managed hosting. The big decision is where the server runs (step 2). Here is the full walkthrough.
Get a free Cfx.re license key
cfxk_. Keep it private — it identifies your server, and it goes into your server.cfg later as sv_licenseKey.Choose where to host: your own VPS vs managed
Install txAdmin + the FiveM server artifacts
cfx-server-data build for your OS) from the Cfx.re artifacts page, extract them, and launch the FXServer executable — txAdmin starts on port 40120. Open it in a browser, create your admin account, and follow the setup wizard. On managed hosting, txAdmin is pre-installed, so you just open the panel and log in.Pick a framework (QBCore, ESX or vRP)
resources/ folder and follow its install guide.Configure server.cfg + resources
server.cfg is the heart of the server. Set your license key, server name, max players, and the ensure/start lines for every resource (including your framework and its dependencies like oxmysql). Frameworks like QBCore and ESX need a MySQL/MariaDB database — create one, import the framework's SQL, and put the connection string in set mysql_connection_string.sv_licenseKey "cfxk_yourkeyhere"
sv_hostname "My FiveM RP Server"
sv_maxClients 48
set mysql_connection_string "mysql://user:password@localhost/fivem"
ensure oxmysql
ensure qb-core
ensure qb-inventory
# start your other resources hereLaunch & connect
FXServer +exec server.cfg on a VPS). Once it's live, it appears on the Cfx.re network. To connect, open FiveM, press F8 to bring up the console, and type connect <your-server-ip>:30120 — or find it in the FiveM server list if you set it public. Share that address with your players.QBCore vs ESX — which framework?
DDoS protection is not optional
Managed FiveM hosting (skip the VPS hassle)
Self-hosting a FiveM server sounds cheap until you hit the reality: forwarding the right ports on your router, keeping a machine online 24/7, patching the OS, surviving DDoS attacks, and restarting the server every time it crashes at 3 a.m. Managed FiveM hosting removes all of that — txAdmin comes pre-installed, the server runs around the clock, and DDoS protection and updates are handled for you.
On our comparison, Shockbyte is currently the only host that sells FiveM plans. Here are the real plans and prices.
| Plan | Max players | Price |
|---|---|---|
| Sandy Shores | 12 players | €7.72/mo |
| Vespucci | 24 players | €13.73/mo |
| Vinewood | 300 players | €21.40/mo — best value |
Shockbyte FiveM plans (2026). All plans include txAdmin pre-installed, SSD storage, DDoS protection and 24/7 support. All are eligible for the LAUNCH promo code (25% off). Prices shown are monthly.
For a 20–30 player QBCore RP, Vespucci is the sweet spot
How much RAM and budget you need
FiveM is more demanding than vanilla GTA Online because a full RP framework loads dozens of Lua and JavaScript resources, an inventory system and a database. RAM is the main thing that scales with player count and the number of scripts you run. As a rough guide:
| Server type | Players | RAM | Budget |
|---|---|---|---|
| Private / friend server | 5 to 12 players | 4 to 6 GB | €8–12/month |
| Semi-public RP server | 12 to 24 players | 6 to 8 GB | €12–22/month |
| Community RP server | 24 to 64 players | 8 to 12 GB | €20–40/month |
| Large public server | 100+ players | 12 to 16 GB | €35–70/month |
A heavily scripted QBCore or ESX server at 20–30 players comfortably wants around 8 GB of RAM. A large 100+ player server needs 12–16 GB. CPU single-thread performance also matters a lot for FiveM, so favour a host with strong per-core clocks.
Latency matters for RP
Ready to launch your FiveM server?
Take the 2-minute quiz to get a host matched to your RP server, or jump straight to Shockbyte's FiveM plans.
Frequently asked questions
Is FiveM free?
Do I need a Cfx.re key to run a FiveM server?
QBCore vs ESX — which should I use?
How much RAM does a QBCore RP server need?
Can I run a FiveM server 24/7 without my PC on?
Ready to launch your FiveM server?
Here are the best FiveM hosting deals right now, promo codes included. Still unsure? Our quiz finds the ideal host for you in under 2 minutes.
Sandy Shores
Shockbyte
Compatible games
Features
- ✓txAdmin
- ✓DDoS Protection
- ✓Instant Setup
- ✓24/7 Support