Admin panel
The /comerciosadmin panel in Eleven Comercios for FiveM: a page per business, licenses, recipes, vehicles, wholesalers, levels, points and maintenance.
The admin panel opens with /comerciosadmin (the command name lives in Config.AdminCommand). This is where you set up everything businesses can't do on their own: registering them, offering them licenses and vehicles, assigning recipes and wholesalers, defining levels and placing things in the world.
Note
Access: the groups in Config.AdminGroups (the group.admin ACE by default) or anyone with the eleven-comercios.admin ACE. See Commands and permissions.
The panel uses the language set in Config.Locale of the panel's config.lua. The side menu has four areas:
| Area | What's in it |
|---|---|
| Businesses | The list of businesses and each one's page. |
| Catalogs | Licenses, Recipes, Vehicles, Wholesalers and Levels: what you then assign to each business. |
| World | Gas stations. |
| Settings | Global tablet features. |
Reload data reads everything from the server again.
Businesses
The start page flags what's pending: businesses with no type (without a type they have no levels) and licenses awaiting payment. From the list you can search by name or job and filter.
- New business: pick the Qbox job, the display name, a logo URL and one or more business types. Saving it also creates its company account.
- Delete: removes the business from the system. The Qbox job still exists.
The business page
Opening a business shows its page, with these tabs:
| Tab | What you do |
|---|---|
| Overview | General status: level, licenses, fleet, maintenance and features changed from the global values. |
| Licenses | See the active ones and the catalog. Assign leaves it pending until the business pays; Gift activates it for free. They can also be revoked. |
| Fleet | Which catalog models it can buy and at what price, its vehicles with plates, force return to garage or delete one, and the latest activity. |
| Wholesale | Exclusive products: catalog items only this business sees, with a special price. |
| Crafting | Which recipes it has assigned (each one can be switched on or off) and how many ovens its level gives it. |
| Levels | Current level, raising or lowering it by hand, marking achievements and adding custom texts to its levels. |
| World | Placing its points, the counter props and maintenance (below). |
| Settings | Which tablet sections this business sees and which gas stations it runs. |
| Web menu | The business menu for an external website. It only shows with Config.Integrations.Web = true in the panel's config.lua (see Panel config.lua). |
World: points
Every point of the business, including the delivery mailbox, which can only be placed from here. "Place" closes the panel: go to the spot, adjust the radius and confirm. You can reposition a point, adjust its coordinates by hand or delete it. Types: Interaction points.
World: register
When there are orders on the counter, a prop shows up on top. For each counter:
- a default prop for any item,
- and props per item (this item, this prop).
They're placed with the gizmo.
World: maintenance
- Nodes: type (electrical box, trash, spill, graffiti), model and broken model, wear per hour, material needed to fix it, reward (cash, bank or none) and what happens if it breaks (blackout, lower cleanliness or nothing). They're placed with the gizmo.
- Blackout perimeter: the area that loses power when the electrical box breaks. Without a perimeter, the blackout isn't applied.
See Maintenance and blackouts.
Catalogs
Licenses
Create licenses with a key, name, cost, duration in days, description and category. They're then assigned or gifted from each business's page. The package ships 39 sample licenses in Spanish, not assigned to anyone.
The venta_ambulante, wifi and expendedoras licenses are created and offered automatically when a business reaches their level (see Street, wifi and vending). You can change their price here afterwards.
Recipes
Cooking recipes: materials, times, result and animation. They're assigned to each business from its page (Crafting tab). See Recipes and crafting.
Vehicles
The fleet vehicle catalog: model, name, price and image. The package ships 14 stock models. They're offered to each business from its page (Fleet tab).
Wholesalers
Wholesaler types, catalog, eco products and pick-up points. See Wholesalers.
Levels
For each business type:
- Levels: name and color of each one. You can add or remove levels.
- Automatic requirements: "metric ≥ threshold" rules. With no rules, the level is reached on its own.
- Perks and texts: text perks per level, with images. They can be overridden for a single business from its page.
How they work: Levels.
World: gas stations
The list of service stations and which business owns each one. It ships turned off: it needs a fuel script with business gas stations that isn't in the package (see Requirements).
Settings: global features
Which tablet sections are enabled. The global values apply to every business; each business can have its own on its page (Settings tab), and whatever it doesn't change follows the global value.
| Key | What it enables |
|---|---|
dashboard | Home dashboard |
orders | Orders and the New order button |
items | Products and categories |
convenios | Discounts and deals |
negocio | Staff and rank management |
puntos | Premises points |
licencias | Business licenses |
vehiculos | Vehicle fleet |
niveles | Level system |