Skip to content

FAQ & troubleshooting

“You lack the required entitlement” in the console.

Section titled ““You lack the required entitlement” in the console.”

Your server’s sv_licenseKey does not belong to the Cfx account that bought the script. Generate the key with that account at portal.cfx.re, and make sure the .fxap file is inside the resource folder.

Check that set sl_marketplace_imgbb_key "..." is in server.cfg (with set, not setr), that the key is correct and that screenshot-basic starts before sl-marketplace. Restart the server after changing it.

/marketadmin does nothing or the panel is empty.

Section titled “/marketadmin does nothing or the panel is empty.”

Add add_ace group.admin marketplace.admin allow to server.cfg and make sure your player is in that group. You can also list identifiers in Config.Admin.Identifiers.

Database errors on start (“table doesn’t exist”).

Section titled “Database errors on start (“table doesn’t exist”).”

sql/marketplace.sql was not imported, or not into the database oxmysql uses. When updating, run the pending migrations.

With ox_inventory, its icons are used automatically. For custom items, add a 96×96 PNG named after the item to html/images/ (see html/images/README.md).

Yes: Config.Gameplay.NPCDelivery.Interceptable = false. To disable courier delivery completely, Config.Gameplay.NPCDelivery.Enabled = false.

How do I alert the police when a van is robbed?

Section titled “How do I alert the police when a van is robbed?”

Put your dispatch call in Config.OnDeliveryRobbed (there is an example in config.lua) or in Handlers.OnDeliveryRobbed in server/handlers.lua.

The robbery minigame is too hard / too easy.

Section titled “The robbery minigame is too hard / too easy.”

In Config.SkillCheck.Phases, raise duracion (slower) or arco (wider band) to make it easier. ExtractionAttempts sets how many tries each player gets.

Yes, the script works with any folder name.

Each player picks English or Spanish in their profile, and everything follows it: the interface, notifications, prompts in the world and mailbox notes. Config.DefaultLang sets it for new players and for Discord logs.

Yes. In-game texts live in locales/en.lua and locales/es.lua (not encrypted): edit any line, keeping its %s / %d placeholders. To add a language, copy locales/en.lua as locales/fr.lua, change Locales['en'] to Locales['fr'] and translate it; missing lines fall back to English. The interface texts are in html/scripts/core/i18n/.

Can I block certain items from being sold?

Section titled “Can I block certain items from being sold?”

Add them to Config.BannedItems. Money and black money are blocked by default.

With lb-phone, set Config.Phone.Enabled = true and the marketplace registers itself as an app. Other phones are not integrated out of the box; you can add them with the phone’s own API.