
Type a message, find a command or put an action into the scene. Cortex Chat combines command-aware input, roleplay messages and world-space action labels with player settings shared through Cortex Library.
| 3 DISPLAY MODES | 5 CHAT POSITIONS | 4 SIZE PRESETS | SERVER DICE RESULTS |
Actual Chat NUI command-help capture composited over a gameplay backdrop; demonstration messages.
/// FEATURES
CHAT THAT KNOWS YOUR COMMANDS
| Command-aware input Recognised commands can run without a leading slash while ordinary text stays chat. Optional command-line mode treats every entry as a command. | Suggestions and history Parameter help, Tab completion, suggestion navigation and input history keep commands discoverable. Scroll message history and jump back to unread messages. | |
| Actions above the character Nearby /me actions appear as word-by-word labels above the player, with up to three stacked actions and distance fading. A classic native-text style remains configurable. | Global actions and OOC Use /gme for a global action message and /ooc for out-of-character chat. OOC can be global or limited to a configured proximity range. | |
| Dice with a server result /rolldice accepts a range and resolves the result on the server. A tumbling number label shows the roll, with an optional character animation. Nearby rolls respect distance and routing buckets. | Fade, Always or Hidden Choose fading messages, a persistent log or chat visible only while open. Ctrl+M cycles modes inside chat; /chatmode selects the same saved preference. | |
| Personal layout Five positions, four sizes, font choices, background opacity, name accents, fade time and history length. Preferences apply live and persist through Cortex settings. | Shared or custom accent Follow the shared Cortex accent, pin a preset or choose a custom chat colour. Closed messages can sit directly over the scene while open chat uses the shared surface opacity. | |
| Readable channel and system messages Distinct roleplay channels, information, success, warning and error notices, plus longer-lived announcements. GTA colour codes and text-substitution templates are supported. | Configurable message checks Server-side sanitization, send cooldown, flood control and optional slur filtering cover this resource's player-message paths. Owners can add filter words and phrases. | |
| Clean suggestion list Internal keybind and debug commands stay out of autocomplete through configurable patterns, and still work when typed or bound. | Connect other resources Standard and legacy Cfx message, suggestion and clear events work alongside Cortex exports. Temporary per-resource suppression keeps chat out of another menu's way without losing history. | |
/// CONTROLS
KEYBOARD CONTROLS
| OPEN CHAT | T |
| SEND MESSAGE | Enter |
| CLOSE CHAT | Escape |
| COMPLETE A COMMAND | Tab |
| SUGGESTIONS / INPUT HISTORY | Up / Down |
| MESSAGE HISTORY | Page Up / Page Down |
| CYCLE MODE WHILE OPEN | Ctrl + M |
| SET A MODE | /chatmode fade, /chatmode always or /chatmode hidden |
| PLAYER SETTINGS | /cortexsettings > Chat |
| NOTES | Saved FiveM bindings override defaults. The optional gameplay mode-cycle binding starts unbound. /me, /gme, /ooc and /rolldice provide the roleplay commands; /clear clears your own log. |
/// SETUP / COMPATIBILITY
BEFORE YOU START
| REQUIRES | OneSync and Cortex Library 3.6.0 or newer with presentation-client.lua and the shared dynamic UI files. Start cortex-lib before cortex-chat. Base chat needs no framework or database. |
| INSTALL | Keep the folder named cortex-chat. Disable stock chat and competing replacements, including grouped starts. No frontend build is needed. |
| VEHICLE CLEANUP | /dv is no longer part of Chat; it moved to Cortex Admin. Install Cortex Admin or keep another /dv resource. |
| UPDATING FROM 1.X | Remove Config.Dv from config.lua and delete server/permissions_config.lua, server/permissions.lua and PERMISSIONS.md from the old install. |
| INTEGRATIONS | Use documented Cfx events or exports['cortex-chat']. Stock HTML templates, chat:addTemplate, stock modes/message hooks and exports['chat'] consumers need adaptation. |
/// WHAT'S INCLUDED
IN THE BOX
| ■ | The resource, delivered through your linked Cfx.re account (portal.cfx.re > Granted Assets). |
| ■ | Client/server chat runtime and the ready-to-run HTML, CSS and JavaScript interface. |
| ■ | Editable config.lua and fxmanifest.lua. |
| ■ | Owner documentation for installation, settings, events and exports, plus a quick-start README and the changelog. |

All sales are final.