~/docs/supermarket-simulator/configuration/commands-and-permissions
supermarket simulator docs›
Supermarket Simulator
Commands And Permissions
-- 2 min read
Chat commands
| Command | Who can use it | What it does |
|---|---|---|
/smadmin |
Admins (Shared.Admins) |
Opens the admin panel: manage every store, create/delete stores, open the Catalog Manager. |
/smcatalogreseed |
Admins / server console | Rebuilds the live catalog from the Lua config seed (config/*.lua). Destructive replaces server/catalog.json. |
/smvisedit |
Admins | Opens the visual calibration tool for fine-tuning how goods sit on shelves/fridges. |
Keybind commands
These are registered as key mappings, rebind them per player in the FiveM Settings → Key Bindings → FiveM menu:
| Command | Default key | Purpose |
|---|---|---|
sm_basket_toggle |
B | Open/close the shopping basket while browsing a store. |
sm_ring_cashier |
G | Ring / call the cashier at a register. |
+smMissionToggle |
J | Toggle the delivery (restock) mission details. |
In-world controls (no command needed)
- Page Up — inside a store you own (or as an editor/admin), toggles the prop editor.
- Store interaction (buy, checkout, register, back room, garage) is proximity / target based — walk up and follow the on-screen prompts.
Permission model
There are three levels of authority, all enforced server-side:
- Admins : identifiers in
Shared.Admins. Full control over every store and the catalog. - Store owner : the player who owns a given store (set by an admin). Can edit the layout, set prices, manage staff/loans/security, run the register, and use the garage for that store.
- Employees : players hired into the store's job. Get a checkout discount and access to staff functions the owner grants, bounded by their grade.
Ownership and staff checks compare the caller's server-side identifiers, they can't be spoofed from the client. Store owner account identifiers and funds are never sent to other players.