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.
Before you start
oxmysqlconnected to a database- OneSync enabled
- A chat resource, used for the script's notifications in this mode
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: 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.adminStep 3: Ensure it
Only the database has to start first.
ensure oxmysql ensure tlb-generalstoreStep 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.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.
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.
- Set up a RedM server with txAdminCreate a RedM server with txAdmin: FXServer artifacts, Cfx.re license key, gamename rdr3, OneSync and a deployment for your framework.
- 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.