Hey FiveM forum.
Initially it was supposed to go through Escrow but since I can’t agree on verification I’m releasing it as an open source.
Here is the Economyreworked framework. It contains all the necessary events and imports needed to run the store ownership systems. It’s pretty useless on its own but it allows you to enrich your ESX with a store system that you can actually manage. You can check the status of your resources, order deliveries (even from a logistics company that other players will bring to you but in a different script), set the margin or product availability.
The whole thing is configured via a config file and I’m adding doxes to the package that you can find on github.
It’s a big script (almost 3.5k lines) but it doesn’t take more than 0.03ms during operation.
Here’s an available preview with the required scripts to run. It contains esx_economyreworked esx_delivery and esx_shops. In later stages of development I will expand it to include restaurants, hairdressers and clothing stores.
Here are a few screenshots so you can see what it looks like. The tablet UI is currently being created and I have already made the initial version for stores. It will most likely hit the FiveM forum next week after being published by the moderators.
Support and other scripts for this framework on discord: discord
Installation instructions:
Load schema.sql
Add to config.
Done
Source: GitHub - PerrfQ/esx_economyreworked: esx_economyreworked - Economy framework for ESX addons
Preview: https://youtu.be/eS8vcRBVnUY
Screenshots:
If you are interested in me developing this framework, please give me feedback in the comments.
Check after downloading if the main.lua and api.lua files have debug mode turned off. I can work on the files at the moment you download them and I don’t want you to be scared by the multitude of prints.