BEGINNER'S ROADMAP // FROM ZERO TO ENHANCED SERVER

How to Enter FiveM Enhanced and Launch Your Roleplay Server

The definitive step-by-step onboarding guide for newcomers joining the FiveM ecosystem today, teaching modern architecture patterns directly without 10 years of legacy baggage.

WARNING FOR NEW DEVELOPERS: THE TRAP OF OUTDATED TUTORIALS
Most internet tutorials were written between 2017 and 2021 teaching legacy frameworks (ESX, QBCore, vRP, oxmysql). Designed for DirectX 11, they enforce disastrous habits for contemporary FiveM: endless while true do Wait(0) polling loops, zero offline testing, mutable global state, and synchronous SQL. Starting directly with COE Framework places you years ahead in software quality.
1. CORE CONCEPTS EVERY NEWCOMER MUST MASTER Tactical Glossary
WHAT IS FIVEM?

A multiplayer modification framework for Grand Theft Auto V (PC) built by Cfx.re (now part of Rockstar Games), enabling custom dedicated servers with custom game modes, physics, maps, and logic.

WHAT IS FXSERVER?

The official dedicated backend software running on a server or your local machine. It manages connected players, processes database state, and synchronizes the virtual world via CitizenFX Runtime.

WHAT IS TXADMIN?

The web management panel bundled with FXServer. Used to start/restart resources, monitor real-time CPU/RAM telemetry, inspect server console logs, manage player bans, and schedule restarts.

WHAT IS FIVEM ENHANCED?

FiveM's modern upgrade to GTA V Gen9 codebase with DirectX 12. Delivers true multithreaded pipelines, instant asset streaming, and mandates 0.00ms idle telemetry to prevent microstuttering.

CLIENT-SIDE VS SERVER-SIDE

Client-side: Runs on player machines (rendering, NUI HUD, input, audio).
Server-side: Runs on the host (authoritative state, inventory, currency, MariaDB). The server is the sole source of truth.

WHAT IS A RESOURCE?

An isolated plugin or module in the server (e.g. coe_inventory, coe_garage). Every resource features an fxmanifest.lua declaring metadata, dependencies, and scripts.

PRACTICAL ONBOARDING // 5 STEPS

Setting Up Your First Enhanced Server From Scratch

Follow this structured roadmap to get a production-ready local development environment running in under 20 minutes.

STEP 1

Install Required Developer Tools & Prerequisites

Development Toolchain

Before downloading FXServer, make sure your operating system has the necessary tooling ready:

  • Git for Windows / Linux: To clone official repositories and manage releases (git-scm.com);
  • Node.js 22 LTS: Required runtime for modern microservices and high-performance coe_database pool (nodejs.org);
  • MariaDB 10.11+ or 11+: High-speed relational database recommended for ACID transactions and UTF-8 mb4 collation (mariadb.org);
  • Visual Studio Code or Cursor: Recommended code editor configured with the Lua Language Server (sumneko) extension for typed autocomplete.
STEP 2

Choose Your Official Way to Run the Server

UNIFIED STANDARD

COE Framework provides 3 certified official methods to get your server running. Choose the one that suits your workflow best:

OPTION 1 · RECOMMENDED

txAdmin Recipe (1-Click)

Downloads 27 MIT resources, creates MariaDB 11 tables and generates a balanced server.cfg automatically.

https://www.coeroleplay.app/recipe.yaml
OPTION 2 · STANDALONE

Manual Install (Release ZIP)

Download release ZIP or clone into resources/[coe-framework]. Create empty MariaDB database and add ensures to server.cfg.

cfx-server.exe +exec server.cfg
OPTION 3 · DEV & ACADEMY

Workspace Git & CLI (coe.ps1)

Ideal for developers and Academy students. Activates scripts via instant NTFS junctions with zero storage duplication.

.\coe.ps1 dev enable all
.\coe.ps1 dev sync-cfg
STEP 3

Boot Sequence (server.cfg) & Automatic Migrations

Zero Manual SQL Imports

In COE Framework, you never import dozens of .sql files manually. The coe_database resource executes CoeMigrations on first boot. Simply respect the sequence:

# Canonical Boot Sequence for COE Framework
ensure coe_supervisor    # Integrity checks and boot auditing
ensure coe_logging       # Unified log rotation and levels
ensure coe_database      # Async MariaDB 11 connection and CoeMigrations
ensure coe_core          # Authoritative core, Players, Entities & i18n
ensure coe_ui            # NUI Design System and 5 live themes
ensure coetarget         # 3D raycast target and interaction engine
ensure [coe-framework]   # Remaining 21 city baseline subsystems
STEP 4

Launch the Server and Verify Telemetry (0.00ms)

Connection & Telemetry

Launch your FXServer Enhanced (build b170+) and connect via localhost:

# 1. Start FXServer
.\server\cfx-server.exe +set txAdminPort 40120

# 2. In browser, visit: http://localhost:40120
# 3. Launch FiveM, press F8 and type:
connect localhost

Inside the city, open the client console with F8 and type resmon 1. Every single resource runs at 0.00 ms at idle, proving our event-driven architecture.

WHY DO COE DEVELOPERS LEAD THE MARKET? Software Engineering
1. Clean Architecture

Strict layered design: domain/ (pure logic), adapters/ (database/HAL/NUI), and application/ (use cases). Modular, maintainable code.

2. Offline Unit Testing

Test 100% of your business rules in milliseconds without booting FiveM or FXServer. Offline test runner powered by pure native Lua 5.4.

3. Backward Compatibility

Extend native COE resources through ports and registration exports, ensuring your features survive future framework updates without merge conflicts.

4. AI Agent Mastery

Leverage Cursor, Copilot, and Claude with surgical precision, spotting legacy hallucinations that AIs often suggest before they hit production.

Ready to Start Your COE Academy Training?

Begin now with Track 01: Foundations to master the 10 non-negotiable rules and understand how FiveM Enhanced operates under the hood.

Start Track 01: Foundations → Legacy vs Enhanced Comparison Resource Boilerplate Scaffold ️