Install The Lab General Store on RSG
Nothing goes into rsg-core/shared/items.lua: the store sells items your RSG server already declares. On first start it detects RSG and fills the catalogue with RSG item names.
Before you start
rsg-coreandrsg-inventoryoxmysql- OneSync enabled
- Optional:
ox_lib, used for notifications when it runs
Install steps
Step 1: Download the resource from the Cfx.re Portal
Sign in to the Cfx.re portal with the account you used at checkout, open your granted assets and download
tlb-generalstore. Extract the archive into your resources folder and keep the folder name as it is.Step 2: Free the counters
If another resource puts shopkeepers in the general stores, turn it off at those counters, otherwise two clerks stand at the same place.
Step 3: Start order
Start the framework before the store so it is detected.
ensure oxmysql ensure rsg-core ensure rsg-inventory # ... ensure tlb-generalstoreStep 4: Open the admin panel
Players with the RSG
adminorgodpermission can use/storeadminright away. Others need the ACE.add_ace group.admin tlb-generalstore.admin allowStep 5: Check the RSG goods
In
/storeadmin> Goods, the 19 default goods use RSG names such ascanned_peachesorglass_whisky. Check that each exists in your shared items (the picker lists them) and add your own items as goods if you like.Step 6: Test on a staging server
The RSG adapter follows the public RSG API and was not checked on a live RSG server by us. Buy something, steal something and hand a store to a job before going live.
Troubleshooting
The purchase is refused
rsg-inventory reports that the player cannot carry the goods, or the item name is not in RSGCore.Shared.Items.
The bill is not paid
The adapter takes cash. A character with only bank money cannot pay.
FAQ
Can I use the VORP item names on RSG?
Only if your server declares them. The goods can point to any item name; change them in /storeadmin > Goods.
How is a job-owned store managed on RSG?
Every member of the job works there. From the managing grade, compared with the RSG grade level, they handle the register, prices and wholesale orders.
Related guides
- Install oxmysql on RedMSet up oxmysql for RedM: download the release build, set mysql_connection_string, ensure it first and fix the usual connection errors.
- RedM server.cfg ensure orderWhy start order matters in a RedM server.cfg and the order that works: database, libraries, framework core, inventory, then your scripts.
- How to install a RedM scriptInstall any RedM resource: get the files, check fxmanifest dependencies, add SQL and items, place the ensure line and test from the console.