RC Interactions v1.1.0
Node-based NPC dialogue & interaction system for FiveM
Design rich NPC conversations visually — give items, check conditions, branch randomly, play animations — all without writing a single line of code.
Links:
- GitHub: GitHub - xbymarcos/rc-interactions · GitHub
- Download: Release v1.1.0 · xbymarcos/rc-interactions · GitHub
- Docs: rc-interactions/README.md at master · xbymarcos/rc-interactions · GitHub
- Support: https://discord.realcity.dev
- Donate us: PayPal.Me
What it does
A visual, drag-and-drop node editor to build NPC dialogue flows. Connect nodes, save, and the system spawns NPCs in-world with a Talk interaction. Players get a cinematic camera, typewriter dialogue, and keyboard controls — no code needed from you.
16 Node Types
| Category | Nodes |
|---|---|
| Flow | Start, End |
| Dialogue | Dialogue (text + choices, per-node NPC animation) |
| Logic | Condition, Set Variable, Event, Random |
| Economy | Give Item, Remove Item, Give Money, Remove Money |
| Effects | Animation, Wait, Teleport, NPC Change, Sound |
Economy nodes are fully validated server-side — session tracking, per-node cooldowns, input sanitization, and cached interaction data. No client-side trust.
24 Game Variables for Conditions
Check player state without any code: player:health, player:job_name, player:in_vehicle, money:cash, money:bank, item:<name>, job:<name>, and more. Supports 6 operators (==, !=, >, <, >=, <=) and variable-to-variable comparison with $ prefix.
Editor Features
- Multi-select (marquee + Ctrl+click), multi-drag, multi-delete
- Auto-layout (Ctrl+L) — hierarchical graph algorithm
- Command palette (Ctrl+K) — quick node search
- Undo/Redo, duplicate (Ctrl+D), fit-to-view, cursor-centered zoom
- In-browser simulator to test flows without joining a server
- EN / ES translations (~170 keys)
NPC Runtime
- Configurable idle animation on the START node
- Per-dialogue custom NPC animations
- Optional NPC speech/lipsync (
Config.EnableNpcSpeech) - Dialogue end event (
rc-interactions:dialogueEnded) for external script integration - Public API:
exports['rc-interactions']:StartInteractionById(uuid, customVars)
Perfect for
Quest NPCs · Job givers · Shop/vendor NPCs · Tutorial/onboarding · Seasonal events · Branching storylines
Requirements
oxmysql(required)qb-targetorox_target(optional)- Compatible with QBCore, ESX, and Standalone (auto-detected)
- Inventory support:
ox_inventory→qb-inventory→ legacy QBCore (automatic fallback)
Quick Install
- Drop
rc-interactionsinto your resources folder - Import
interactions.sql - Add to
server.cfg:
ensure oxmysql
ensure rc-interactions
Configuration
Only file: shared/config.lua
| Option | What it does | Default |
|---|---|---|
Config.Framework |
auto / qbcore / esx / standalone | auto |
Config.UseTarget |
Enable qb-target / ox_target | true |
Config.EditorCommand |
Chat command to open editor | interactioneditor |
Config.EditorGroup |
Who can open the editor | admin |
Config.EnableNpcSpeech |
NPC lipsync during dialogue | true |
Config.CheckForUpdates |
Version check on start | true |
Player Controls
| Key | Action |
|---|---|
| ↑ / ↓ | Navigate options |
| Enter | Select |
| 1–5 | Quick select |
| ESC | Exit dialogue |
License
PolyForm Noncommercial 1.0.0 — free for non-commercial use. Check the repo license before using commercially.
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approx.) | ~10.000 |
| Requirements | oxmysql |
| Support | Yes |



