The Lab
The Lab General Store · Standalone

Install The Lab General Store in standalone mode

Without a framework the store runs for roleplay only, so there are no items to check and no economy to set up. You need oxmysql, OneSync and an ACE so someone can open /storeadmin.

Estimated time: 10 minStandalone

Before you start

  • oxmysql connected to a database
  • OneSync enabled
  • A chat resource, used for the script's notifications in this mode

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: Grant the admin ACE

    In standalone, the ACE is the only way to become an admin of the script.

    add_ace group.admin tlb-generalstore.admin allow
    add_principal identifier.license:<your license> group.admin
  3. Step 3: Ensure it

    Only the database has to start first.

    ensure oxmysql
    ensure tlb-generalstore
  4. Step 4: Allow robberies

    Robberies need lawmen on duty, and lawmen are found by job. With no jobs, set lawmen required to 0 in /storeadmin > Rules > Robbery, or turn robberies off.

  5. Step 5: Walk through a store

    Take something off a shelf with E and ask for the bill at the counter: the invoice is written and stamped, without any money changing hands.

Troubleshooting

No notification appears

Standalone notifications go through chat:addMessage, so a chat resource must be running.

`/storeadmin` is refused

The ACE is missing, or your identifier is not in the group that holds it.

FAQ

Do stolen goods go anywhere?

No. Without an inventory nothing is given or taken back; the theft, the bell and the chase are roleplay.

Can a player own a store?

Yes, a store can be handed to a player. Job ownership needs jobs, so it requires a framework.