v0.1.0-beta.19 · BETA See release notes →

The Definitive Open-Source MIT Framework for FiveM Enhanced

Engineered from scratch with Clean Architecture, Core.Platform.* HAL (292 natives) isolation, and a Server-Authoritative model. Zero legacy dependencies (no ESX, QBCore, ox_lib, or oxmysql): 50 documented first-party resources with 0.00 ms idle draw.

01 // QUICKSTART SETUP

Your FiveM Enhanced server up in minutes

Use the official txAdmin recipe to download all 50 resources, initialize the MariaDB schema via CoeMigrations, and generate server.cfg automatically.

RECOMMENDED

txAdmin Recipe · one click

https://www.coeroleplay.app/recipe.yaml

Mirror: raw.githubusercontent.com/…/recipe.yaml ↗

  1. Open txAdminWhen creating a server, pick Remote URL Template.
  2. Paste the URLUse the link above and continue.
  3. Database & licenseEnter your MariaDB/MySQL details and Cfx.re key. The rest is automatic.
Manual installation (Git & FXServer) ADVANCED
  1. 01

    Prerequisites and database

    Install FXServer for GTAV Enhanced (build b170+), Node.js 24 LTS / Node 26 (libnode26) and MariaDB 11.x+. Create the database; coe_database runs the migrations on first boot.

    SQL
    CREATE DATABASE IF NOT EXISTS coe_framework
      CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
  2. 02

    Download the resources

    Clone the repository (or unpack the release) into resources/[coe-framework]:

    SHELL
    cd path/to/fxserver/resources
    git clone https://github.com/marcelomatz/coe-framework.git "[coe-framework]"
  3. 03

    Configure server.cfg

    Point coe_database at your database and keep the boot order (supervisor and core before subsystems). The full order lives in recipe.yaml.

    server.cfg
    # Database (coe_database)
    set coe_database_host "127.0.0.1"
    set coe_database_port 3306
    set coe_database_user "user"
    set coe_database_password "password"
    set coe_database_name "coe_framework"
    
    # Boot order
    ensure coe_supervisor
    ensure coe_logging
    ensure coe_database
    ensure coe_core
    ensure coe_ui
    # ... remaining resources in recipe.yaml order
  4. 04

    Start and check the boot

    Start FXServer. coe_supervisor validates resource integrity during boot and reports to the console.

    SHELL
    FXServer.exe +exec server.cfg
02 // TECHNICAL ENGINE COMPARISON

COE Framework (0.00 ms) vs. Qbox (0.42 ms) vs. Legacy QBCore / ESX (2.50+ ms)

Filter across the 5 engineering dimensions below to compare how COE Framework eliminates the historical bottlenecks of frameworks built during the DirectX 11 era.

Technical Dimension COE Framework (0.00 ms Idle · MIT) Qbox (~0.42 ms Idle) QBCore / ESX Legado (2.50+ ms Idle)
Client-Side Idle Draw (Idle Tick) 0.00 ms flat (Zero permanent Wait(0) loops; O(1) spatial Colshapes) ~0.42 ms (Relies on ox_lib zones + auxiliary threads) 2.50+ ms (Dozens of while-true loops polling distance every frame)
FiveM Enhanced Runtime Alignment (GTAV Gen9 / DX12) Native from day one (Core.Platform.* HAL covering 292 natives + full lockdown) Partial (Adapted over resources inherited from DX11) Legacy 2017–2021 (Microstutters, race conditions, and orphan entities)
Engine Defense, Anti-Cheat & Entity Lockdown Built-in coe_shield (5 layers, sv_entityLockdown "full", (source, charId, gen) session & SHA-256 GDPR hash) No built-in first-party anti-cheat (Requires third-party scripts) Vulnerable to event spoofing, source recycling, and client-side entity spawning
Domain Architecture, ACID Database & Offline Tests Clean Architecture (Domain/Adapters/Application), Node 26 ACID coe_database (Node.js 24 LTS / libnode26) & 165+ offline test suites (< 2s) Procedural scripts coupled to oxmysql without offline native mocking Shared mutable global objects (ESX/QBCore) without transactional isolation
NUI Design System & Localization Parity (i18n) Unified coe_ui (--coe-* tokens, 5 real-time themes, Spatial 3D) & 100% CI-verified PT-BR / EN-US parity Heterogeneous interfaces with separate styles per resource Misaligned legacy HTML/CSS, hardcoded strings, and high CEF GPU overhead
Engineering Automation, Observability & AI Toolkit coe_admin 2.0 (Prometheus/Perfetto + 8 QA Presets) + Agent Skills, Rules & check_contracts.lua --strict Basic linters without automated LuaLS/export contract auditing Zero contract validation pipeline or frame budget telemetry
03 // CLEAN ARCHITECTURE & HAL

