5 Dynamic Themes
Moss, Ocean, Amber, Rose, and Violet switchable in real time without reloading.
coe_uiDesign System & Theme Manager
Unified Hardware-Accelerated Design System with 5 Dynamic Themes
Standardizes every player interface across the server with the Cyber-Minimalist CoE aesthetic. Provides CSS tokens, reusable UI primitives (chamfered surfaces, modal dialogs, tactical reticles), Web Audio synthesized soundscapes, and real-time switching between Moss, Ocean, Amber, Rose, and Violet themes.
Hardware-accelerated rendering utilizing the updated Chromium Embedded Framework (CEF) in FiveM Enhanced (DirectX 12), ensuring 144+ FPS without frame drops.
Moss, Ocean, Amber, Rose, and Violet switchable in real time without reloading.
Precision 45-degree tactical polygons defining the futuristic aesthetic.
Procedural acoustic clicks and alerts generated without loading heavy MP3 assets.
DX12-backed NUI compositor layers offering minimum input latency.
Every COE Framework script strictly follows the principle of separation of concerns. Interact with the 3D stack below:
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.
Manage your city without relying on developers. Runtime parameters, auditing, and ACE-protected commands:
IsPlayerAceAllowed(src, "coe.admin")
exports.coe_audit:Record(severity, category, event, context)
Clean Architecture & HAL
Typed contracts to call from other resources. Full types live in types.lua and in the docs reference.
exports['coe_ui']:GetTheme()
→ string|nil
Retrieves the active theme. Server-side: server default theme; client-side: theme synchronized from server (`nil` prior to initial sync).
No parameters.
local result = exports['coe_ui']:GetTheme()exports['coe_ui']:GetThemes()
→ {
Returns the list of available framework themes and the currently active theme. Server-side.
No parameters.
local result = exports['coe_ui']:GetThemes()exports['coe_ui']:SetTheme(name)
→ true|string
Configures the server-wide default theme and broadcasts the change to all connected clients. Server-side; restricted to callers authorized in `UiConfig.Caller`.
| Parameter | Type |
|---|---|
name | string |
local result = exports['coe_ui']:SetTheme(name)exports['coe_ui']:GetAccent()
→ CoeAccent
Returns the accent palette selected by the player (`theme` = follow server default palette). Client-side.
No parameters.
local result = exports['coe_ui']:GetAccent()exports['coe_ui']:SetAccent(name)
→ void
Configures the player's personal accent color, persists to local KVP storage, and triggers `coe_ui:accentChanged`. Client-side.
| Parameter | Type |
|---|---|
name | CoeAccent |
exports['coe_ui']:SetAccent(name)/coeui
Opens or closes the CoE UI component showcase.