T2 // Gameplay & Base

coe_characters

Multi-Character Creation & Selection

Cinematic Selection with Dynamic Cameras & Expandable Slots

INTERFACE // CAPTURE
Multi-Character Creation & Selection
01 // OVERVIEW

Futuristic interface for selecting or creating citizen profiles. Features full character dossiers including StateID, full name, date of birth, career, bank balance, and a real-time 3D ped preview rendered under studio lighting.

On FiveM Enhanced

Silky-smooth camera transitions using Gen9 depth-of-field shaders, with atomic database writes guaranteeing zero character overwrite hazards.

02 // FEATURES

What the module delivers

01

Multiple Citizen Slots

Supports up to 5 playable characters per license with configurable slot limits.

02

Comprehensive Dossier

Displays banking records, active employment, and citizen age at a glance.

03

Studio Lighting Camera

Cinematic studio camera positioning with hardware blur depth of field.

04

Anti-Overwrite Protection

Atomic database validation preventing identifier collisions during creation.

ARCHITECTURAL LAYERS // CLEAN ARCHITECTURE

4-Layer Isolation with 0.00 ms Idle

Every COE Framework script strictly follows the principle of separation of concerns. Interact with the 3D stack below:

L4
Presentation & NUI
HTML5 · CSS tokens · CoE UI
CEF DX12
L3
Application & Server
Atomic locks · Rate limiting
Auth Server
L2
Platform & HAL
Core.Platform · Mock natives
Gen9 HAL
L1
Domain & ACID Database
Prepared SQL · MariaDB pool
ACID Pool
LAYER 04 // PRESENTATION & NUI

Responsive NUI & CoE UI Design System

Built with vanilla HTML5, CSS3 tokens, and modern JavaScript. No heavyweight frameworks (React/Vue/Electron). Rendered directly in FiveM DX12's Chromium Embedded Framework at 0.00 ms while closed.

Five themes supported in real time through CSS variables (--coe-accent, --coe-surface)
Fully keyboard-navigable (Tab, Esc, Enter) and ARIA-accessible
Secure asynchronous communication with the FiveM client via fetch("https://...")
ADMIN POWERS // OPERATION & MANAGEMENT

What this script delivers to Server Owners

Manage your city without relying on developers. Runtime parameters, auditing, and ACE-protected commands:

🛡️
ACE Permissions
Administrative operations strictly protected by coe.staff and coe.admin principals.
IsPlayerAceAllowed(src, "coe.admin")
📊
Ledger Auditing
Relevant actions write audit records to the database through coe_audit.
exports.coe_audit:Record(severity, category, event, context)
⚡
0.00ms Idle Telemetry
Event-driven thread dispatch that stays dormant until network events fire.
Clean Architecture & HAL
03 // EXPORTS

Public API 2

Typed contracts to call from other resources. Full types live in types.lua and in the docs reference.

exports['coe_characters']:IsOpen() → boolean

Checks whether the character selection interface is currently open on the client.

No parameters.

LUA
local result = exports['coe_characters']:IsOpen()
exports['coe_characters']:CloseSelection() → void

Closes the character selection interface and destroys the current 3D background scene.

No parameters.

LUA
exports['coe_characters']:CloseSelection()
04 // COMMANDS

In-game commands 2

[F7]

Open character selection · coe_characters · rebindable in FiveM key bindings

/coe_scene_anchor

Setup tool: prints the current position and heading to F8 in the character selection scene format.