How leafysmoke/rv-framework works
Red Valley is a standalone FiveM roleplay framework. Players interact with persistent character and gameplay systems through the server; staff also use moderation and administration tools. The README describes major systems, while the only sampled implementation is the NUI web app, which receives host messages and posts user responses to NUI callbacks. Other subsystem paths are supported by the tree, but their internal calls and database wiring were not sampled, so those connections are omitted.
Main entry points: app.js NUI web library · rvrp_core Player framework · rvrp_admin Administration console
Components 25
Framework foundation
- Player framework
resources/[rvrp]/rvrp_core - Characters and identity
resources/[rvrp]/rvrp_identity - Persistence schema
database/schema.sql - Accounts and inventory
resources/[rvrp]/rvrp_economy
Player systems
- Needs and status
resources/[rvrp]/rvrp_status - EMS and treatment
resources/[rvrp]/rvrp_medical - Mobile phone
resources/[rvrp]/rvrp_phone - Physical documents
resources/[rvrp]/rvrp_documents - World interactions
resources/[rvrp]/rvrp_interactions - Target framework
resources/[rvrp]/rvrp_target
Civic services
- Civilian work
resources/[rvrp]/rvrp_civ - City hall services
resources/[rvrp]/rvrp_civic - Homes and storage
resources/[rvrp]/rvrp_properties - Vehicles and garages
resources/[rvrp]/rvrp_vehicles - Crafting and repairs
resources/[rvrp]/rvrp_crafting - Police services
resources/[rvrp]/rvrp_police
Crime systems
- Criminal progression
resources/[rvrp]/rvrp_crime - Gangs and heists
resources/[rvrp]/rvrp_underworld - Heist authoring
resources/[rvrp]/rvrp_heistcreator
Staff and interface
- Administration console
resources/[rvrp]/rvrp_admin - NUI client bridge
resources/[rvrp]/rvrp_ui/client.lua - NUI web library
resources/[rvrp]/rvrp_ui/web/app.js
Other components
- Player
- Staff
- FiveM host
Connections 4
- Player → Player framework: plays through
README.md - Staff → Administration console: uses
README.md - FiveM host → NUI web library: sends UI messages
resources/[rvrp]/rvrp_ui/web/app.js - NUI web library → FiveM host: posts callbacks
resources/[rvrp]/rvrp_ui/web/app.js