/vRP

FiveM (http://fivem.net) RP addon/framework

Primary LanguageLuaMIT LicenseMIT

vRP

vRP

FiveM RP addon/framework
The project aims to create a generic and simple RP framework to prevent everyone from reinventing the wheel.
Contributions are welcomed.

ℹ️
This is vRP 2, the second major version of vRP. It aims to have less overhead and a more straightforward and structured approach using OOP. This will probably be the last major version, vRP based resources can be updated for vRP 2 using the extension system.
Features
  • basic admin tools (kick,ban,whitelist), groups/permissions, languages, identification system (persistent user id for database storage), user/character/server/global custom data key/value

  • player state (survival vitals, weapons, player appearance, position)

  • player identity/phone/aptitudes (education/exp), emotes, business system / money (wallet/bank), homes

  • cloakrooms (uniform for jobs), basic police (PC, check, I.D., handcuff, jails, seize weapons/items), basic emergency (coma, reanimate)

  • inventory (with custom item definition, parametric items), chests (vehicle trunks), transformer (harvest, process, produce) (illegal informer)

  • basic implementations: ATM, market, shops, skinshop, garage

  • GUI (dynamic menu, progress bars, prompt), map entities (blip, markers), areas (enter/leave callbacks)

  • database MySQL "driver" system to interface to any MySQL resources

  • OOP design, more structured code and less overhead

  • proxy for easy inter-resource development, tunnel for easy server/clients communication

  • Lua profiler

  • …​

Documentation

Offline:
  • git worktree add gh-pages gh-pages

  • open the gh-pages directory from a browser

See also (and use it as a basis to understand how to develop extensions for vRP):

Issues / Features / Help

⚠️
Read the documentation before asking for help, creating a bug report or a feature request.

When submitting an issue, add any information you can find, with all details. Saying that something doesn’t work will probably not be enough to solve the issue. If you have errors in your console before the issue happens, things could be corrupted, so the issue may be irrelevant. You should solve all unrelated errors before submitting issues.

When submitting a feature request, make sure the feature is relevant about the core of the framework or already existing vRP features. vRP is a framework, thus it doesn’t aim to implement everything, but to give the tools to do so.

⚠️
The issue section is only for bug reports and feature requests. Issues not related to the core of vRP, about old versions (no backwards update) or vRP modifications will be closed without warning.
💡
Before submitting an issue or a feature request, do a search in open and closed ones to know if it has been reported/requested before.
ℹ️
For questions, help, discussions around the project, please go instead on the vRP thread of the FiveM forum or the discord.

Credits