Troubleshooting
Fixes for common Eleven Comercios issues on FiveM and Qbox: the tablet won't open, missing points or products, no level-ups, migrations and entitlement errors.
If you have just installed it, first go through Installation and the general Install with Keymaster guide. Errors in quotes are the exact texts shown in game or in the console.
The tablet won't open
- The player's job must be registered in
/comerciosadmin→ Businesses. If not, the key does nothing. - You need to be on duty. Only the owner can open it off duty.
- Check the key hasn't been rebound: GTA Settings → Key Bindings → FiveM → "Open business tablet".
- If another resource also uses HOME, change
Config.OpenTabletKey(it only affects new players) or rebind the key.
A section or tab is missing
| Missing | Usual reason |
|---|---|
| Any section | The rank lacks the permission, or an admin switched it off in the panel (Settings or the business page's Settings tab). |
| Street sales | Only the owner sees it, and it needs the matching license. |
| Wholesale | The business has no wholesaler type assigned. |
| Fuel | It ships turned off: it needs a fuel script with business gas stations that isn't in the package. See Requirements. |
| Cards, Social media, Decoration, wifi | They need eleven-banking, eleven-phone or eleven-housing. See Requirements. |
| Applications | Needs Config.Integrations.Applications = true. |
Premises points don't show up
- Get closer: they load within
Config.ZoneLoadDistancemeters (150 by default). - Most of them require being on duty and part of the business. The counter, card terminal and NPC seller are visible to everyone.
- Check in the panel (business page, World tab) that the point exists and is where you think.
A product shows as out of stock
Stock is worked out from what's in the business storages, not the counter or the employee's inventory. Put the item in a storage. If you use Config.StashOverrides, stock comes from that stash.
I can't hire anyone
"Employee limit reached (X/Y). Level up the business to hire more."
The staff cap for the level has been reached (Config.Employees). Level up or raise the cap.
"You cannot assign a grade above your own"
You can't hire into a grade above your own. Hire into an equal or lower grade, or ask someone with a higher rank.
"You cannot hire a minor"
The character is under the minimum age (your qbx_core setting or Config.Employees.MinAge).
The business won't level up
- Check under Business → Levels which requirement is missing.
- A day only counts as open if staff add up the minutes in
Config.Levels.OpenDayMinMinutesand at least one order is delivered that day. - The automatic check only runs for businesses with at least one employee online.
The card terminal or crafting doesn't work
The premises are in a blackout: an electrical box has broken. Repair it (ALT on the box, while on duty) and everything comes back. You can see it under Business → Condition.
No delivery orders come in
- The business must be of a type listed in
Config.Delivery.businessTypes(RESTAURACIONby default). - There must be delivery-flagged products on the menu and someone on duty.
eleven-npc-eventsmust be running andConfig.Delivery.enabled = true.- The pace is irregular on purpose: there can be long quiet spells.
A business can't see a license
An admin has to assign it from the business page in the panel (Licenses tab). Street sales, wifi and vending licenses show as locked until the business reaches their level.
Two options on the same vending machine
ox_inventory still has its VendingMachineDrinks shop enabled. See Installation.
"You do not have admin permissions" when opening the panel
Your user isn't in Config.AdminGroups and doesn't have the eleven-comercios.admin ACE. See Installation and Commands and permissions.
"Error loading data" in the panel
Copy the full error from the server console (the [eleven-comercios-admin] ERROR loading admin data line) and open a ticket.
The panel is empty or there's no sample data
- Check the server console on start: there should be a "Running migration" line for each data file.
- If you see
Migration <file> FAILED, copy the error and open a ticket. That migration isn't recorded and is retried on the next start. - If you see
Migration file sql/<file> not found, a file is missing fromeleven-comercios-admin/sql/: download the resource again from Keymaster and replace the whole folder. - Don't import the
.sqlfiles by hand: the resource runs them itself and records each one incomercios_migrations. - Data files only run once. If you delete the sample data in the panel, it doesn't come back.
- The sample data isn't assigned to any business: add your businesses to the wholesaler types and offer them vehicles and licenses.
Texts in the wrong language
- Set
Config.Localein bothconfig.luafiles and restart the server. - Sample data (wholesale catalog, licenses, level names) and order board columns that already exist are stored in the database: change them from the panel or the tablet.
"You lack the required entitlement to use eleven-comercios"
The server's license key (sv_licenseKey) isn't from the Cfx.re account you bought with, or the copy of the resource isn't yours. Causes and fixes are in Installation and in the general Install with Keymaster guide.
Still not working
Open a ticket on our Discord with:
- What you were trying to do and what happened.
- Errors from the server console and the client F8 console.
- Your Qbox, ox_lib, ox_inventory and oxmysql versions.