Domain → Adapters → Application, 292 Mocked Natives, and Active Defense

01

Clean Architecture & HAL (292 Natives)

Every resource separates domain/ (pure rules), adapters/, and application/. Core.Platform.* isolates 292 entity, vehicle, colshape, and routing natives with a 100% offline mock.

02

coe_database ACID & (source, charId, gen) Session

Node.js 24 LTS / Node 26 (libnode26) MariaDB pool with parameterized prepared statements (?), idempotent migrations (CoeMigrations), and session tuple validation against source recycling.

03

coe_shield: 5-Layer Defense & Full Lockdown

Compatible with sv_entityLockdown "full" (networked entities spawn only on the server), server-only honeypots, Token Bucket rate limiting, and multi-token bans with SHA-256 hashing (GDPR/LGPD).

Inspect Security & Audit →
04

coe_admin 2.0: Observability & Ecosystem

Prometheus metrics and Perfetto trace export, 60Hz (16.67 ms) frame budget monitor, 8 one-click role presets (#view-jobs), and patrimony origin auditing.

Test Admin 2.0 in Sandbox →
04 // INTEGRATION ARCHITECTURE

How COE scripts connect as a single unified ecosystem

No legacy frameworks, no isolated scripts, and no chaotic dependencies. Explore the architecture across 6 structural layers and select real-world pipelines to inspect how all 50 resources collaborate with 0.00ms idle draw and strict server-authoritative validation.

INTEGRATION INSPECTOR coe_core Central Kernel & Platform HAL
View script documentation

coe_core is the foundation of the ecosystem. Delivers the Hardware Abstraction Layer (Platform HAL), ACE-guarded permission management, native localization (pt-BR / en-US), and cross-resource event bus.

Inputs (Consumed Dependencies)
coe_databasecoe_logging
Outputs (Dependent Resources)
All 50 framework resources
FiveM Enhanced Telemetry
0.00 ms (idle) · Sub-tick Event Bus
Layer 01 // Kernel & Engine

Infrastructure & Core Foundation

Orchestrated boot, native HAL and ACID transactions without blocking Lua ticks.
coe_supervisor 0.00 ms (idle)

Supervisor & Boot Orchestrator

Monitors thread health, integrity, and resource lifecycle.

OrchestratorHeartbeatSelf-Healing
coe_database Node 26 ACID

Node.js 24 LTS / Node 26 (libnode26) MariaDB Pool

Native prepared statements (?) and transactions with automatic rollback.

MariaDBPrepared SQLACID Transact
coe_core 0.00 ms (idle)

Central Kernel & Platform HAL

Hardware Abstraction Layer (Core.Platform), Core.Locale, Core.Access and events.

Platform HALLocale i18nACE Control
coe_logging 0.00 ms (Async)

Telemetry & Structured Logging

Asynchronous logging outside the FiveM main tick thread.

Structured JSONZero Tick Block
coe_audit Immutable Audit

Immutable Transaction Ledger

Tracks every cash, item, and vehicle mutation. Definite anti-dupe.

Audit TrailAnti-Dupe Guard
Layer 02 // Interface & Sensory

Tactical Interfaces, Spatial Audio & Raycasting

5 real-time themes, WebAudio sound, and zero while-true loops.
coe_ui 5 Temas NUI

Universal CoE UI Design System

CSS tokens (--coe-*), 5 real-time themes and CoeUI.confirm().

Design TokensVanilla/ReactA11y Dialogs
coe_notify WebAudio Engine

Spatial Notifications with Audio

Spatial audio feedback, clean stacking, and reactive positioning.

Spatial AudioClean Stacking
coe_hud 0.00 ms (idle)

Automotive HUD & Personal Telemetry

High-precision speedometer, vitals, and in-game editor via /hud.

HUD EditorSub-Tick GaugesNo Polling
coetarget 0.00 ms (Raycast)

Sub-Tick Visual Raycasting

Replaces distance loops with direct line-of-sight on models, peds, and zones.

Zero While-TrueSub-Tick Aim
Layer 03 // Identity & Citizen

Player Lifecycle & In-World Presence

Multicharacter with biometrics, high-res anatomy, and starter hotels.
coe_characters Multi-Character

Multicharacter & Biometrics

Dynamic slots, rapid switching, and binding to accounts and inventory.

BiometricsSlot PersistStateID
coe_appearance Gen9 Textures

Physical Customization & Clothing

GTA V Gen9 textures, detailed anatomy, and zero memory leaks.

Anatomy TuningZero Memory Leak
coe_spawn Bucket Protected

Spawn Selector & Starter Hotels

World entry with routing bucket protection and newcomer hotels.

Routing BucketHotel Stashes
coe_loadscreen Instant Ready

Immersive Loadscreen & Handshake

Smooth transition between asset preloading and FXServer synchronization.

Smooth HandshakeAudio Ambience
Layer 04 // Economy & Inventory

Financial Engine, Inventory & Commerce

Strict server-side financial validations and 233 semi-realistic icons.
coe_economy Strict Server-Auth

Server-Authoritative Economy Engine

Bank accounts, cash in hand, and mathematical exploit protection.

Cash & AccountsNo Client Trust
coe_inventory 233 Custom Icons

Grid Inventory with 233 Icons

Quick-action slots, weight physics, corporate stashes, and trunks.

Weight SystemStashesTrunk Sync
coe_banking Encrypted Ledger

Banking Terminals, Accounts & Instant Transfers

ATMs, instant transfers, loans, and accounting statements.

ATMsStatementsPIX Transfers
coe_shops Multi-Payment API

Convenience Stores & Counters

Dynamic shelves and pluggable payment methods (RegisterPaymentMethod).

Shelves & BasketsRegisterPaymentMethod
coe_businesses Player-Owned Corp

Player-Owned Autonomous Businesses

Player businesses with employee hiring, payroll, and corporate cash.

Corporate VaultPayroll Engine
Layer 05 // Mobility & Fleet

Vehicle Physics, Gen9 Handling & Garages

Damage persistence, technical catalogs, and open garage extension points.
coe_vehicles HAL Entity Sync

Vehicle Engine & State Persistence

Sync for door locks, fuel, virtual keys, and body damage via HAL.

Damage StateKey SystemTrunk Sync
coe_vehicle_catalog Gen9 Handling

Handling Catalog & Gen9 Metadata

Native physics auditing, vehicle class balancing, and true speeds.

Native PhysicsHandling Audit
Layer 06 // Life & Society

Jobs, Physiology, Communication & Admin

Dynamic jobs, 3D voice, modern smartphone, and administrative governance.
coe_jobs Dynamic Payouts

Careers with Progression

Delivery routes, public service, and dynamic payouts to bank.

Duty ShiftsCareer Routes
coe_needs 0.00 ms (Server Tick)

Human Metabolism on Server

Hunger, thirst, and stress evaluated on server without heavy client polling.

Metabolism BalanceVitals Impact
coe_phone Zero Framework Lock

COE OS 5G Smartphone with Fluid Apps

Voice calls, contacts, messaging, and bank integration via CoE UI.

Real-Time AppsCell Tower Sync
coe_tablet Enterprise Terminal

Enterprise Tablet for Field Ops

Incident dispatch, business management, and operational control.

Field DispatchWork Orders
coe_talk Sub-Tick Voice Sync

3D Voice Communication & Radio

High-definition spatial audio, encrypted radio frequencies, and proximity.

Radio FrequenciesSpatial 3D Audio
coe_map Dynamic Routing

Dynamic Blips & Satellite Navigation

Georeferenced points of interest and clean radar synchronization.

Smart BlipsRadar Zones
coe_admin ACE Guarded

Admin 2.0 Suite & Observability

Role presets #view-jobs, patrimony auditing, and Prometheus/Perfetto metrics.

Admin 2.0Prometheus/Perfetto
04.1 // FIVEM ENHANCED READINESS

Why COE is the definitive framework for the Gen9 / DX12 era

FiveM's transition to the GTA V Gen9 (DirectX 12) codebase retired legacy development practices. See how COE's architectural decisions guarantee unparalleled longevity and performance.

01

0.00ms True Idle (Sub-Tick & Event-Driven)

FiveM Enhanced based on the GTA V Gen9 (DirectX 12) engine demands clean frame pacing. Legacy frameworks run hundreds of while-true loops polling coordinates, causing micro-stutters. In COE, threads sleep completely until events or direct line-of-sight raycasting via coetarget occur.

0.00 ms idle draw · Zero legacy loops
02

Hardware Abstraction Layer (HAL) Update-Immune

No gameplay script touches Rockstar or Cfx.re natives directly. The Core.Platform module isolates all entity, ped, vehicle, and routing bucket calls. When FiveM updates or native signatures change, your server never breaks — only the HAL adapts.

100% native HAL isolation
03

Node.js 24 LTS / Node 26 (libnode26) Async Pool & ACID Transactions

coe_database operates outside the main Lua thread using native prepared statements (?) and an async Node.js 24 LTS / Node 26 (libnode26) pool. Every cash or item mutation runs atomic transactions with automatic rollback: failures revert state completely, wiping out duplication exploits.

Node 26 ACID · Auto Rollback
04

CoE UI Design System (5 Real-Time Themes)

Goodbye to patched NUI interfaces with conflicting CSS and Chromium stutters. CoE UI provides unified CSS tokens (--coe-*), accessible focus modals, and 5 themes switched in real time without reloading the NUI. Complete stack freedom: Vanilla, React, Vue, or Svelte.

5 dynamic themes · 100% MIT
05 // COE ACADEMY & AI ENGINEERING TOOLKIT

Scaffold and validate new resources in minutes with Agent Skills and Strict CI

The repository ships with architectural rules, LuaLS contract generators, and automated validators that enforce locale parity, native isolation, and zero regression.

check_contracts.lua --strict

Contract, Native & Locale Auditing

Verifies LuaLS signatures in types.lua, forbids raw natives outside the HAL, and enforces 100% parity between pt-br.lua and en-us.lua.

smoke_boot_test.lua + 165 Suites

Pure Lua 5.4 Offline Tests (< 2s)

Simulates the full boot of all 50 resources and runs unit tests across domain, adapters, and handlers without launching FXServer.

Agent Skills & COE Academy

Guided Workflows for Developers & AI

Ready-made skills for secure net events, idempotent SQL migrations, NUI interfaces, and ACE-guarded export contracts.

06 // COE UI & DESIGN SYSTEM UNIVERSAL

One visual foundation for every NUI

coe_ui ships tokens, components and real-time theme switching to every interface on the server. No build step, no dependencies, and no lock-in to a front-end framework.

  • Tokens & 5 themesColors, spacing and type as --coe-* variables.
  • Ready-made componentsButtons, fields, cards, badges, modals and CoeUI.confirm().
  • Full stack freedomPlain HTML/CSS, React, Vue, Svelte, Tailwind, Canvas, or WebGL.
CONVENIENCE STORE BuyManage

24/7 Strawberry

$ 340today
$ 2.2107 days
41sales
Water 4 in stock
Coffee 5 low
Cancel Save prices
Switch the theme — the interface follows:
07 // OPEN-SOURCE MIT CATALOG

50 open-source scripts

Every script has its own page with exports, commands and examples.

Displaying 50 of 50 resources
08 // ICONS

233 semi‑realistic icons in coe_inventory

Every item was recreated at 128×128 (WebP and PNG) with directional lighting, material gradients and drop shadows.

See the full gallery →
Acessório: Barrel
Acessório: Barrel
Acessório: Clip Drum
Acessório: Clip Drum
Acessório: Clip Extended
Acessório: Clip Extended
Acessório: Clip Extended2
Acessório: Clip Extended2
Acessório: Flashlight
Acessório: Flashlight
Acessório: Grip
Acessório: Grip
Acessório: Muzzle Bell
Acessório: Muzzle Bell
Acessório: Muzzle Fat
Acessório: Muzzle Fat
Acessório: Muzzle Flat
Acessório: Muzzle Flat
Acessório: Muzzle Heavy
Acessório: Muzzle Heavy
Acessório: Muzzle Precision
Acessório: Muzzle Precision
Acessório: Muzzle Slanted
Acessório: Muzzle Slanted
07 // RELEASES

What’s new

The current version up front and the recent history below. Every version links to its full notes in the docs.

CURRENT VERSION
BETA 2026-11-08 50 resources

v0.1.0-beta.19

Implementations 1
  • Release automatizada v0.1.0-beta.19
Improvements 1
  • Strict HAL contract validation, pt-BR/en-US locale parity, and 0.00ms idle telemetry.
Fixes 1
  • General stability and MariaDB persistence fixes.