The Lab
The Lab General Store · RSG

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.

Estimated time: 15 minRSG

Before you start

  • rsg-core and rsg-inventory
  • oxmysql
  • OneSync enabled
  • Optional: ox_lib, used for notifications when it runs

Install steps

  1. 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.

  2. 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.

  3. Step 3: Start order

    Start the framework before the store so it is detected.

    ensure oxmysql
    ensure rsg-core
    ensure rsg-inventory
    # ...
    ensure tlb-generalstore
  4. Step 4: Open the admin panel

    Players with the RSG admin or god permission can use /storeadmin right away. Others need the ACE.

    add_ace group.admin tlb-generalstore.admin allow
  5. Step 5: Check the RSG goods

    In /storeadmin > Goods, the 19 default goods use RSG names such as canned_peaches or glass_whisky. Check that each exists in your shared items (the picker lists them) and add your own items as goods if you like.

  6. 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.