How vorpcore/vorp_core works
VORP Core is a Lua framework for RedM servers. Its principal workflow is server/player management, alongside gameplay administration and a client HUD that displays player state. The README documents configuration, commands, whitelist and ban management, respawn, and Discord presence; the tree identifies corresponding server and client subsystems. Only the HUD source was excerpted, so its message-driven behavior is directly supported, while most server-side relationships are not shown and are left unconnected rather than inferred.
Main entry points: dbupdater.lua Database updates · server/commands.lua Admin commands · config/commands.lua Command settings · config.lua Server settings
Components 21
Server and players
- Core startup
server/init.lua - Users and characters
server/class - Character loading
server/loadcharacter.lua - User loading
server/loadusers.lua - User saving
server/saveusers.lua - Database updates
server/services/dbupdater/dbupdater.lua - Access and bans
server/whitelist.lua
Gameplay features
- Server API
server/apicontroller.lua - Client API
client/clientapi.lua - Respawn system
client/respawnsystem.lua - Player instances
server/instance.lua
Administration
- Admin commands
server/commands.lua - Command settings
config/commands.lua - Server settings
config/config.lua - Player logging
server/logs.lua
Client experience
- Client HUD
client/uicore.lua - HUD message view
ui/app.js - Discord presence
server/richpresence.lua
Other components
- RedM server
- NUI host
- Server administrator
Connections 5
- NUI host → HUD message view: sends messages
ui/app.js - Server administrator → Admin commands: runs commands
README.md - Server administrator → Command settings: configures permissions
README.md - RedM server → Server settings: uses settings
README.md - RedM server → Database updates: requires database
README.md