Standalone RedM general store script
Without a framework there is no money and no inventory, but the store still plays out. Players take goods off the shelves, ask for the bill, steal and rob the clerk, and the scenes happen for every player in the room. Nothing is charged and nothing is given.
Features
The eight map stores with their clerk, ready on first start
Goods taken off the shelves and handwritten invoices, for roleplay
Shoplifting with the store bell, a witness and a clerk who gives chase
Opening hours, store zones and extra props set in game
14 languages, every text editable in
/storeadmin
Compatibility
What changes without a framework
Bills, registers and stolen goods are roleplay only: no money is taken and no item is added or taken back. Prompts, invoices, the bell, witnesses and the clerk's chase work as usual.
Identity
Players are identified by their license identifier, and names on invoices come from the player name. Witnesses describe "someone", since there is no character sex to read.
Robberies and lawmen
Lawmen are found by job, and there are no jobs without a framework. Robberies need one lawman on duty by default: set lawmen required to 0 in /storeadmin > Rules > Robbery to allow them.
Admins
Only the ACE grants admin rights here: add_ace group.admin tlb-generalstore.admin allow.
Requirements that remain
oxmysql for the registers and the day book, and OneSync for the networked clerk and server-side theft checks. Standalone is picked automatically when no supported framework resource is started.
Install guide
Install The Lab General Store in standalone mode
Install The Lab General Store on a RedM server with no framework: oxmysql, OneSync, an ACE for admins and robberies opened to zero lawmen.
FAQ
Why add a store script with no economy?
For servers that run roleplay without a framework: the clerk, the invoice, the theft and the chase are scenes on their own.
Can I plug in my own framework later?
Yes, by editing one of the open adapters in bridge/server/frameworks/ so it calls your framework. A new adapter file is not detected or selectable on its own.
How do notifications show?
Through chat:addMessage, so a chat resource must be running.