Server Launch Checklist
The complete step-by-step checklist to launch your FiveM server. Follow each step in order. Most servers that fail skip steps in the middle.
Prerequisites
- โA VPS or dedicated server (min 8GB RAM, 4 CPU cores)
- โA domain or Cloudflare tunnel (optional but recommended)
- โA Cfx.re account (forum.cfx.re)
- โBasic command line knowledge (cd, ls, mkdir)
1.Server Infrastructure
Before installing any FiveM software, you need a proper server. A VPS (Virtual Private Server) from providers like OVH, Contabo, or Hetzner works well for starting out. You need at least 8GB RAM and 4 CPU cores for 32 players.
- Purchase a VPS with Ubuntu 22.04 LTS (recommended) or Windows Server
- SSH into your server and update packages: sudo apt update && sudo apt upgrade -y
- Create a dedicated user for FiveM (don't run as root)
- Install required dependencies: git, curl, wget, xz-utils, mariadb-server
- Set up a firewall (ufw) and open ports 30120 (TCP+UDP) and 40120 (TCP)
# Create FiveM user and directory
sudo adduser fivem --disabled-password
sudo mkdir -p /home/fivem/server
sudo chown fivem:fivem /home/fivem/server
# Open required ports
sudo ufw allow 30120/tcp
sudo ufw allow 30120/udp
sudo ufw allow 40120/tcp
sudo ufw enableExpected Result
You should be able to SSH into your server and have a clean directory at /home/fivem/server ready for FiveM artifacts.
2.FiveM Server Artifacts
FiveM server artifacts are the core server binaries. You need to download the latest recommended build from the Cfx.re build server.
# Download a recommended artifact (Linux)
# Get the current recommended build URL from:
# https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/
cd /home/fivem/server
wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/<BUILD_ID>/fx.tar.xz
tar xf fx.tar.xz
# Verify installation
./run.sh --versionCopy the latest 'recommended' build link from the artifacts page above (not 'latest' / optional) and paste it in place of the placeholder. Latest builds may have breaking changes that crash your server.
- Download artifacts from runtime.fivem.net
- Extract to your server directory
- Run the server once to generate initial configs
- The first run will start txAdmin setup wizard at http://YOUR_IP:40120
Expected Result
Visiting http://YOUR_SERVER_IP:40120 in a browser shows the txAdmin setup wizard.
3.txAdmin Setup
txAdmin is the web-based management panel for your FiveM server. It handles monitoring, restarts, player management, and more.
- Navigate to http://YOUR_IP:40120 in your browser
- Create your admin account with a strong password
- Link your Cfx.re account (required for server listing)
- Choose a deployment template: QBCore, ESX, or clean base
- Set your server name and configure the data path
- Wait for the template to download and database to initialize
Never share your txAdmin password. It has full control over your server including file access and console commands.
Expected Result
txAdmin dashboard is accessible, server starts without errors, and you can connect via FiveM client using connect YOUR_IP:30120.
4.server.cfg Configuration
The server.cfg file is the main configuration for your FiveM server. Every setting matters for performance and player experience.
# FiveM Coach by Quasar - Recommended server.cfg template
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_hostname "Your Server Name | Custom Framework | Active Staff"
sv_maxclients 48
sv_licenseKey "your_cfx_license_key_here"
set steam_webApiKey "your_steam_api_key"
set sv_projectName "Your Server Name"
set sv_projectDesc "Brief description of your server"
# OneSync (required for 48+ players)
set onesync on
set onesync_population true
# Performance
# Pick a current build number from the Cfx.re "enforceGameBuild" docs;
# 3258+ is the modern range. Don't pin to old 2022-era builds like 2699.
set sv_enforceGameBuild 3258
set mysql_slow_query_warning 200
# Anti-cheat basics
sv_scriptHookAllowed 0
sv_enableNetworkedPhoneExplosions 0
# Resources
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseeventsGenerate your free license key from the Cfx.re Portal (portal.cfx.re) โ it replaced the old Keymaster in late 2025. One key per server, required even for local testing. If you change servers, re-activate the key in the Portal.
5.Database Setup
Most FiveM frameworks require a MySQL or MariaDB database. Set this up before installing your framework.
# Install MariaDB
sudo apt install mariadb-server -y
sudo mysql_secure_installation
# Create database and user
sudo mysql -u root -p
> CREATE DATABASE fivem;
> CREATE USER 'fivem'@'localhost' IDENTIFIED BY 'YOUR_STRONG_PASSWORD';
> GRANT ALL PRIVILEGES ON fivem.* TO 'fivem'@'localhost';
> FLUSH PRIVILEGES;
> EXIT;# MySQL connection string
set mysql_connection_string "mysql://fivem:YOUR_STRONG_PASSWORD@localhost/fivem?charset=utf8mb4"Never use 'root' as your database user for FiveM. Create a dedicated user with limited permissions.
6.Framework Installation
If you used a txAdmin template, your framework is already installed. If not, follow the framework-specific guide:
- ESX: Clone es_extended and dependencies, import esx.sql
- QBCore: Use the qb-core installer (installs all core resources automatically)
- QBox: Fork from QBox GitHub, similar to QBCore but with improvements
For your first server, use a txAdmin deployment template. It handles all dependencies automatically and saves hours of troubleshooting.
7.Essential Scripts
After framework setup, install these core scripts. This is the minimum for a playable server:
- Inventory: ox_inventory (ESX/QB) or qb-inventory (QB) โ handles items, weapons
- Phone: qb-phone or npwd โ communication, banking app
- Housing: qb-houses or esx_property โ own/rent properties
- Vehicles: garage + dealer + keys โ buy, store, lock vehicles
- Jobs: police, EMS, mechanic, taxi at minimum โ gives players things to do
- HUD: ps-hud or ox_hud โ health, armor, hunger, minimap
- Clothing: illenium-appearance โ character customization
- Banking: qb-banking or renewed-banking โ deposits, ATMs
Install ONE script at a time. Start the server, verify it works, then add the next. Batch installing causes cascading errors that are impossible to debug.
8.Economy Configuration
A broken economy kills servers faster than bugs. Players quit when money is too easy or too hard to earn.
- Set starting cash: $5,000-$10,000 (enough to eat and travel, not enough to buy everything)
- Starter jobs: $200-$500/cycle (trucker, miner, garbage collector)
- Mid-tier jobs: $500-$1,500/cycle (mechanic, taxi, fishing)
- High-tier jobs: $1,500-$5,000/cycle (police, EMS, lawyer) โ require whitelist
- Vehicle prices: cheapest car $5,000, mid-range $50,000, luxury $200,000+
- Money sinks: fuel ($5-$20/fill), food/drink ($10-$30), repairs ($100-$500), fines
Test your economy: create a new character and play for 2 hours. Can you afford a starter car? If not, jobs pay too little. Can you afford a mansion? Jobs pay too much.
9.Admin Tools & Permissions
- txAdmin is your primary admin tool (already installed)
- Install qb-admin or ox_admin for in-game administration
- Configure ACE permissions in server.cfg for staff roles
- Create staff ranks: Admin, Moderator, Trial Moderator
- Set up logging: txAdmin logs all commands and connections
- Anti-cheat: consider a basic anti-cheat resource (not required for small servers)
# ACE Permissions
add_ace group.admin command allow
add_ace group.moderator command.kick allow
add_ace group.moderator command.ban allow
add_principal identifier.discord:YOUR_DISCORD_ID group.admin10.Go Live Checklist
Before opening your server to the public, complete every item on this final checklist:
- Stress test with 5-10 friends for 2+ hours
- Check server performance: resmon in F8, target all scripts under 5ms total
- Set up Discord server with rules, applications, and support channels
- Create loading screen with your server branding
- Add server to FiveM server list (automatic via license key)
- Write a compelling server description with keywords
- Take promotional screenshots (in-game, HUD hidden)
- Post in 5+ FiveM community Discord servers
- Monitor txAdmin for the first 24 hours (crashes, errors, player reports)
- Set up automatic restarts every 6 hours via txAdmin scheduler
Expected Result
Your server appears in the FiveM server list, players can connect and play all core features (jobs, housing, vehicles), and no critical errors in txAdmin console.
Your Server Is Live
You now have a fully configured FiveM server with a framework, essential scripts, balanced economy, and admin tools. The next step is getting players and building your community.